@uniformdev/canvas 19.51.1-alpha.10 → 19.53.1-alpha.41
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 +298 -28
- package/dist/index.d.ts +298 -28
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
@@ -2550,8 +2550,10 @@ interface paths$8 {
|
|
2550
2550
|
get: {
|
2551
2551
|
parameters: {
|
2552
2552
|
query: {
|
2553
|
-
/** Specify multiple entry IDs to fetch.
|
2553
|
+
/** Specify multiple entry IDs to fetch. */
|
2554
2554
|
entryIDs?: components$4["parameters"]["entryIDs"];
|
2555
|
+
/** Specify a single entry to fetch by slug. */
|
2556
|
+
slug?: components$4["parameters"]["slug"];
|
2555
2557
|
/** Filters entry lists by the user who created them. The user is specified by their identity subject. */
|
2556
2558
|
createdBy?: components$4["parameters"]["createdBy"];
|
2557
2559
|
/** Max number of records to return */
|
@@ -2747,8 +2749,10 @@ interface components$4 {
|
|
2747
2749
|
parameters: {
|
2748
2750
|
/** @description The project the entry/entries are on. */
|
2749
2751
|
projectId: string;
|
2750
|
-
/** @description Specify multiple entry IDs to fetch.
|
2752
|
+
/** @description Specify multiple entry IDs to fetch. */
|
2751
2753
|
entryIDs: string[];
|
2754
|
+
/** @description Specify a single entry to fetch by slug. */
|
2755
|
+
slug: string;
|
2752
2756
|
/** @description The content type ID to filter by. */
|
2753
2757
|
type: string[];
|
2754
2758
|
/** @description Publishing state to fetch. 0 = draft, 64 = published. */
|
@@ -6446,24 +6450,37 @@ interface components$1 {
|
|
6446
6450
|
schemas: {
|
6447
6451
|
CompositionResolvedGetResponse: components$1["schemas"]["EdgehancersResolutionInfo"] & external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["schemas"]["CompositionApiResponse"];
|
6448
6452
|
CompositionResolvedListResponse: {
|
6449
|
-
diagnostics?: components$1["schemas"]["
|
6453
|
+
diagnostics?: components$1["schemas"]["EdgehancersDiagnostics"] & {
|
6450
6454
|
data?: {
|
6451
6455
|
[key: string]: components$1["schemas"]["DataDiagnostic"][];
|
6452
6456
|
};
|
6453
6457
|
};
|
6454
6458
|
errors?: {
|
6455
|
-
[key: string]: components$1["schemas"]["
|
6459
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6456
6460
|
};
|
6457
6461
|
warnings?: {
|
6458
|
-
[key: string]: components$1["schemas"]["
|
6462
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6459
6463
|
};
|
6460
6464
|
} & external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["schemas"]["CompositionListResponse"];
|
6465
|
+
EntryResolvedListResponse: {
|
6466
|
+
diagnostics?: components$1["schemas"]["EdgehancersDiagnostics"] & {
|
6467
|
+
data?: {
|
6468
|
+
[key: string]: components$1["schemas"]["DataDiagnostic"][];
|
6469
|
+
};
|
6470
|
+
};
|
6471
|
+
errors?: {
|
6472
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6473
|
+
};
|
6474
|
+
warnings?: {
|
6475
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6476
|
+
};
|
6477
|
+
} & external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryListResponse"];
|
6461
6478
|
EdgehancersResolutionInfo: {
|
6462
|
-
diagnostics?: components$1["schemas"]["
|
6479
|
+
diagnostics?: components$1["schemas"]["EdgehancersDiagnostics"] & {
|
6463
6480
|
[key: string]: unknown;
|
6464
6481
|
};
|
6465
|
-
errors?: components$1["schemas"]["
|
6466
|
-
warnings?: components$1["schemas"]["
|
6482
|
+
errors?: components$1["schemas"]["DataResolutionIssue"][];
|
6483
|
+
warnings?: components$1["schemas"]["DataResolutionIssue"][];
|
6467
6484
|
};
|
6468
6485
|
EdgehancersError: {
|
6469
6486
|
message: string;
|
@@ -6502,36 +6519,36 @@ interface components$1 {
|
|
6502
6519
|
/**
|
6503
6520
|
* @description Diagnostic information about request processing, including origin/config/data
|
6504
6521
|
* * timings, edge locations, cache statuses and raw data.
|
6505
|
-
* * Only
|
6522
|
+
* * Only present when diagnostics=true is passed to the options.
|
6506
6523
|
*/
|
6507
|
-
|
6524
|
+
EdgehancersDiagnostics: {
|
6508
6525
|
/** @description Edge location where the request was processed */
|
6509
6526
|
edgeLocation?: string;
|
6510
|
-
|
6511
|
-
/** @description How long it took to fetch the
|
6527
|
+
originFetch?: {
|
6528
|
+
/** @description How long it took to fetch from the origin (ms) */
|
6512
6529
|
duration: number;
|
6513
|
-
/** @description Indicates if the
|
6530
|
+
/** @description Indicates if the origin response was cached */
|
6514
6531
|
cacheHit: boolean;
|
6515
|
-
/** @description Indicates if the request results in a valid
|
6516
|
-
|
6532
|
+
/** @description Indicates if the request results in a valid response */
|
6533
|
+
isValid: boolean;
|
6517
6534
|
/**
|
6518
|
-
* @description
|
6535
|
+
* @description Source cache used
|
6519
6536
|
* @enum {string}
|
6520
6537
|
*/
|
6521
6538
|
sourceCache?: "edge-cdn-cache" | "long-term-cache" | "api-cache";
|
6522
6539
|
/** @description Edge cache location used */
|
6523
6540
|
cacheLocation?: string;
|
6524
|
-
/** @description Uniform-specifc request
|
6541
|
+
/** @description Uniform-specifc request identifier */
|
6525
6542
|
requestId?: string;
|
6526
6543
|
};
|
6527
6544
|
configRetrieval?: {
|
6528
|
-
/** @description How long it took to retrieve the config (ms, in parallel to
|
6545
|
+
/** @description How long it took to retrieve the config (ms, in parallel to origin fetch) */
|
6529
6546
|
duration: number;
|
6530
6547
|
/** @description How many data type configs were retrieved */
|
6531
6548
|
dataTypeCount: number;
|
6532
6549
|
};
|
6533
6550
|
};
|
6534
|
-
|
6551
|
+
DataResolutionIssue: {
|
6535
6552
|
componentPath?: string;
|
6536
6553
|
componentType?: string;
|
6537
6554
|
message: string;
|
@@ -7635,6 +7652,250 @@ interface external$3 {
|
|
7635
7652
|
};
|
7636
7653
|
operations: {};
|
7637
7654
|
};
|
7655
|
+
"../../../lambda/functions/v1-entries.swagger.yml": {
|
7656
|
+
paths: {
|
7657
|
+
"/api/v1/entries": {
|
7658
|
+
get: {
|
7659
|
+
parameters: {
|
7660
|
+
query: {
|
7661
|
+
/** Specify multiple entry IDs to fetch. */
|
7662
|
+
entryIDs?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["entryIDs"];
|
7663
|
+
/** Specify a single entry to fetch by slug. */
|
7664
|
+
slug?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["slug"];
|
7665
|
+
/** Filters entry lists by the user who created them. The user is specified by their identity subject. */
|
7666
|
+
createdBy?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["createdBy"];
|
7667
|
+
/** Max number of records to return */
|
7668
|
+
limit?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["limit"];
|
7669
|
+
/** Number of records to skip */
|
7670
|
+
offset?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["offset"];
|
7671
|
+
/** Sets the sorting of the results. If unspecified, results are sorted by name ascending. */
|
7672
|
+
orderBy?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["orderBy"];
|
7673
|
+
/** The project the entry/entries are on. */
|
7674
|
+
projectId: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["projectId"];
|
7675
|
+
/** Publishing state to fetch. 0 = draft, 64 = published. */
|
7676
|
+
state?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["state"];
|
7677
|
+
/** The content type ID to filter by. */
|
7678
|
+
type?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["type"];
|
7679
|
+
/**
|
7680
|
+
* @deprecated Filters entries lists by the UI status of the entry.
|
7681
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7682
|
+
*/
|
7683
|
+
uiStatus?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["uiStatus"];
|
7684
|
+
/** Filters entry lists by the user who last updated them. The user is specified by their identity subject. */
|
7685
|
+
updatedBy?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["updatedBy"];
|
7686
|
+
/**
|
7687
|
+
* Controls whether the total count of results will be returned along with the current results page in a list.
|
7688
|
+
* Has no effect when not fetching a list. This does impact performance when enabled.
|
7689
|
+
*/
|
7690
|
+
withTotalCount?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["withTotalCount"];
|
7691
|
+
/**
|
7692
|
+
* @deprecated Returns the UI status string of the entry.
|
7693
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7694
|
+
*/
|
7695
|
+
withUIStatus?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["withUIStatus"];
|
7696
|
+
};
|
7697
|
+
};
|
7698
|
+
responses: {
|
7699
|
+
/** OK */
|
7700
|
+
200: {
|
7701
|
+
content: {
|
7702
|
+
"application/json": external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryListResponse"];
|
7703
|
+
};
|
7704
|
+
};
|
7705
|
+
400: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["BadRequestError"];
|
7706
|
+
401: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
7707
|
+
403: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
7708
|
+
/** Entry not found */
|
7709
|
+
404: {
|
7710
|
+
content: {
|
7711
|
+
"text/plain": string;
|
7712
|
+
};
|
7713
|
+
};
|
7714
|
+
429: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["RateLimitError"];
|
7715
|
+
500: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["InternalServerError"];
|
7716
|
+
};
|
7717
|
+
};
|
7718
|
+
/** Upserts an entry */
|
7719
|
+
put: {
|
7720
|
+
responses: {
|
7721
|
+
/** OK */
|
7722
|
+
204: never;
|
7723
|
+
400: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["BadRequestError"];
|
7724
|
+
401: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
7725
|
+
403: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
7726
|
+
429: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["RateLimitError"];
|
7727
|
+
500: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["InternalServerError"];
|
7728
|
+
};
|
7729
|
+
requestBody: {
|
7730
|
+
content: {
|
7731
|
+
"application/json": {
|
7732
|
+
/**
|
7733
|
+
* Format: uuid
|
7734
|
+
* @description The project ID to upsert the entry to
|
7735
|
+
*/
|
7736
|
+
projectId: string;
|
7737
|
+
/** @description The publishing state to upsert into. 0 = draft, 64 = published */
|
7738
|
+
state: number;
|
7739
|
+
entry: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryInput"];
|
7740
|
+
/** @description Ignored if present */
|
7741
|
+
created?: string;
|
7742
|
+
/** @description Ignored if present */
|
7743
|
+
modified?: string;
|
7744
|
+
};
|
7745
|
+
};
|
7746
|
+
};
|
7747
|
+
};
|
7748
|
+
/** Deletes or unpublishes an entry */
|
7749
|
+
delete: {
|
7750
|
+
responses: {
|
7751
|
+
/** OK */
|
7752
|
+
204: never;
|
7753
|
+
400: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["BadRequestError"];
|
7754
|
+
401: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
7755
|
+
403: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
7756
|
+
429: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["RateLimitError"];
|
7757
|
+
500: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["InternalServerError"];
|
7758
|
+
};
|
7759
|
+
requestBody: {
|
7760
|
+
content: {
|
7761
|
+
"application/json": {
|
7762
|
+
/**
|
7763
|
+
* Format: uuid
|
7764
|
+
* @description The ID of the entry to delete
|
7765
|
+
*/
|
7766
|
+
entryId: string;
|
7767
|
+
/**
|
7768
|
+
* Format: uuid
|
7769
|
+
* @description The ID of the project the entry to delete belongs to
|
7770
|
+
*/
|
7771
|
+
projectId: string;
|
7772
|
+
/** @description The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
|
7773
|
+
state?: number;
|
7774
|
+
};
|
7775
|
+
};
|
7776
|
+
};
|
7777
|
+
};
|
7778
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
7779
|
+
options: {
|
7780
|
+
responses: {
|
7781
|
+
/** OK */
|
7782
|
+
204: never;
|
7783
|
+
};
|
7784
|
+
};
|
7785
|
+
};
|
7786
|
+
};
|
7787
|
+
components: {
|
7788
|
+
schemas: {
|
7789
|
+
/** @description Defines the shape of the entry */
|
7790
|
+
Entry: {
|
7791
|
+
/** @description Content type of the entry. */
|
7792
|
+
type: string;
|
7793
|
+
/**
|
7794
|
+
* Format: uuid
|
7795
|
+
* @description The public UUID of the entry.
|
7796
|
+
*/
|
7797
|
+
_id: string;
|
7798
|
+
/** @description The name of the entry. */
|
7799
|
+
_name?: string;
|
7800
|
+
/** @description The slug of the entry, automatically generated. */
|
7801
|
+
_slug?: string;
|
7802
|
+
/** @description Name of the author of the most recent change. */
|
7803
|
+
_author?: string;
|
7804
|
+
/** @description Entry field values. */
|
7805
|
+
fields?: {
|
7806
|
+
[key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
7807
|
+
};
|
7808
|
+
_dataResources?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
7809
|
+
};
|
7810
|
+
/** @description Defines the shape of the entry input */
|
7811
|
+
EntryInput: {
|
7812
|
+
/** @description Content type of the entry. */
|
7813
|
+
type: string;
|
7814
|
+
/**
|
7815
|
+
* Format: uuid
|
7816
|
+
* @description The public UUID of the entry.
|
7817
|
+
*/
|
7818
|
+
_id?: string;
|
7819
|
+
/** @description Entry field values. */
|
7820
|
+
fields?: {
|
7821
|
+
[key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
7822
|
+
};
|
7823
|
+
_dataResources?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
7824
|
+
};
|
7825
|
+
EntryApiResponse: {
|
7826
|
+
/** @description Publishing state to fetch. 0 = draft, 64 = published. */
|
7827
|
+
state: number;
|
7828
|
+
/**
|
7829
|
+
* @deprecated
|
7830
|
+
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
7831
|
+
* @enum {string}
|
7832
|
+
*/
|
7833
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
7834
|
+
/**
|
7835
|
+
* Format: uuid
|
7836
|
+
* @description The project ID that this layout data is part of
|
7837
|
+
*/
|
7838
|
+
projectId: string;
|
7839
|
+
/**
|
7840
|
+
* Format: date-time,
|
7841
|
+
* @description Created date string for this definition
|
7842
|
+
*/
|
7843
|
+
created: string;
|
7844
|
+
/**
|
7845
|
+
* Format: date-time,
|
7846
|
+
* @description Modified date string for this definition
|
7847
|
+
*/
|
7848
|
+
modified: string;
|
7849
|
+
entry: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["Entry"];
|
7850
|
+
};
|
7851
|
+
EntryListResponse: {
|
7852
|
+
entries: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryApiResponse"][];
|
7853
|
+
/** @description Total number of entries that match the query. Only present when `withTotalCount` option is true. */
|
7854
|
+
totalCount?: number;
|
7855
|
+
};
|
7856
|
+
};
|
7857
|
+
parameters: {
|
7858
|
+
/** @description The project the entry/entries are on. */
|
7859
|
+
projectId: string;
|
7860
|
+
/** @description Specify multiple entry IDs to fetch. */
|
7861
|
+
entryIDs: string[];
|
7862
|
+
/** @description Specify a single entry to fetch by slug. */
|
7863
|
+
slug: string;
|
7864
|
+
/** @description The content type ID to filter by. */
|
7865
|
+
type: string[];
|
7866
|
+
/** @description Publishing state to fetch. 0 = draft, 64 = published. */
|
7867
|
+
state: number;
|
7868
|
+
/** @description Number of records to skip */
|
7869
|
+
offset: number;
|
7870
|
+
/** @description Max number of records to return */
|
7871
|
+
limit: number;
|
7872
|
+
/** @description Sets the sorting of the results. If unspecified, results are sorted by name ascending. */
|
7873
|
+
orderBy: ("updated_at_DESC" | "updated_at_ASC" | "created_at_DESC" | "created_at_ASC" | "name_DESC" | "name_ASC")[];
|
7874
|
+
/**
|
7875
|
+
* @deprecated
|
7876
|
+
* @description Returns the UI status string of the entry.
|
7877
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7878
|
+
*/
|
7879
|
+
withUIStatus: boolean;
|
7880
|
+
/**
|
7881
|
+
* @deprecated
|
7882
|
+
* @description Filters entries lists by the UI status of the entry.
|
7883
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7884
|
+
*/
|
7885
|
+
uiStatus: ("Draft" | "Modified" | "Published" | "Orphan")[];
|
7886
|
+
/** @description Filters entry lists by the user who created them. The user is specified by their identity subject. */
|
7887
|
+
createdBy: string;
|
7888
|
+
/** @description Filters entry lists by the user who last updated them. The user is specified by their identity subject. */
|
7889
|
+
updatedBy: string;
|
7890
|
+
/**
|
7891
|
+
* @description Controls whether the total count of results will be returned along with the current results page in a list.
|
7892
|
+
* Has no effect when not fetching a list. This does impact performance when enabled.
|
7893
|
+
*/
|
7894
|
+
withTotalCount: boolean;
|
7895
|
+
};
|
7896
|
+
};
|
7897
|
+
operations: {};
|
7898
|
+
};
|
7638
7899
|
"../../../lambda/functions/v1-redirect.swagger.yml": {
|
7639
7900
|
paths: {
|
7640
7901
|
"/api/v1/redirect": {
|
@@ -9480,21 +9741,25 @@ type DataResolutionParameters = {
|
|
9480
9741
|
diagnostics?: boolean;
|
9481
9742
|
};
|
9482
9743
|
/** Types of issue that can occur when fetching composition data */
|
9483
|
-
type
|
9484
|
-
|
9744
|
+
type DataResolutionIssue = PatternIssue | DataResourceIssue | DataElementBindingIssue | DynamicInputIssue | DataResolutionConfigIssue;
|
9745
|
+
/** @deprecated use DataResolutionIssue instead */
|
9746
|
+
type CompositionIssue = DataResolutionIssue;
|
9747
|
+
type DataResolutionIssueCore = components$1['schemas']['DataResolutionIssue'];
|
9485
9748
|
/** An error that occured resolving a pattern that is referenced on the composition */
|
9486
|
-
type
|
9749
|
+
type PatternIssue = DataResolutionIssueCore & {
|
9487
9750
|
type: 'pattern';
|
9488
9751
|
code: NonNullable<ComponentInstance['_patternError']>;
|
9489
9752
|
};
|
9753
|
+
/** @deprecated use PatternIssue instead */
|
9754
|
+
type CompositionPatternIssue = PatternIssue;
|
9490
9755
|
/** An error while binding a dynamic token from a data resource to a component parameter (i.e. a missing property in the data resource) */
|
9491
|
-
type DataElementBindingIssue =
|
9756
|
+
type DataElementBindingIssue = DataResolutionIssueCore & {
|
9492
9757
|
type: 'binding';
|
9493
9758
|
parameterName: string;
|
9494
9759
|
expression?: DataElementConnectionDefinition;
|
9495
9760
|
};
|
9496
9761
|
/** An error that occurred fetching a data defined on the composition or a pattern within */
|
9497
|
-
type DataResourceIssue =
|
9762
|
+
type DataResourceIssue = DataResolutionIssueCore & {
|
9498
9763
|
type: 'data';
|
9499
9764
|
dataName: string;
|
9500
9765
|
dataType: string;
|
@@ -9503,7 +9768,7 @@ type DataResourceIssue = CompositionIssueCore & {
|
|
9503
9768
|
* An issue that occurred while binding dynamic inputs to composition data resources,
|
9504
9769
|
* specifically when an expected dynamic input did not have a value.
|
9505
9770
|
*/
|
9506
|
-
type DynamicInputIssue =
|
9771
|
+
type DynamicInputIssue = DataResolutionIssueCore & {
|
9507
9772
|
type: 'input';
|
9508
9773
|
};
|
9509
9774
|
/** Error in data resolution configuration (internal error) */
|
@@ -9512,9 +9777,13 @@ type DataResolutionConfigIssue = {
|
|
9512
9777
|
type: 'config';
|
9513
9778
|
};
|
9514
9779
|
/** Diagnostics about edge request processing */
|
9515
|
-
type
|
9780
|
+
type EdgehancersDiagnostics = components$1['schemas']['EdgehancersDiagnostics'];
|
9781
|
+
/** @deprecated use EdgehancersDiagnostics instead */
|
9782
|
+
type CompositionDiagnostics = EdgehancersDiagnostics;
|
9516
9783
|
/** Diagnostic data about the load performance of attached composition datas */
|
9517
|
-
type
|
9784
|
+
type DataDiagnostic = components$1['schemas']['DataDiagnostic'];
|
9785
|
+
/** @deprecated use DataDiagnostic instead */
|
9786
|
+
type CompositionDataDiagnostic = DataDiagnostic;
|
9518
9787
|
/** Response as it comes from uniform.global/api/v1/composition */
|
9519
9788
|
type CompositionResolvedGetResponse = components$1['schemas']['CompositionResolvedGetResponse'];
|
9520
9789
|
type CompositionResolvedListResponse = components$1['schemas']['CompositionResolvedListResponse'];
|
@@ -9530,6 +9799,7 @@ type RouteDynamicInputs = components['schemas']['RouteDynamicInputs'];
|
|
9530
9799
|
/** The GET response from /api/v1/entries */
|
9531
9800
|
type EntriesGetParameters = paths$8['/api/v1/entries']['get']['parameters']['query'] & DataResolutionParameters;
|
9532
9801
|
type EntriesGetResponse = components$4['schemas']['EntryListResponse'];
|
9802
|
+
type EntriesResolvedListResponse = components$1['schemas']['EntryResolvedListResponse'];
|
9533
9803
|
/** GET response from uniform.global/api/v1/route when result is a composition */
|
9534
9804
|
type RouteGetResponseEdgehancedComposition = Omit<RouteGetResponseComposition, 'compositionApiResponse'> & {
|
9535
9805
|
compositionApiResponse: CompositionResolvedGetResponse;
|
@@ -11017,4 +11287,4 @@ declare function parseVariableExpression(serialized: string, onToken?: (token: s
|
|
11017
11287
|
|
11018
11288
|
declare const CanvasClientError: typeof ApiClientError;
|
11019
11289
|
|
11020
|
-
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
11290
|
+
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataDiagnostic, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EdgehancersDiagnostics, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, EntriesResolvedListResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PatternIssue, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
package/dist/index.d.ts
CHANGED
@@ -2550,8 +2550,10 @@ interface paths$8 {
|
|
2550
2550
|
get: {
|
2551
2551
|
parameters: {
|
2552
2552
|
query: {
|
2553
|
-
/** Specify multiple entry IDs to fetch.
|
2553
|
+
/** Specify multiple entry IDs to fetch. */
|
2554
2554
|
entryIDs?: components$4["parameters"]["entryIDs"];
|
2555
|
+
/** Specify a single entry to fetch by slug. */
|
2556
|
+
slug?: components$4["parameters"]["slug"];
|
2555
2557
|
/** Filters entry lists by the user who created them. The user is specified by their identity subject. */
|
2556
2558
|
createdBy?: components$4["parameters"]["createdBy"];
|
2557
2559
|
/** Max number of records to return */
|
@@ -2747,8 +2749,10 @@ interface components$4 {
|
|
2747
2749
|
parameters: {
|
2748
2750
|
/** @description The project the entry/entries are on. */
|
2749
2751
|
projectId: string;
|
2750
|
-
/** @description Specify multiple entry IDs to fetch.
|
2752
|
+
/** @description Specify multiple entry IDs to fetch. */
|
2751
2753
|
entryIDs: string[];
|
2754
|
+
/** @description Specify a single entry to fetch by slug. */
|
2755
|
+
slug: string;
|
2752
2756
|
/** @description The content type ID to filter by. */
|
2753
2757
|
type: string[];
|
2754
2758
|
/** @description Publishing state to fetch. 0 = draft, 64 = published. */
|
@@ -6446,24 +6450,37 @@ interface components$1 {
|
|
6446
6450
|
schemas: {
|
6447
6451
|
CompositionResolvedGetResponse: components$1["schemas"]["EdgehancersResolutionInfo"] & external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["schemas"]["CompositionApiResponse"];
|
6448
6452
|
CompositionResolvedListResponse: {
|
6449
|
-
diagnostics?: components$1["schemas"]["
|
6453
|
+
diagnostics?: components$1["schemas"]["EdgehancersDiagnostics"] & {
|
6450
6454
|
data?: {
|
6451
6455
|
[key: string]: components$1["schemas"]["DataDiagnostic"][];
|
6452
6456
|
};
|
6453
6457
|
};
|
6454
6458
|
errors?: {
|
6455
|
-
[key: string]: components$1["schemas"]["
|
6459
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6456
6460
|
};
|
6457
6461
|
warnings?: {
|
6458
|
-
[key: string]: components$1["schemas"]["
|
6462
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6459
6463
|
};
|
6460
6464
|
} & external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["schemas"]["CompositionListResponse"];
|
6465
|
+
EntryResolvedListResponse: {
|
6466
|
+
diagnostics?: components$1["schemas"]["EdgehancersDiagnostics"] & {
|
6467
|
+
data?: {
|
6468
|
+
[key: string]: components$1["schemas"]["DataDiagnostic"][];
|
6469
|
+
};
|
6470
|
+
};
|
6471
|
+
errors?: {
|
6472
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6473
|
+
};
|
6474
|
+
warnings?: {
|
6475
|
+
[key: string]: components$1["schemas"]["DataResolutionIssue"][];
|
6476
|
+
};
|
6477
|
+
} & external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryListResponse"];
|
6461
6478
|
EdgehancersResolutionInfo: {
|
6462
|
-
diagnostics?: components$1["schemas"]["
|
6479
|
+
diagnostics?: components$1["schemas"]["EdgehancersDiagnostics"] & {
|
6463
6480
|
[key: string]: unknown;
|
6464
6481
|
};
|
6465
|
-
errors?: components$1["schemas"]["
|
6466
|
-
warnings?: components$1["schemas"]["
|
6482
|
+
errors?: components$1["schemas"]["DataResolutionIssue"][];
|
6483
|
+
warnings?: components$1["schemas"]["DataResolutionIssue"][];
|
6467
6484
|
};
|
6468
6485
|
EdgehancersError: {
|
6469
6486
|
message: string;
|
@@ -6502,36 +6519,36 @@ interface components$1 {
|
|
6502
6519
|
/**
|
6503
6520
|
* @description Diagnostic information about request processing, including origin/config/data
|
6504
6521
|
* * timings, edge locations, cache statuses and raw data.
|
6505
|
-
* * Only
|
6522
|
+
* * Only present when diagnostics=true is passed to the options.
|
6506
6523
|
*/
|
6507
|
-
|
6524
|
+
EdgehancersDiagnostics: {
|
6508
6525
|
/** @description Edge location where the request was processed */
|
6509
6526
|
edgeLocation?: string;
|
6510
|
-
|
6511
|
-
/** @description How long it took to fetch the
|
6527
|
+
originFetch?: {
|
6528
|
+
/** @description How long it took to fetch from the origin (ms) */
|
6512
6529
|
duration: number;
|
6513
|
-
/** @description Indicates if the
|
6530
|
+
/** @description Indicates if the origin response was cached */
|
6514
6531
|
cacheHit: boolean;
|
6515
|
-
/** @description Indicates if the request results in a valid
|
6516
|
-
|
6532
|
+
/** @description Indicates if the request results in a valid response */
|
6533
|
+
isValid: boolean;
|
6517
6534
|
/**
|
6518
|
-
* @description
|
6535
|
+
* @description Source cache used
|
6519
6536
|
* @enum {string}
|
6520
6537
|
*/
|
6521
6538
|
sourceCache?: "edge-cdn-cache" | "long-term-cache" | "api-cache";
|
6522
6539
|
/** @description Edge cache location used */
|
6523
6540
|
cacheLocation?: string;
|
6524
|
-
/** @description Uniform-specifc request
|
6541
|
+
/** @description Uniform-specifc request identifier */
|
6525
6542
|
requestId?: string;
|
6526
6543
|
};
|
6527
6544
|
configRetrieval?: {
|
6528
|
-
/** @description How long it took to retrieve the config (ms, in parallel to
|
6545
|
+
/** @description How long it took to retrieve the config (ms, in parallel to origin fetch) */
|
6529
6546
|
duration: number;
|
6530
6547
|
/** @description How many data type configs were retrieved */
|
6531
6548
|
dataTypeCount: number;
|
6532
6549
|
};
|
6533
6550
|
};
|
6534
|
-
|
6551
|
+
DataResolutionIssue: {
|
6535
6552
|
componentPath?: string;
|
6536
6553
|
componentType?: string;
|
6537
6554
|
message: string;
|
@@ -7635,6 +7652,250 @@ interface external$3 {
|
|
7635
7652
|
};
|
7636
7653
|
operations: {};
|
7637
7654
|
};
|
7655
|
+
"../../../lambda/functions/v1-entries.swagger.yml": {
|
7656
|
+
paths: {
|
7657
|
+
"/api/v1/entries": {
|
7658
|
+
get: {
|
7659
|
+
parameters: {
|
7660
|
+
query: {
|
7661
|
+
/** Specify multiple entry IDs to fetch. */
|
7662
|
+
entryIDs?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["entryIDs"];
|
7663
|
+
/** Specify a single entry to fetch by slug. */
|
7664
|
+
slug?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["slug"];
|
7665
|
+
/** Filters entry lists by the user who created them. The user is specified by their identity subject. */
|
7666
|
+
createdBy?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["createdBy"];
|
7667
|
+
/** Max number of records to return */
|
7668
|
+
limit?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["limit"];
|
7669
|
+
/** Number of records to skip */
|
7670
|
+
offset?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["offset"];
|
7671
|
+
/** Sets the sorting of the results. If unspecified, results are sorted by name ascending. */
|
7672
|
+
orderBy?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["orderBy"];
|
7673
|
+
/** The project the entry/entries are on. */
|
7674
|
+
projectId: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["projectId"];
|
7675
|
+
/** Publishing state to fetch. 0 = draft, 64 = published. */
|
7676
|
+
state?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["state"];
|
7677
|
+
/** The content type ID to filter by. */
|
7678
|
+
type?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["type"];
|
7679
|
+
/**
|
7680
|
+
* @deprecated Filters entries lists by the UI status of the entry.
|
7681
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7682
|
+
*/
|
7683
|
+
uiStatus?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["uiStatus"];
|
7684
|
+
/** Filters entry lists by the user who last updated them. The user is specified by their identity subject. */
|
7685
|
+
updatedBy?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["updatedBy"];
|
7686
|
+
/**
|
7687
|
+
* Controls whether the total count of results will be returned along with the current results page in a list.
|
7688
|
+
* Has no effect when not fetching a list. This does impact performance when enabled.
|
7689
|
+
*/
|
7690
|
+
withTotalCount?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["withTotalCount"];
|
7691
|
+
/**
|
7692
|
+
* @deprecated Returns the UI status string of the entry.
|
7693
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7694
|
+
*/
|
7695
|
+
withUIStatus?: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["parameters"]["withUIStatus"];
|
7696
|
+
};
|
7697
|
+
};
|
7698
|
+
responses: {
|
7699
|
+
/** OK */
|
7700
|
+
200: {
|
7701
|
+
content: {
|
7702
|
+
"application/json": external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryListResponse"];
|
7703
|
+
};
|
7704
|
+
};
|
7705
|
+
400: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["BadRequestError"];
|
7706
|
+
401: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
7707
|
+
403: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
7708
|
+
/** Entry not found */
|
7709
|
+
404: {
|
7710
|
+
content: {
|
7711
|
+
"text/plain": string;
|
7712
|
+
};
|
7713
|
+
};
|
7714
|
+
429: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["RateLimitError"];
|
7715
|
+
500: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["InternalServerError"];
|
7716
|
+
};
|
7717
|
+
};
|
7718
|
+
/** Upserts an entry */
|
7719
|
+
put: {
|
7720
|
+
responses: {
|
7721
|
+
/** OK */
|
7722
|
+
204: never;
|
7723
|
+
400: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["BadRequestError"];
|
7724
|
+
401: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
7725
|
+
403: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
7726
|
+
429: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["RateLimitError"];
|
7727
|
+
500: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["InternalServerError"];
|
7728
|
+
};
|
7729
|
+
requestBody: {
|
7730
|
+
content: {
|
7731
|
+
"application/json": {
|
7732
|
+
/**
|
7733
|
+
* Format: uuid
|
7734
|
+
* @description The project ID to upsert the entry to
|
7735
|
+
*/
|
7736
|
+
projectId: string;
|
7737
|
+
/** @description The publishing state to upsert into. 0 = draft, 64 = published */
|
7738
|
+
state: number;
|
7739
|
+
entry: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryInput"];
|
7740
|
+
/** @description Ignored if present */
|
7741
|
+
created?: string;
|
7742
|
+
/** @description Ignored if present */
|
7743
|
+
modified?: string;
|
7744
|
+
};
|
7745
|
+
};
|
7746
|
+
};
|
7747
|
+
};
|
7748
|
+
/** Deletes or unpublishes an entry */
|
7749
|
+
delete: {
|
7750
|
+
responses: {
|
7751
|
+
/** OK */
|
7752
|
+
204: never;
|
7753
|
+
400: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["BadRequestError"];
|
7754
|
+
401: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
7755
|
+
403: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
7756
|
+
429: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["RateLimitError"];
|
7757
|
+
500: external$3["../../../lambda/functions/swagger.yml"]["components"]["responses"]["InternalServerError"];
|
7758
|
+
};
|
7759
|
+
requestBody: {
|
7760
|
+
content: {
|
7761
|
+
"application/json": {
|
7762
|
+
/**
|
7763
|
+
* Format: uuid
|
7764
|
+
* @description The ID of the entry to delete
|
7765
|
+
*/
|
7766
|
+
entryId: string;
|
7767
|
+
/**
|
7768
|
+
* Format: uuid
|
7769
|
+
* @description The ID of the project the entry to delete belongs to
|
7770
|
+
*/
|
7771
|
+
projectId: string;
|
7772
|
+
/** @description The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
|
7773
|
+
state?: number;
|
7774
|
+
};
|
7775
|
+
};
|
7776
|
+
};
|
7777
|
+
};
|
7778
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
7779
|
+
options: {
|
7780
|
+
responses: {
|
7781
|
+
/** OK */
|
7782
|
+
204: never;
|
7783
|
+
};
|
7784
|
+
};
|
7785
|
+
};
|
7786
|
+
};
|
7787
|
+
components: {
|
7788
|
+
schemas: {
|
7789
|
+
/** @description Defines the shape of the entry */
|
7790
|
+
Entry: {
|
7791
|
+
/** @description Content type of the entry. */
|
7792
|
+
type: string;
|
7793
|
+
/**
|
7794
|
+
* Format: uuid
|
7795
|
+
* @description The public UUID of the entry.
|
7796
|
+
*/
|
7797
|
+
_id: string;
|
7798
|
+
/** @description The name of the entry. */
|
7799
|
+
_name?: string;
|
7800
|
+
/** @description The slug of the entry, automatically generated. */
|
7801
|
+
_slug?: string;
|
7802
|
+
/** @description Name of the author of the most recent change. */
|
7803
|
+
_author?: string;
|
7804
|
+
/** @description Entry field values. */
|
7805
|
+
fields?: {
|
7806
|
+
[key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
7807
|
+
};
|
7808
|
+
_dataResources?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
7809
|
+
};
|
7810
|
+
/** @description Defines the shape of the entry input */
|
7811
|
+
EntryInput: {
|
7812
|
+
/** @description Content type of the entry. */
|
7813
|
+
type: string;
|
7814
|
+
/**
|
7815
|
+
* Format: uuid
|
7816
|
+
* @description The public UUID of the entry.
|
7817
|
+
*/
|
7818
|
+
_id?: string;
|
7819
|
+
/** @description Entry field values. */
|
7820
|
+
fields?: {
|
7821
|
+
[key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
7822
|
+
};
|
7823
|
+
_dataResources?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
7824
|
+
};
|
7825
|
+
EntryApiResponse: {
|
7826
|
+
/** @description Publishing state to fetch. 0 = draft, 64 = published. */
|
7827
|
+
state: number;
|
7828
|
+
/**
|
7829
|
+
* @deprecated
|
7830
|
+
* @description UI status value. Subject to change without notice; do not rely on this value. Only present when `withUIStatus` option is true.
|
7831
|
+
* @enum {string}
|
7832
|
+
*/
|
7833
|
+
uiStatus?: "Draft" | "Modified" | "Published" | "Orphan" | "Previous";
|
7834
|
+
/**
|
7835
|
+
* Format: uuid
|
7836
|
+
* @description The project ID that this layout data is part of
|
7837
|
+
*/
|
7838
|
+
projectId: string;
|
7839
|
+
/**
|
7840
|
+
* Format: date-time,
|
7841
|
+
* @description Created date string for this definition
|
7842
|
+
*/
|
7843
|
+
created: string;
|
7844
|
+
/**
|
7845
|
+
* Format: date-time,
|
7846
|
+
* @description Modified date string for this definition
|
7847
|
+
*/
|
7848
|
+
modified: string;
|
7849
|
+
entry: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["Entry"];
|
7850
|
+
};
|
7851
|
+
EntryListResponse: {
|
7852
|
+
entries: external$3["../../../lambda/functions/v1-entries.swagger.yml"]["components"]["schemas"]["EntryApiResponse"][];
|
7853
|
+
/** @description Total number of entries that match the query. Only present when `withTotalCount` option is true. */
|
7854
|
+
totalCount?: number;
|
7855
|
+
};
|
7856
|
+
};
|
7857
|
+
parameters: {
|
7858
|
+
/** @description The project the entry/entries are on. */
|
7859
|
+
projectId: string;
|
7860
|
+
/** @description Specify multiple entry IDs to fetch. */
|
7861
|
+
entryIDs: string[];
|
7862
|
+
/** @description Specify a single entry to fetch by slug. */
|
7863
|
+
slug: string;
|
7864
|
+
/** @description The content type ID to filter by. */
|
7865
|
+
type: string[];
|
7866
|
+
/** @description Publishing state to fetch. 0 = draft, 64 = published. */
|
7867
|
+
state: number;
|
7868
|
+
/** @description Number of records to skip */
|
7869
|
+
offset: number;
|
7870
|
+
/** @description Max number of records to return */
|
7871
|
+
limit: number;
|
7872
|
+
/** @description Sets the sorting of the results. If unspecified, results are sorted by name ascending. */
|
7873
|
+
orderBy: ("updated_at_DESC" | "updated_at_ASC" | "created_at_DESC" | "created_at_ASC" | "name_DESC" | "name_ASC")[];
|
7874
|
+
/**
|
7875
|
+
* @deprecated
|
7876
|
+
* @description Returns the UI status string of the entry.
|
7877
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7878
|
+
*/
|
7879
|
+
withUIStatus: boolean;
|
7880
|
+
/**
|
7881
|
+
* @deprecated
|
7882
|
+
* @description Filters entries lists by the UI status of the entry.
|
7883
|
+
* This internal status is subject to change without notice, and is thus marked deprecated to discourage use of internal data.
|
7884
|
+
*/
|
7885
|
+
uiStatus: ("Draft" | "Modified" | "Published" | "Orphan")[];
|
7886
|
+
/** @description Filters entry lists by the user who created them. The user is specified by their identity subject. */
|
7887
|
+
createdBy: string;
|
7888
|
+
/** @description Filters entry lists by the user who last updated them. The user is specified by their identity subject. */
|
7889
|
+
updatedBy: string;
|
7890
|
+
/**
|
7891
|
+
* @description Controls whether the total count of results will be returned along with the current results page in a list.
|
7892
|
+
* Has no effect when not fetching a list. This does impact performance when enabled.
|
7893
|
+
*/
|
7894
|
+
withTotalCount: boolean;
|
7895
|
+
};
|
7896
|
+
};
|
7897
|
+
operations: {};
|
7898
|
+
};
|
7638
7899
|
"../../../lambda/functions/v1-redirect.swagger.yml": {
|
7639
7900
|
paths: {
|
7640
7901
|
"/api/v1/redirect": {
|
@@ -9480,21 +9741,25 @@ type DataResolutionParameters = {
|
|
9480
9741
|
diagnostics?: boolean;
|
9481
9742
|
};
|
9482
9743
|
/** Types of issue that can occur when fetching composition data */
|
9483
|
-
type
|
9484
|
-
|
9744
|
+
type DataResolutionIssue = PatternIssue | DataResourceIssue | DataElementBindingIssue | DynamicInputIssue | DataResolutionConfigIssue;
|
9745
|
+
/** @deprecated use DataResolutionIssue instead */
|
9746
|
+
type CompositionIssue = DataResolutionIssue;
|
9747
|
+
type DataResolutionIssueCore = components$1['schemas']['DataResolutionIssue'];
|
9485
9748
|
/** An error that occured resolving a pattern that is referenced on the composition */
|
9486
|
-
type
|
9749
|
+
type PatternIssue = DataResolutionIssueCore & {
|
9487
9750
|
type: 'pattern';
|
9488
9751
|
code: NonNullable<ComponentInstance['_patternError']>;
|
9489
9752
|
};
|
9753
|
+
/** @deprecated use PatternIssue instead */
|
9754
|
+
type CompositionPatternIssue = PatternIssue;
|
9490
9755
|
/** An error while binding a dynamic token from a data resource to a component parameter (i.e. a missing property in the data resource) */
|
9491
|
-
type DataElementBindingIssue =
|
9756
|
+
type DataElementBindingIssue = DataResolutionIssueCore & {
|
9492
9757
|
type: 'binding';
|
9493
9758
|
parameterName: string;
|
9494
9759
|
expression?: DataElementConnectionDefinition;
|
9495
9760
|
};
|
9496
9761
|
/** An error that occurred fetching a data defined on the composition or a pattern within */
|
9497
|
-
type DataResourceIssue =
|
9762
|
+
type DataResourceIssue = DataResolutionIssueCore & {
|
9498
9763
|
type: 'data';
|
9499
9764
|
dataName: string;
|
9500
9765
|
dataType: string;
|
@@ -9503,7 +9768,7 @@ type DataResourceIssue = CompositionIssueCore & {
|
|
9503
9768
|
* An issue that occurred while binding dynamic inputs to composition data resources,
|
9504
9769
|
* specifically when an expected dynamic input did not have a value.
|
9505
9770
|
*/
|
9506
|
-
type DynamicInputIssue =
|
9771
|
+
type DynamicInputIssue = DataResolutionIssueCore & {
|
9507
9772
|
type: 'input';
|
9508
9773
|
};
|
9509
9774
|
/** Error in data resolution configuration (internal error) */
|
@@ -9512,9 +9777,13 @@ type DataResolutionConfigIssue = {
|
|
9512
9777
|
type: 'config';
|
9513
9778
|
};
|
9514
9779
|
/** Diagnostics about edge request processing */
|
9515
|
-
type
|
9780
|
+
type EdgehancersDiagnostics = components$1['schemas']['EdgehancersDiagnostics'];
|
9781
|
+
/** @deprecated use EdgehancersDiagnostics instead */
|
9782
|
+
type CompositionDiagnostics = EdgehancersDiagnostics;
|
9516
9783
|
/** Diagnostic data about the load performance of attached composition datas */
|
9517
|
-
type
|
9784
|
+
type DataDiagnostic = components$1['schemas']['DataDiagnostic'];
|
9785
|
+
/** @deprecated use DataDiagnostic instead */
|
9786
|
+
type CompositionDataDiagnostic = DataDiagnostic;
|
9518
9787
|
/** Response as it comes from uniform.global/api/v1/composition */
|
9519
9788
|
type CompositionResolvedGetResponse = components$1['schemas']['CompositionResolvedGetResponse'];
|
9520
9789
|
type CompositionResolvedListResponse = components$1['schemas']['CompositionResolvedListResponse'];
|
@@ -9530,6 +9799,7 @@ type RouteDynamicInputs = components['schemas']['RouteDynamicInputs'];
|
|
9530
9799
|
/** The GET response from /api/v1/entries */
|
9531
9800
|
type EntriesGetParameters = paths$8['/api/v1/entries']['get']['parameters']['query'] & DataResolutionParameters;
|
9532
9801
|
type EntriesGetResponse = components$4['schemas']['EntryListResponse'];
|
9802
|
+
type EntriesResolvedListResponse = components$1['schemas']['EntryResolvedListResponse'];
|
9533
9803
|
/** GET response from uniform.global/api/v1/route when result is a composition */
|
9534
9804
|
type RouteGetResponseEdgehancedComposition = Omit<RouteGetResponseComposition, 'compositionApiResponse'> & {
|
9535
9805
|
compositionApiResponse: CompositionResolvedGetResponse;
|
@@ -11017,4 +11287,4 @@ declare function parseVariableExpression(serialized: string, onToken?: (token: s
|
|
11017
11287
|
|
11018
11288
|
declare const CanvasClientError: typeof ApiClientError;
|
11019
11289
|
|
11020
|
-
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
11290
|
+
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataDiagnostic, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EdgehancersDiagnostics, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, EntriesResolvedListResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PatternIssue, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.53.1-alpha.41+27cb9eb2d",
|
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,7 +38,7 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/context": "19.53.1-alpha.41+27cb9eb2d",
|
42
42
|
"immer": "9.0.21"
|
43
43
|
},
|
44
44
|
"files": [
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"publishConfig": {
|
48
48
|
"access": "public"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "27cb9eb2ddaae3cdb18163df96cf6e58440b700d"
|
51
51
|
}
|