@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 +2 -2
- package/Feature.d.ts +2 -2
- package/Feature.js +2 -1
- package/FilterEngine.d.ts +7 -7
- package/Library.d.ts +2 -2
- package/ReservedSiteAliasValidation.d.ts +2 -2
- package/SharePointUserProfilePropertyValue.d.ts +3 -3
- package/TargetingFilterProperty.d.ts +3 -3
- package/TaxonomyGlossary.d.ts +4 -4
- package/Term.d.ts +8 -8
- package/TermGlossaryMappingData.d.ts +2 -2
- package/package.json +2 -2
package/Contexts.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OmniaBootstrapData } from "@omnia/fx-models";
|
2
|
-
import {
|
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:
|
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 {
|
1
|
+
import { guid, IFeatureConfiguration } from "@omnia/fx-models";
|
2
2
|
export declare class SharePointFeatureConfiguration implements IFeatureConfiguration {
|
3
|
-
readonly typeId:
|
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 {
|
1
|
+
import { guid, BaseFilterEngineProperty, FilterEngineContext, FilterEngineOperator, PropertyIndexedType, TypedFilterEnginePropertyOutput } from "@omnia/fx-models";
|
2
2
|
export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
|
3
|
-
value: Array<
|
4
|
-
targetingPropertyIds: Array<
|
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<
|
30
|
+
value: Array<guid>;
|
31
31
|
sub: TaxonomyFilterEnginePropertyOutput[];
|
32
32
|
}
|
33
33
|
export declare abstract class SPSearchFilterEngineContext extends FilterEngineContext {
|
34
|
-
componentId:
|
35
|
-
readonly abstract uniqueId:
|
36
|
-
constructor(componentId:
|
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 {
|
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?:
|
7
|
+
childFolderUniqueId?: guid;
|
8
8
|
childFolderTitle?: string;
|
9
9
|
childFolderUrl?: string;
|
10
10
|
parentWebTitle?: string;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { AppInstance,
|
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?:
|
8
|
+
ignoreFromAppId?: guid;
|
9
9
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
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:
|
16
|
+
termIds: guid[];
|
17
17
|
multiple: boolean;
|
18
18
|
type: SharePointUserProfilePropertyValueTypes;
|
19
|
-
constructor(termIds:
|
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 {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
export interface EnterprisePropertiesSettings {
|
3
|
-
termIds: Array<
|
3
|
+
termIds: Array<guid>;
|
4
4
|
includeChildTerms: boolean;
|
5
5
|
languages: string[];
|
6
|
-
targetingPropertyIds: Array<
|
6
|
+
targetingPropertyIds: Array<guid>;
|
7
7
|
}
|
8
8
|
export interface TargetingFilterProperty {
|
9
9
|
enterprisePropertiesSettings: {
|
package/TaxonomyGlossary.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EnterpriseGlossaryInformationSourceSettings, EnterpriseGlossary,
|
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:
|
17
|
-
readonly type:
|
18
|
-
constructor(termSetId:
|
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 {
|
1
|
+
import { guid, PropertyBindingSetting } from "@omnia/fx-models";
|
2
2
|
export interface Term extends TermBase {
|
3
|
-
parentId:
|
4
|
-
termSetId:
|
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:
|
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:
|
55
|
+
readonly termId: guid;
|
56
56
|
type: TermOrganizationFilterType;
|
57
|
-
constructor(termId:
|
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:
|
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:
|
84
|
+
id: guid;
|
85
85
|
title: string;
|
86
86
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EnterpriseGlossaryMappingData,
|
1
|
+
import { EnterpriseGlossaryMappingData, guid } from "@omnia/fx-models";
|
2
2
|
export interface TermGlossaryMappingData extends EnterpriseGlossaryMappingData {
|
3
|
-
termSetId:
|
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.
|
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.
|
22
|
+
"@omnia/fx-models": "8.0.193-dev"
|
23
23
|
},
|
24
24
|
"typings": "./index.d.ts",
|
25
25
|
"bugs": {
|