@omnia/fx-sp-models 8.0.191-dev → 8.0.193-dev

Sign up to get free protection for your applications and to get access to all the features.
package/Contexts.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { OmniaBootstrapData } from "@omnia/fx-models";
2
- import { GuidValue } from "@omnia/fx-models";
2
+ import { guid } from "@omnia/fx-models";
3
3
  export interface OmniaSharePointBootstrapData extends OmniaBootstrapData {
4
4
  sharepoint: {
5
5
  adminUrl: string;
@@ -24,7 +24,7 @@ export interface SharePointWebContext {
24
24
  serverRelativeUrl: string;
25
25
  language: number;
26
26
  templateName: string;
27
- id: GuidValue;
27
+ id: guid;
28
28
  }
29
29
  export interface SharePointEnvironmentContext {
30
30
  authorityUrl?: string;
package/Feature.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { GuidValue, IFeatureConfiguration } from "@omnia/fx-models";
1
+ import { guid, IFeatureConfiguration } from "@omnia/fx-models";
2
2
  export declare class SharePointFeatureConfiguration implements IFeatureConfiguration {
3
- readonly typeId: GuidValue;
3
+ readonly typeId: guid;
4
4
  constructor();
5
5
  activateSiteSelectedPermissions: boolean;
6
6
  }
package/Feature.js CHANGED
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SharePointFeatureConfiguration = void 0;
4
+ const fx_models_1 = require("@omnia/fx-models");
4
5
  class SharePointFeatureConfiguration {
5
6
  constructor() {
6
- this.typeId = "f4d7b125-d9db-4ee3-9165-b6e12ec0d0ec";
7
+ this.typeId = (0, fx_models_1.guid)("f4d7b125-d9db-4ee3-9165-b6e12ec0d0ec");
7
8
  }
8
9
  }
9
10
  exports.SharePointFeatureConfiguration = SharePointFeatureConfiguration;
package/FilterEngine.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { GuidValue, BaseFilterEngineProperty, FilterEngineContext, FilterEngineOperator, PropertyIndexedType, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
1
+ import { guid, BaseFilterEngineProperty, FilterEngineContext, FilterEngineOperator, PropertyIndexedType, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
2
2
  export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
3
- value: Array<GuidValue>;
4
- targetingPropertyIds: Array<GuidValue>;
3
+ value: Array<guid>;
4
+ targetingPropertyIds: Array<guid>;
5
5
  type: PropertyIndexedType.Taxonomy | PropertyIndexedType.EnterpriseKeywords | PropertyIndexedType.ExtendedProperty;
6
6
  operator: FilterEngineOperator;
7
7
  showResultCount: boolean;
@@ -27,13 +27,13 @@ export declare enum DefaultValueType {
27
27
  }
28
28
  export interface TaxonomyFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
29
29
  type: PropertyIndexedType.EnterpriseKeywords | PropertyIndexedType.Taxonomy;
30
- value: Array<GuidValue>;
30
+ value: Array<guid>;
31
31
  sub: TaxonomyFilterEnginePropertyOutput[];
32
32
  }
33
33
  export declare abstract class SPSearchFilterEngineContext extends FilterEngineContext {
34
- componentId: string;
35
- readonly abstract uniqueId: string;
36
- constructor(componentId: string);
34
+ componentId: guid;
35
+ readonly abstract uniqueId: guid;
36
+ constructor(componentId: guid);
37
37
  isRefinable(prop: BaseFilterEngineProperty): boolean;
38
38
  getAvailableProperties(): import("@omnia/fx-models").EnterprisePropertyDefinition[];
39
39
  }
package/Library.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { GuidValue } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  export interface LibraryResolveResult {
3
3
  resolved: boolean;
4
4
  libraryId: string;
5
5
  libraryTitle?: string;
6
6
  libraryUrl: string;
7
- childFolderUniqueId?: GuidValue;
7
+ childFolderUniqueId?: guid;
8
8
  childFolderTitle?: string;
9
9
  childFolderUrl?: string;
10
10
  parentWebTitle?: string;
@@ -1,9 +1,9 @@
1
- import { AppInstance, GuidValue } from "@omnia/fx-models";
1
+ import { AppInstance, guid } from "@omnia/fx-models";
2
2
  export interface ReservedSiteAliasValidationResult {
3
3
  isReserved: boolean;
4
4
  appInstance: AppInstance;
5
5
  }
6
6
  export interface ReservedSiteAliasValidationOption {
7
7
  enable: boolean;
8
- ignoreFromAppId?: GuidValue;
8
+ ignoreFromAppId?: guid;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { GuidValue, UserIdentity } from "@omnia/fx-models";
1
+ import { guid, UserIdentity } from "@omnia/fx-models";
2
2
  export declare enum SharePointUserProfilePropertyValueTypes {
3
3
  Text = 0,
4
4
  TermSet = 1,
@@ -13,10 +13,10 @@ export declare class SharePointUserProfileTextPropertyValue extends SharePointUs
13
13
  constructor(texts: string[]);
14
14
  }
15
15
  export declare class SharePointUserProfileTermSetPropertyValue extends SharePointUserProfilePropertyValueBase {
16
- termIds: GuidValue[];
16
+ termIds: guid[];
17
17
  multiple: boolean;
18
18
  type: SharePointUserProfilePropertyValueTypes;
19
- constructor(termIds: GuidValue[], multiple?: boolean);
19
+ constructor(termIds: guid[], multiple?: boolean);
20
20
  }
21
21
  export declare class SharePointUserProfilePersonPropertyValue extends SharePointUserProfilePropertyValueBase {
22
22
  user: UserIdentity;
@@ -1,9 +1,9 @@
1
- import { GuidValue } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  export interface EnterprisePropertiesSettings {
3
- termIds: Array<GuidValue>;
3
+ termIds: Array<guid>;
4
4
  includeChildTerms: boolean;
5
5
  languages: string[];
6
- targetingPropertyIds: Array<GuidValue>;
6
+ targetingPropertyIds: Array<guid>;
7
7
  }
8
8
  export interface TargetingFilterProperty {
9
9
  enterprisePropertiesSettings: {
@@ -1,4 +1,4 @@
1
- import { EnterpriseGlossaryInformationSourceSettings, EnterpriseGlossary, GuidValue, TermUISettings } from "@omnia/fx-models";
1
+ import { EnterpriseGlossaryInformationSourceSettings, EnterpriseGlossary, guid, TermUISettings } from "@omnia/fx-models";
2
2
  import { Term } from "./Term";
3
3
  export interface ITermGlossaryCustomProperty {
4
4
  getPropertyValue: (propertyName: string) => string;
@@ -13,9 +13,9 @@ export interface EnterpriseGlossaryTermData {
13
13
  mappingPropertyNames?: Array<string>;
14
14
  }
15
15
  export declare class SharePointTaxonomyGlossary extends EnterpriseGlossary {
16
- readonly termSetId: GuidValue;
17
- readonly type: import("@omnia/fx-models").Guid;
18
- constructor(termSetId: GuidValue, settings: EnterpriseGlossaryInformationSourceSettings);
16
+ readonly termSetId: guid;
17
+ readonly type: guid;
18
+ constructor(termSetId: guid, settings: EnterpriseGlossaryInformationSourceSettings);
19
19
  }
20
20
  export declare class SharePointTermGlossarySelectedMessage<T extends EnterpriseGlossaryInformationSourceSettings = EnterpriseGlossaryInformationSourceSettings> {
21
21
  readonly term: Term;
package/Term.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { GuidValue, PropertyBindingSetting } from "@omnia/fx-models";
1
+ import { guid, PropertyBindingSetting } from "@omnia/fx-models";
2
2
  export interface Term extends TermBase {
3
- parentId: GuidValue;
4
- termSetId: GuidValue;
3
+ parentId: guid;
4
+ termSetId: guid;
5
5
  isAvailableForTagging: boolean;
6
6
  termsCount: number;
7
7
  pathOfTerm: string;
@@ -22,7 +22,7 @@ export interface TermSetWithTerms extends TermSet {
22
22
  }
23
23
  export interface TermBase {
24
24
  name: string;
25
- id: GuidValue;
25
+ id: guid;
26
26
  labels?: {
27
27
  [lcid: string]: TermLabel;
28
28
  };
@@ -52,9 +52,9 @@ export interface TermOrganizationFilterBase {
52
52
  type: TermOrganizationFilterType;
53
53
  }
54
54
  export declare class TermOrganizationFilterByTermId implements TermOrganizationFilterBase {
55
- readonly termId: GuidValue;
55
+ readonly termId: guid;
56
56
  type: TermOrganizationFilterType;
57
- constructor(termId: GuidValue);
57
+ constructor(termId: guid);
58
58
  }
59
59
  export declare class TermOrganizationFilterByCustomProperty implements TermOrganizationFilterBase {
60
60
  readonly name: string;
@@ -65,7 +65,7 @@ export declare class TermOrganizationFilterByCustomProperty implements TermOrgan
65
65
  export interface TermQuery {
66
66
  numberOfParentLevels: number;
67
67
  numberOfChildrensLimit: number;
68
- termSetId: GuidValue;
68
+ termSetId: guid;
69
69
  filter: TermOrganizationFilterBase;
70
70
  }
71
71
  export interface TermQueryResult {
@@ -81,6 +81,6 @@ export declare class TermSetPropertyBindingSetting extends PropertyBindingSettin
81
81
  lookupValues: Array<TermLookupValue>;
82
82
  }
83
83
  export interface TermLookupValue {
84
- id: GuidValue;
84
+ id: guid;
85
85
  title: string;
86
86
  }
@@ -1,4 +1,4 @@
1
- import { EnterpriseGlossaryMappingData, GuidValue } from "@omnia/fx-models";
1
+ import { EnterpriseGlossaryMappingData, guid } from "@omnia/fx-models";
2
2
  export interface TermGlossaryMappingData extends EnterpriseGlossaryMappingData {
3
- termSetId: GuidValue;
3
+ termSetId: guid;
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp-models",
3
3
  "license": "MIT",
4
- "version": "8.0.191-dev",
4
+ "version": "8.0.193-dev",
5
5
  "description": "Provide Omnia Fx Sharepoint Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "author": "Precio Fishbone",
21
21
  "dependencies": {
22
- "@omnia/fx-models": "8.0.191-dev"
22
+ "@omnia/fx-models": "8.0.193-dev"
23
23
  },
24
24
  "typings": "./index.d.ts",
25
25
  "bugs": {