@uniformdev/canvas 19.87.0 → 19.88.0
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/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +4 -2
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
@@ -12497,6 +12497,7 @@ interface paths$1 {
|
|
12497
12497
|
query: {
|
12498
12498
|
projectId: string;
|
12499
12499
|
type: "definition" | "instance";
|
12500
|
+
entityType?: "composition" | "entry";
|
12500
12501
|
definitionIds?: string;
|
12501
12502
|
instanceIds?: string;
|
12502
12503
|
withCompositions?: boolean | null;
|
@@ -12516,6 +12517,8 @@ interface paths$1 {
|
|
12516
12517
|
_name: string;
|
12517
12518
|
};
|
12518
12519
|
pattern: boolean;
|
12520
|
+
/** @enum {string} */
|
12521
|
+
type: "entry" | "composition";
|
12519
12522
|
}[];
|
12520
12523
|
totalCount: number;
|
12521
12524
|
}[];
|
@@ -12721,9 +12724,10 @@ type CompositionRelationshipsClientOptions = ClientOptions;
|
|
12721
12724
|
declare class unstable_CompositionRelationshipClient extends ApiClient<CompositionRelationshipsClientOptions> {
|
12722
12725
|
private readonly _options;
|
12723
12726
|
constructor(options: CompositionRelationshipsClientOptions);
|
12724
|
-
getDefinitionsRelationships: ({ definitionIds, withCompositions, }: {
|
12727
|
+
getDefinitionsRelationships: ({ definitionIds, withCompositions, entityType, }: {
|
12725
12728
|
definitionIds: string[];
|
12726
12729
|
withCompositions?: boolean | undefined;
|
12730
|
+
entityType?: "entry" | "composition" | undefined;
|
12727
12731
|
}) => Promise<CompositionRelationshipsDDefinitionGetResponse>;
|
12728
12732
|
clearAllRelationships: () => Promise<{
|
12729
12733
|
success: boolean;
|
package/dist/index.d.ts
CHANGED
@@ -12497,6 +12497,7 @@ interface paths$1 {
|
|
12497
12497
|
query: {
|
12498
12498
|
projectId: string;
|
12499
12499
|
type: "definition" | "instance";
|
12500
|
+
entityType?: "composition" | "entry";
|
12500
12501
|
definitionIds?: string;
|
12501
12502
|
instanceIds?: string;
|
12502
12503
|
withCompositions?: boolean | null;
|
@@ -12516,6 +12517,8 @@ interface paths$1 {
|
|
12516
12517
|
_name: string;
|
12517
12518
|
};
|
12518
12519
|
pattern: boolean;
|
12520
|
+
/** @enum {string} */
|
12521
|
+
type: "entry" | "composition";
|
12519
12522
|
}[];
|
12520
12523
|
totalCount: number;
|
12521
12524
|
}[];
|
@@ -12721,9 +12724,10 @@ type CompositionRelationshipsClientOptions = ClientOptions;
|
|
12721
12724
|
declare class unstable_CompositionRelationshipClient extends ApiClient<CompositionRelationshipsClientOptions> {
|
12722
12725
|
private readonly _options;
|
12723
12726
|
constructor(options: CompositionRelationshipsClientOptions);
|
12724
|
-
getDefinitionsRelationships: ({ definitionIds, withCompositions, }: {
|
12727
|
+
getDefinitionsRelationships: ({ definitionIds, withCompositions, entityType, }: {
|
12725
12728
|
definitionIds: string[];
|
12726
12729
|
withCompositions?: boolean | undefined;
|
12730
|
+
entityType?: "entry" | "composition" | undefined;
|
12727
12731
|
}) => Promise<CompositionRelationshipsDDefinitionGetResponse>;
|
12728
12732
|
clearAllRelationships: () => Promise<{
|
12729
12733
|
success: boolean;
|
package/dist/index.esm.js
CHANGED
@@ -634,13 +634,15 @@ var unstable_CompositionRelationshipClient = class extends ApiClient3 {
|
|
634
634
|
super(options);
|
635
635
|
this.getDefinitionsRelationships = async ({
|
636
636
|
definitionIds,
|
637
|
-
withCompositions
|
637
|
+
withCompositions,
|
638
|
+
entityType = "composition"
|
638
639
|
}) => {
|
639
640
|
const url = this.createUrl(COMPOSITION_RELATIONSHIP_URL, {
|
640
641
|
type: "definition",
|
641
642
|
projectId: this._options.projectId,
|
642
643
|
definitionIds: definitionIds.join(","),
|
643
|
-
withCompositions
|
644
|
+
withCompositions,
|
645
|
+
entityType
|
644
646
|
});
|
645
647
|
return this.apiClient(url);
|
646
648
|
};
|
package/dist/index.js
CHANGED
@@ -759,13 +759,15 @@ var unstable_CompositionRelationshipClient = class extends import_api4.ApiClient
|
|
759
759
|
super(options);
|
760
760
|
this.getDefinitionsRelationships = async ({
|
761
761
|
definitionIds,
|
762
|
-
withCompositions
|
762
|
+
withCompositions,
|
763
|
+
entityType = "composition"
|
763
764
|
}) => {
|
764
765
|
const url = this.createUrl(COMPOSITION_RELATIONSHIP_URL, {
|
765
766
|
type: "definition",
|
766
767
|
projectId: this._options.projectId,
|
767
768
|
definitionIds: definitionIds.join(","),
|
768
|
-
withCompositions
|
769
|
+
withCompositions,
|
770
|
+
entityType
|
769
771
|
});
|
770
772
|
return this.apiClient(url);
|
771
773
|
};
|
package/dist/index.mjs
CHANGED
@@ -634,13 +634,15 @@ var unstable_CompositionRelationshipClient = class extends ApiClient3 {
|
|
634
634
|
super(options);
|
635
635
|
this.getDefinitionsRelationships = async ({
|
636
636
|
definitionIds,
|
637
|
-
withCompositions
|
637
|
+
withCompositions,
|
638
|
+
entityType = "composition"
|
638
639
|
}) => {
|
639
640
|
const url = this.createUrl(COMPOSITION_RELATIONSHIP_URL, {
|
640
641
|
type: "definition",
|
641
642
|
projectId: this._options.projectId,
|
642
643
|
definitionIds: definitionIds.join(","),
|
643
|
-
withCompositions
|
644
|
+
withCompositions,
|
645
|
+
entityType
|
644
646
|
});
|
645
647
|
return this.apiClient(url);
|
646
648
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.88.0",
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -38,8 +38,8 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/assets": "19.
|
42
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/assets": "19.88.0",
|
42
|
+
"@uniformdev/context": "19.88.0",
|
43
43
|
"immer": "10.0.3"
|
44
44
|
},
|
45
45
|
"files": [
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"publishConfig": {
|
49
49
|
"access": "public"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "0a02f919a6b0f0c41307f120adada2e5d45a947b"
|
52
52
|
}
|