@contrail/entity-types 1.1.65-alpha-create-entities-1 → 1.2.0-alpha-skip-hydrate
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.
- package/lib/batch-fetch-response.d.ts +9 -3
- package/lib/client.d.ts +2 -0
- package/lib/client.js +2 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/package.json +1 -1
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export type BatchFetchResponse<T> = BatchFetchResponseResults<T> | BatchFetchResponseCompressed | BatchFetchResponseDownloadUrl;
|
|
2
|
-
type BatchFetchResponseResults<T> =
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
type BatchFetchResponseResults<T> = {
|
|
3
|
+
results: T[];
|
|
4
|
+
};
|
|
5
|
+
type BatchFetchResponseCompressed = {
|
|
6
|
+
resultsCompressedString: string;
|
|
7
|
+
};
|
|
8
|
+
type BatchFetchResponseDownloadUrl = {
|
|
9
|
+
resultsDownloadUrl: string;
|
|
10
|
+
};
|
|
5
11
|
export {};
|
package/lib/client.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export declare abstract class EntitiesClientCreateOptions {
|
|
|
55
55
|
relation?: string;
|
|
56
56
|
apiVersion?: API_VERSION;
|
|
57
57
|
suffix?: string;
|
|
58
|
+
skipHydrateRelationships?: boolean;
|
|
58
59
|
}
|
|
59
60
|
export declare abstract class EntitiesClientBatchCreateOptions {
|
|
60
61
|
entityName: string;
|
|
@@ -71,6 +72,7 @@ export declare abstract class EntitiesClientUpdateOptions {
|
|
|
71
72
|
relationId?: string;
|
|
72
73
|
apiVersion?: API_VERSION;
|
|
73
74
|
suffix?: string;
|
|
75
|
+
skipHydrateRelationships?: boolean;
|
|
74
76
|
}
|
|
75
77
|
export declare abstract class EntitiesClientBatchUpdateOptions {
|
|
76
78
|
entityName: string;
|
package/lib/client.js
CHANGED
|
@@ -63,6 +63,7 @@ class EntitiesClientCreateOptions {
|
|
|
63
63
|
relation;
|
|
64
64
|
apiVersion;
|
|
65
65
|
suffix;
|
|
66
|
+
skipHydrateRelationships;
|
|
66
67
|
}
|
|
67
68
|
exports.EntitiesClientCreateOptions = EntitiesClientCreateOptions;
|
|
68
69
|
class EntitiesClientBatchCreateOptions {
|
|
@@ -81,6 +82,7 @@ class EntitiesClientUpdateOptions {
|
|
|
81
82
|
relationId;
|
|
82
83
|
apiVersion;
|
|
83
84
|
suffix;
|
|
85
|
+
skipHydrateRelationships;
|
|
84
86
|
}
|
|
85
87
|
exports.EntitiesClientUpdateOptions = EntitiesClientUpdateOptions;
|
|
86
88
|
class EntitiesClientBatchUpdateOptions {
|
package/lib/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export * from './assortment';
|
|
|
11
11
|
export * from './assortment-item';
|
|
12
12
|
export * from './assortment-summary';
|
|
13
13
|
export * from './base-managed-entity';
|
|
14
|
-
export * from './batch-fetch-response';
|
|
15
14
|
export * from './client';
|
|
16
15
|
export * from './color';
|
|
17
16
|
export * from './composite-plans-summary';
|
package/lib/index.js
CHANGED
|
@@ -27,7 +27,6 @@ __exportStar(require("./assortment"), exports);
|
|
|
27
27
|
__exportStar(require("./assortment-item"), exports);
|
|
28
28
|
__exportStar(require("./assortment-summary"), exports);
|
|
29
29
|
__exportStar(require("./base-managed-entity"), exports);
|
|
30
|
-
__exportStar(require("./batch-fetch-response"), exports);
|
|
31
30
|
__exportStar(require("./client"), exports);
|
|
32
31
|
__exportStar(require("./color"), exports);
|
|
33
32
|
__exportStar(require("./composite-plans-summary"), exports);
|