@chevre/factory 5.0.0 → 5.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,9 +33,12 @@ export declare enum DigitalDocumentPermissionType {
|
|
|
33
33
|
ReadPermission = "ReadPermission",
|
|
34
34
|
WritePermission = "WritePermission"
|
|
35
35
|
}
|
|
36
|
+
export declare enum PermissionGranteeAudienceType {
|
|
37
|
+
Public = "public"
|
|
38
|
+
}
|
|
36
39
|
export interface IPermissionGrantee {
|
|
37
40
|
typeOf: 'Audience';
|
|
38
|
-
audienceType:
|
|
41
|
+
audienceType: PermissionGranteeAudienceType;
|
|
39
42
|
}
|
|
40
43
|
export interface IDigitalDocumentPermission {
|
|
41
44
|
typeOf: 'DigitalDocumentPermission';
|
|
@@ -124,4 +127,11 @@ export interface ISearchConditions {
|
|
|
124
127
|
$eq?: string;
|
|
125
128
|
$in?: string[];
|
|
126
129
|
};
|
|
130
|
+
hasDigitalDocumentPermission?: {
|
|
131
|
+
grantee?: {
|
|
132
|
+
audienceType?: {
|
|
133
|
+
$eq?: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
127
137
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DigitalDocumentPermissionType = void 0;
|
|
3
|
+
exports.PermissionGranteeAudienceType = exports.DigitalDocumentPermissionType = void 0;
|
|
4
4
|
var DigitalDocumentPermissionType;
|
|
5
5
|
(function (DigitalDocumentPermissionType) {
|
|
6
6
|
DigitalDocumentPermissionType["ReadPermission"] = "ReadPermission";
|
|
7
7
|
DigitalDocumentPermissionType["WritePermission"] = "WritePermission";
|
|
8
8
|
})(DigitalDocumentPermissionType = exports.DigitalDocumentPermissionType || (exports.DigitalDocumentPermissionType = {}));
|
|
9
|
+
var PermissionGranteeAudienceType;
|
|
10
|
+
(function (PermissionGranteeAudienceType) {
|
|
11
|
+
PermissionGranteeAudienceType["Public"] = "public";
|
|
12
|
+
})(PermissionGranteeAudienceType = exports.PermissionGranteeAudienceType || (exports.PermissionGranteeAudienceType = {}));
|
package/lib/product.d.ts
CHANGED
|
@@ -81,11 +81,6 @@ export interface INoAvailableChannel {
|
|
|
81
81
|
credentials?: INoCredentials;
|
|
82
82
|
}
|
|
83
83
|
export type IServiceType = Pick<ICategoryCode, 'codeValue' | 'inCodeSet' | 'typeOf'>;
|
|
84
|
-
export type IOffer = Pick<IBaseOffer, 'typeOf' | 'priceCurrency' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> & {
|
|
85
|
-
seller?: {
|
|
86
|
-
id?: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
84
|
export interface ICommonAttributes extends Pick<IThing, 'name' | 'description'> {
|
|
90
85
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
91
86
|
typeOf: ProductType;
|
|
@@ -236,29 +231,6 @@ export interface ISearchConditions {
|
|
|
236
231
|
$eq?: ProductType;
|
|
237
232
|
$in?: ProductType[];
|
|
238
233
|
};
|
|
239
|
-
offers?: {
|
|
240
|
-
$elemMatch?: {
|
|
241
|
-
availabilityEnds?: {
|
|
242
|
-
$gte?: Date;
|
|
243
|
-
$lte?: Date;
|
|
244
|
-
};
|
|
245
|
-
availabilityStarts?: {
|
|
246
|
-
$gte?: Date;
|
|
247
|
-
$lte?: Date;
|
|
248
|
-
};
|
|
249
|
-
validFrom?: {
|
|
250
|
-
$gte?: Date;
|
|
251
|
-
$lte?: Date;
|
|
252
|
-
};
|
|
253
|
-
validThrough?: {
|
|
254
|
-
$gte?: Date;
|
|
255
|
-
$lte?: Date;
|
|
256
|
-
};
|
|
257
|
-
'seller.id'?: {
|
|
258
|
-
$in?: string[];
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
234
|
serviceOutput?: {
|
|
263
235
|
typeOf?: {
|
|
264
236
|
$eq?: string;
|