@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
37 lines (34 loc) • 1.09 kB
text/typescript
/*
Copyright (c) 2022 Betim Beja and Shko Online LLC
Licensed under the MIT license.
*/
import { AttributeType } from '../../../ComponentFramework-Mock/PropertyTypes';
import { ShkoOnline } from '../../../ShkoOnline';
export const SavedQueryMetadata = {
LogicalName: 'savedquery',
PrimaryIdAttribute: 'savedqueryid',
PrimaryNameAttribute: 'name',
EntitySetName: 'savedqueries',
Attributes: [
{
AttributeType: AttributeType.Uniqueidentifier,
LogicalName: 'savedqueryid',
SchemaName: 'SavedQueryId',
},
{
AttributeType: AttributeType.String,
LogicalName: 'name',
SchemaName: 'Name',
},
{
AttributeType: AttributeType.String,
LogicalName: 'returnedtypecode',
SchemaName: 'ReturnedTypeCode',
},
{
AttributeType: AttributeType.String,
LogicalName: 'fetchxml',
SchemaName: 'FetchXML',
},
],
} as ShkoOnline.EntityMetadata;