@supernova-studio/model 0.12.0 → 0.13.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 +140 -26
- package/dist/index.d.ts +140 -26
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/documentation-block-v2.ts +4 -1
package/dist/index.d.mts
CHANGED
|
@@ -8740,16 +8740,40 @@ declare const PageBlockPreviewContainerSize: z.ZodEnum<["Centered", "NaturalHeig
|
|
|
8740
8740
|
type PageBlockPreviewContainerSize = z.infer<typeof PageBlockPreviewContainerSize>;
|
|
8741
8741
|
declare const PageBlockThemeDisplayMode: z.ZodEnum<["Split", "Override"]>;
|
|
8742
8742
|
type PageBlockThemeDisplayMode = z.infer<typeof PageBlockThemeDisplayMode>;
|
|
8743
|
-
declare const PageBlockColorV2: z.
|
|
8743
|
+
declare const PageBlockColorV2: z.ZodObject<{
|
|
8744
|
+
value: z.ZodString;
|
|
8745
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
8746
|
+
}, "strip", z.ZodTypeAny, {
|
|
8747
|
+
value: string;
|
|
8748
|
+
referencedTokenId?: string | undefined;
|
|
8749
|
+
}, {
|
|
8750
|
+
value: string;
|
|
8751
|
+
referencedTokenId?: string | undefined;
|
|
8752
|
+
}>;
|
|
8744
8753
|
type PageBlockColorV2 = z.infer<typeof PageBlockColorV2>;
|
|
8745
8754
|
declare const PageBlockAppearanceV2: z.ZodObject<{
|
|
8746
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
8755
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
8756
|
+
value: z.ZodString;
|
|
8757
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
8758
|
+
}, "strip", z.ZodTypeAny, {
|
|
8759
|
+
value: string;
|
|
8760
|
+
referencedTokenId?: string | undefined;
|
|
8761
|
+
}, {
|
|
8762
|
+
value: string;
|
|
8763
|
+
referencedTokenId?: string | undefined;
|
|
8764
|
+
}>>;
|
|
8747
8765
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
8748
8766
|
}, "strip", z.ZodTypeAny, {
|
|
8749
|
-
itemBackgroundColor?:
|
|
8767
|
+
itemBackgroundColor?: {
|
|
8768
|
+
value: string;
|
|
8769
|
+
referencedTokenId?: string | undefined;
|
|
8770
|
+
} | undefined;
|
|
8750
8771
|
numberOfColumns?: number | undefined;
|
|
8751
8772
|
}, {
|
|
8752
|
-
itemBackgroundColor?:
|
|
8773
|
+
itemBackgroundColor?: {
|
|
8774
|
+
value: string;
|
|
8775
|
+
referencedTokenId?: string | undefined;
|
|
8776
|
+
} | undefined;
|
|
8753
8777
|
numberOfColumns?: number | undefined;
|
|
8754
8778
|
}>;
|
|
8755
8779
|
type PageBlockAppearanceV2 = z.infer<typeof PageBlockAppearanceV2>;
|
|
@@ -8840,13 +8864,28 @@ declare const PageBlockDataV2: z.ZodObject<{
|
|
|
8840
8864
|
variantId: z.ZodOptional<z.ZodString>;
|
|
8841
8865
|
indentLevel: z.ZodNumber;
|
|
8842
8866
|
appearance: z.ZodOptional<z.ZodObject<{
|
|
8843
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
8867
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
8868
|
+
value: z.ZodString;
|
|
8869
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
8870
|
+
}, "strip", z.ZodTypeAny, {
|
|
8871
|
+
value: string;
|
|
8872
|
+
referencedTokenId?: string | undefined;
|
|
8873
|
+
}, {
|
|
8874
|
+
value: string;
|
|
8875
|
+
referencedTokenId?: string | undefined;
|
|
8876
|
+
}>>;
|
|
8844
8877
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
8845
8878
|
}, "strip", z.ZodTypeAny, {
|
|
8846
|
-
itemBackgroundColor?:
|
|
8879
|
+
itemBackgroundColor?: {
|
|
8880
|
+
value: string;
|
|
8881
|
+
referencedTokenId?: string | undefined;
|
|
8882
|
+
} | undefined;
|
|
8847
8883
|
numberOfColumns?: number | undefined;
|
|
8848
8884
|
}, {
|
|
8849
|
-
itemBackgroundColor?:
|
|
8885
|
+
itemBackgroundColor?: {
|
|
8886
|
+
value: string;
|
|
8887
|
+
referencedTokenId?: string | undefined;
|
|
8888
|
+
} | undefined;
|
|
8850
8889
|
numberOfColumns?: number | undefined;
|
|
8851
8890
|
}>>;
|
|
8852
8891
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -8920,7 +8959,10 @@ declare const PageBlockDataV2: z.ZodObject<{
|
|
|
8920
8959
|
}[];
|
|
8921
8960
|
variantId?: string | undefined;
|
|
8922
8961
|
appearance?: {
|
|
8923
|
-
itemBackgroundColor?:
|
|
8962
|
+
itemBackgroundColor?: {
|
|
8963
|
+
value: string;
|
|
8964
|
+
referencedTokenId?: string | undefined;
|
|
8965
|
+
} | undefined;
|
|
8924
8966
|
numberOfColumns?: number | undefined;
|
|
8925
8967
|
} | undefined;
|
|
8926
8968
|
}, {
|
|
@@ -8941,7 +8983,10 @@ declare const PageBlockDataV2: z.ZodObject<{
|
|
|
8941
8983
|
}[];
|
|
8942
8984
|
variantId?: string | undefined;
|
|
8943
8985
|
appearance?: {
|
|
8944
|
-
itemBackgroundColor?:
|
|
8986
|
+
itemBackgroundColor?: {
|
|
8987
|
+
value: string;
|
|
8988
|
+
referencedTokenId?: string | undefined;
|
|
8989
|
+
} | undefined;
|
|
8945
8990
|
numberOfColumns?: number | undefined;
|
|
8946
8991
|
} | undefined;
|
|
8947
8992
|
}>;
|
|
@@ -9031,7 +9076,16 @@ declare const PageBlockItemAssetValue: z.ZodObject<{
|
|
|
9031
9076
|
selectedPropertyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9032
9077
|
showSearch: z.ZodOptional<z.ZodBoolean>;
|
|
9033
9078
|
previewContainerSize: z.ZodOptional<z.ZodEnum<["Centered", "NaturalHeight"]>>;
|
|
9034
|
-
backgroundColor: z.ZodOptional<z.
|
|
9079
|
+
backgroundColor: z.ZodOptional<z.ZodObject<{
|
|
9080
|
+
value: z.ZodString;
|
|
9081
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
9082
|
+
}, "strip", z.ZodTypeAny, {
|
|
9083
|
+
value: string;
|
|
9084
|
+
referencedTokenId?: string | undefined;
|
|
9085
|
+
}, {
|
|
9086
|
+
value: string;
|
|
9087
|
+
referencedTokenId?: string | undefined;
|
|
9088
|
+
}>>;
|
|
9035
9089
|
value: z.ZodArray<z.ZodObject<{
|
|
9036
9090
|
entityId: z.ZodString;
|
|
9037
9091
|
entityType: z.ZodEnum<["Asset", "AssetGroup"]>;
|
|
@@ -9072,7 +9126,10 @@ declare const PageBlockItemAssetValue: z.ZodObject<{
|
|
|
9072
9126
|
selectedPropertyIds?: string[] | undefined;
|
|
9073
9127
|
showSearch?: boolean | undefined;
|
|
9074
9128
|
previewContainerSize?: "Centered" | "NaturalHeight" | undefined;
|
|
9075
|
-
backgroundColor?:
|
|
9129
|
+
backgroundColor?: {
|
|
9130
|
+
value: string;
|
|
9131
|
+
referencedTokenId?: string | undefined;
|
|
9132
|
+
} | undefined;
|
|
9076
9133
|
}, {
|
|
9077
9134
|
value: {
|
|
9078
9135
|
entityId: string;
|
|
@@ -9085,7 +9142,10 @@ declare const PageBlockItemAssetValue: z.ZodObject<{
|
|
|
9085
9142
|
selectedPropertyIds?: string[] | undefined;
|
|
9086
9143
|
showSearch?: boolean | undefined;
|
|
9087
9144
|
previewContainerSize?: "Centered" | "NaturalHeight" | undefined;
|
|
9088
|
-
backgroundColor?:
|
|
9145
|
+
backgroundColor?: {
|
|
9146
|
+
value: string;
|
|
9147
|
+
referencedTokenId?: string | undefined;
|
|
9148
|
+
} | undefined;
|
|
9089
9149
|
}>;
|
|
9090
9150
|
type PageBlockItemAssetValue = z.infer<typeof PageBlockItemAssetValue>;
|
|
9091
9151
|
declare const PageBlockItemAssetPropertyValue: z.ZodObject<{
|
|
@@ -25057,13 +25117,28 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25057
25117
|
variantId: z.ZodOptional<z.ZodString>;
|
|
25058
25118
|
indentLevel: z.ZodNumber;
|
|
25059
25119
|
appearance: z.ZodOptional<z.ZodObject<{
|
|
25060
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
25120
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
25121
|
+
value: z.ZodString;
|
|
25122
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
25123
|
+
}, "strip", z.ZodTypeAny, {
|
|
25124
|
+
value: string;
|
|
25125
|
+
referencedTokenId?: string | undefined;
|
|
25126
|
+
}, {
|
|
25127
|
+
value: string;
|
|
25128
|
+
referencedTokenId?: string | undefined;
|
|
25129
|
+
}>>;
|
|
25061
25130
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
25062
25131
|
}, "strip", z.ZodTypeAny, {
|
|
25063
|
-
itemBackgroundColor?:
|
|
25132
|
+
itemBackgroundColor?: {
|
|
25133
|
+
value: string;
|
|
25134
|
+
referencedTokenId?: string | undefined;
|
|
25135
|
+
} | undefined;
|
|
25064
25136
|
numberOfColumns?: number | undefined;
|
|
25065
25137
|
}, {
|
|
25066
|
-
itemBackgroundColor?:
|
|
25138
|
+
itemBackgroundColor?: {
|
|
25139
|
+
value: string;
|
|
25140
|
+
referencedTokenId?: string | undefined;
|
|
25141
|
+
} | undefined;
|
|
25067
25142
|
numberOfColumns?: number | undefined;
|
|
25068
25143
|
}>>;
|
|
25069
25144
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -25137,7 +25212,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25137
25212
|
}[];
|
|
25138
25213
|
variantId?: string | undefined;
|
|
25139
25214
|
appearance?: {
|
|
25140
|
-
itemBackgroundColor?:
|
|
25215
|
+
itemBackgroundColor?: {
|
|
25216
|
+
value: string;
|
|
25217
|
+
referencedTokenId?: string | undefined;
|
|
25218
|
+
} | undefined;
|
|
25141
25219
|
numberOfColumns?: number | undefined;
|
|
25142
25220
|
} | undefined;
|
|
25143
25221
|
}, {
|
|
@@ -25158,7 +25236,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25158
25236
|
}[];
|
|
25159
25237
|
variantId?: string | undefined;
|
|
25160
25238
|
appearance?: {
|
|
25161
|
-
itemBackgroundColor?:
|
|
25239
|
+
itemBackgroundColor?: {
|
|
25240
|
+
value: string;
|
|
25241
|
+
referencedTokenId?: string | undefined;
|
|
25242
|
+
} | undefined;
|
|
25162
25243
|
numberOfColumns?: number | undefined;
|
|
25163
25244
|
} | undefined;
|
|
25164
25245
|
}>;
|
|
@@ -25186,7 +25267,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25186
25267
|
}[];
|
|
25187
25268
|
variantId?: string | undefined;
|
|
25188
25269
|
appearance?: {
|
|
25189
|
-
itemBackgroundColor?:
|
|
25270
|
+
itemBackgroundColor?: {
|
|
25271
|
+
value: string;
|
|
25272
|
+
referencedTokenId?: string | undefined;
|
|
25273
|
+
} | undefined;
|
|
25190
25274
|
numberOfColumns?: number | undefined;
|
|
25191
25275
|
} | undefined;
|
|
25192
25276
|
};
|
|
@@ -25220,7 +25304,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25220
25304
|
}[];
|
|
25221
25305
|
variantId?: string | undefined;
|
|
25222
25306
|
appearance?: {
|
|
25223
|
-
itemBackgroundColor?:
|
|
25307
|
+
itemBackgroundColor?: {
|
|
25308
|
+
value: string;
|
|
25309
|
+
referencedTokenId?: string | undefined;
|
|
25310
|
+
} | undefined;
|
|
25224
25311
|
numberOfColumns?: number | undefined;
|
|
25225
25312
|
} | undefined;
|
|
25226
25313
|
};
|
|
@@ -25239,13 +25326,28 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25239
25326
|
variantId: z.ZodOptional<z.ZodString>;
|
|
25240
25327
|
indentLevel: z.ZodNumber;
|
|
25241
25328
|
appearance: z.ZodOptional<z.ZodObject<{
|
|
25242
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
25329
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
25330
|
+
value: z.ZodString;
|
|
25331
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
25332
|
+
}, "strip", z.ZodTypeAny, {
|
|
25333
|
+
value: string;
|
|
25334
|
+
referencedTokenId?: string | undefined;
|
|
25335
|
+
}, {
|
|
25336
|
+
value: string;
|
|
25337
|
+
referencedTokenId?: string | undefined;
|
|
25338
|
+
}>>;
|
|
25243
25339
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
25244
25340
|
}, "strip", z.ZodTypeAny, {
|
|
25245
|
-
itemBackgroundColor?:
|
|
25341
|
+
itemBackgroundColor?: {
|
|
25342
|
+
value: string;
|
|
25343
|
+
referencedTokenId?: string | undefined;
|
|
25344
|
+
} | undefined;
|
|
25246
25345
|
numberOfColumns?: number | undefined;
|
|
25247
25346
|
}, {
|
|
25248
|
-
itemBackgroundColor?:
|
|
25347
|
+
itemBackgroundColor?: {
|
|
25348
|
+
value: string;
|
|
25349
|
+
referencedTokenId?: string | undefined;
|
|
25350
|
+
} | undefined;
|
|
25249
25351
|
numberOfColumns?: number | undefined;
|
|
25250
25352
|
}>>;
|
|
25251
25353
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -25319,7 +25421,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25319
25421
|
}[];
|
|
25320
25422
|
variantId?: string | undefined;
|
|
25321
25423
|
appearance?: {
|
|
25322
|
-
itemBackgroundColor?:
|
|
25424
|
+
itemBackgroundColor?: {
|
|
25425
|
+
value: string;
|
|
25426
|
+
referencedTokenId?: string | undefined;
|
|
25427
|
+
} | undefined;
|
|
25323
25428
|
numberOfColumns?: number | undefined;
|
|
25324
25429
|
} | undefined;
|
|
25325
25430
|
}, {
|
|
@@ -25340,7 +25445,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25340
25445
|
}[];
|
|
25341
25446
|
variantId?: string | undefined;
|
|
25342
25447
|
appearance?: {
|
|
25343
|
-
itemBackgroundColor?:
|
|
25448
|
+
itemBackgroundColor?: {
|
|
25449
|
+
value: string;
|
|
25450
|
+
referencedTokenId?: string | undefined;
|
|
25451
|
+
} | undefined;
|
|
25344
25452
|
numberOfColumns?: number | undefined;
|
|
25345
25453
|
} | undefined;
|
|
25346
25454
|
}>;
|
|
@@ -25364,7 +25472,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25364
25472
|
}[];
|
|
25365
25473
|
variantId?: string | undefined;
|
|
25366
25474
|
appearance?: {
|
|
25367
|
-
itemBackgroundColor?:
|
|
25475
|
+
itemBackgroundColor?: {
|
|
25476
|
+
value: string;
|
|
25477
|
+
referencedTokenId?: string | undefined;
|
|
25478
|
+
} | undefined;
|
|
25368
25479
|
numberOfColumns?: number | undefined;
|
|
25369
25480
|
} | undefined;
|
|
25370
25481
|
};
|
|
@@ -25388,7 +25499,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25388
25499
|
}[];
|
|
25389
25500
|
variantId?: string | undefined;
|
|
25390
25501
|
appearance?: {
|
|
25391
|
-
itemBackgroundColor?:
|
|
25502
|
+
itemBackgroundColor?: {
|
|
25503
|
+
value: string;
|
|
25504
|
+
referencedTokenId?: string | undefined;
|
|
25505
|
+
} | undefined;
|
|
25392
25506
|
numberOfColumns?: number | undefined;
|
|
25393
25507
|
} | undefined;
|
|
25394
25508
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -8740,16 +8740,40 @@ declare const PageBlockPreviewContainerSize: z.ZodEnum<["Centered", "NaturalHeig
|
|
|
8740
8740
|
type PageBlockPreviewContainerSize = z.infer<typeof PageBlockPreviewContainerSize>;
|
|
8741
8741
|
declare const PageBlockThemeDisplayMode: z.ZodEnum<["Split", "Override"]>;
|
|
8742
8742
|
type PageBlockThemeDisplayMode = z.infer<typeof PageBlockThemeDisplayMode>;
|
|
8743
|
-
declare const PageBlockColorV2: z.
|
|
8743
|
+
declare const PageBlockColorV2: z.ZodObject<{
|
|
8744
|
+
value: z.ZodString;
|
|
8745
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
8746
|
+
}, "strip", z.ZodTypeAny, {
|
|
8747
|
+
value: string;
|
|
8748
|
+
referencedTokenId?: string | undefined;
|
|
8749
|
+
}, {
|
|
8750
|
+
value: string;
|
|
8751
|
+
referencedTokenId?: string | undefined;
|
|
8752
|
+
}>;
|
|
8744
8753
|
type PageBlockColorV2 = z.infer<typeof PageBlockColorV2>;
|
|
8745
8754
|
declare const PageBlockAppearanceV2: z.ZodObject<{
|
|
8746
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
8755
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
8756
|
+
value: z.ZodString;
|
|
8757
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
8758
|
+
}, "strip", z.ZodTypeAny, {
|
|
8759
|
+
value: string;
|
|
8760
|
+
referencedTokenId?: string | undefined;
|
|
8761
|
+
}, {
|
|
8762
|
+
value: string;
|
|
8763
|
+
referencedTokenId?: string | undefined;
|
|
8764
|
+
}>>;
|
|
8747
8765
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
8748
8766
|
}, "strip", z.ZodTypeAny, {
|
|
8749
|
-
itemBackgroundColor?:
|
|
8767
|
+
itemBackgroundColor?: {
|
|
8768
|
+
value: string;
|
|
8769
|
+
referencedTokenId?: string | undefined;
|
|
8770
|
+
} | undefined;
|
|
8750
8771
|
numberOfColumns?: number | undefined;
|
|
8751
8772
|
}, {
|
|
8752
|
-
itemBackgroundColor?:
|
|
8773
|
+
itemBackgroundColor?: {
|
|
8774
|
+
value: string;
|
|
8775
|
+
referencedTokenId?: string | undefined;
|
|
8776
|
+
} | undefined;
|
|
8753
8777
|
numberOfColumns?: number | undefined;
|
|
8754
8778
|
}>;
|
|
8755
8779
|
type PageBlockAppearanceV2 = z.infer<typeof PageBlockAppearanceV2>;
|
|
@@ -8840,13 +8864,28 @@ declare const PageBlockDataV2: z.ZodObject<{
|
|
|
8840
8864
|
variantId: z.ZodOptional<z.ZodString>;
|
|
8841
8865
|
indentLevel: z.ZodNumber;
|
|
8842
8866
|
appearance: z.ZodOptional<z.ZodObject<{
|
|
8843
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
8867
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
8868
|
+
value: z.ZodString;
|
|
8869
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
8870
|
+
}, "strip", z.ZodTypeAny, {
|
|
8871
|
+
value: string;
|
|
8872
|
+
referencedTokenId?: string | undefined;
|
|
8873
|
+
}, {
|
|
8874
|
+
value: string;
|
|
8875
|
+
referencedTokenId?: string | undefined;
|
|
8876
|
+
}>>;
|
|
8844
8877
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
8845
8878
|
}, "strip", z.ZodTypeAny, {
|
|
8846
|
-
itemBackgroundColor?:
|
|
8879
|
+
itemBackgroundColor?: {
|
|
8880
|
+
value: string;
|
|
8881
|
+
referencedTokenId?: string | undefined;
|
|
8882
|
+
} | undefined;
|
|
8847
8883
|
numberOfColumns?: number | undefined;
|
|
8848
8884
|
}, {
|
|
8849
|
-
itemBackgroundColor?:
|
|
8885
|
+
itemBackgroundColor?: {
|
|
8886
|
+
value: string;
|
|
8887
|
+
referencedTokenId?: string | undefined;
|
|
8888
|
+
} | undefined;
|
|
8850
8889
|
numberOfColumns?: number | undefined;
|
|
8851
8890
|
}>>;
|
|
8852
8891
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -8920,7 +8959,10 @@ declare const PageBlockDataV2: z.ZodObject<{
|
|
|
8920
8959
|
}[];
|
|
8921
8960
|
variantId?: string | undefined;
|
|
8922
8961
|
appearance?: {
|
|
8923
|
-
itemBackgroundColor?:
|
|
8962
|
+
itemBackgroundColor?: {
|
|
8963
|
+
value: string;
|
|
8964
|
+
referencedTokenId?: string | undefined;
|
|
8965
|
+
} | undefined;
|
|
8924
8966
|
numberOfColumns?: number | undefined;
|
|
8925
8967
|
} | undefined;
|
|
8926
8968
|
}, {
|
|
@@ -8941,7 +8983,10 @@ declare const PageBlockDataV2: z.ZodObject<{
|
|
|
8941
8983
|
}[];
|
|
8942
8984
|
variantId?: string | undefined;
|
|
8943
8985
|
appearance?: {
|
|
8944
|
-
itemBackgroundColor?:
|
|
8986
|
+
itemBackgroundColor?: {
|
|
8987
|
+
value: string;
|
|
8988
|
+
referencedTokenId?: string | undefined;
|
|
8989
|
+
} | undefined;
|
|
8945
8990
|
numberOfColumns?: number | undefined;
|
|
8946
8991
|
} | undefined;
|
|
8947
8992
|
}>;
|
|
@@ -9031,7 +9076,16 @@ declare const PageBlockItemAssetValue: z.ZodObject<{
|
|
|
9031
9076
|
selectedPropertyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9032
9077
|
showSearch: z.ZodOptional<z.ZodBoolean>;
|
|
9033
9078
|
previewContainerSize: z.ZodOptional<z.ZodEnum<["Centered", "NaturalHeight"]>>;
|
|
9034
|
-
backgroundColor: z.ZodOptional<z.
|
|
9079
|
+
backgroundColor: z.ZodOptional<z.ZodObject<{
|
|
9080
|
+
value: z.ZodString;
|
|
9081
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
9082
|
+
}, "strip", z.ZodTypeAny, {
|
|
9083
|
+
value: string;
|
|
9084
|
+
referencedTokenId?: string | undefined;
|
|
9085
|
+
}, {
|
|
9086
|
+
value: string;
|
|
9087
|
+
referencedTokenId?: string | undefined;
|
|
9088
|
+
}>>;
|
|
9035
9089
|
value: z.ZodArray<z.ZodObject<{
|
|
9036
9090
|
entityId: z.ZodString;
|
|
9037
9091
|
entityType: z.ZodEnum<["Asset", "AssetGroup"]>;
|
|
@@ -9072,7 +9126,10 @@ declare const PageBlockItemAssetValue: z.ZodObject<{
|
|
|
9072
9126
|
selectedPropertyIds?: string[] | undefined;
|
|
9073
9127
|
showSearch?: boolean | undefined;
|
|
9074
9128
|
previewContainerSize?: "Centered" | "NaturalHeight" | undefined;
|
|
9075
|
-
backgroundColor?:
|
|
9129
|
+
backgroundColor?: {
|
|
9130
|
+
value: string;
|
|
9131
|
+
referencedTokenId?: string | undefined;
|
|
9132
|
+
} | undefined;
|
|
9076
9133
|
}, {
|
|
9077
9134
|
value: {
|
|
9078
9135
|
entityId: string;
|
|
@@ -9085,7 +9142,10 @@ declare const PageBlockItemAssetValue: z.ZodObject<{
|
|
|
9085
9142
|
selectedPropertyIds?: string[] | undefined;
|
|
9086
9143
|
showSearch?: boolean | undefined;
|
|
9087
9144
|
previewContainerSize?: "Centered" | "NaturalHeight" | undefined;
|
|
9088
|
-
backgroundColor?:
|
|
9145
|
+
backgroundColor?: {
|
|
9146
|
+
value: string;
|
|
9147
|
+
referencedTokenId?: string | undefined;
|
|
9148
|
+
} | undefined;
|
|
9089
9149
|
}>;
|
|
9090
9150
|
type PageBlockItemAssetValue = z.infer<typeof PageBlockItemAssetValue>;
|
|
9091
9151
|
declare const PageBlockItemAssetPropertyValue: z.ZodObject<{
|
|
@@ -25057,13 +25117,28 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25057
25117
|
variantId: z.ZodOptional<z.ZodString>;
|
|
25058
25118
|
indentLevel: z.ZodNumber;
|
|
25059
25119
|
appearance: z.ZodOptional<z.ZodObject<{
|
|
25060
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
25120
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
25121
|
+
value: z.ZodString;
|
|
25122
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
25123
|
+
}, "strip", z.ZodTypeAny, {
|
|
25124
|
+
value: string;
|
|
25125
|
+
referencedTokenId?: string | undefined;
|
|
25126
|
+
}, {
|
|
25127
|
+
value: string;
|
|
25128
|
+
referencedTokenId?: string | undefined;
|
|
25129
|
+
}>>;
|
|
25061
25130
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
25062
25131
|
}, "strip", z.ZodTypeAny, {
|
|
25063
|
-
itemBackgroundColor?:
|
|
25132
|
+
itemBackgroundColor?: {
|
|
25133
|
+
value: string;
|
|
25134
|
+
referencedTokenId?: string | undefined;
|
|
25135
|
+
} | undefined;
|
|
25064
25136
|
numberOfColumns?: number | undefined;
|
|
25065
25137
|
}, {
|
|
25066
|
-
itemBackgroundColor?:
|
|
25138
|
+
itemBackgroundColor?: {
|
|
25139
|
+
value: string;
|
|
25140
|
+
referencedTokenId?: string | undefined;
|
|
25141
|
+
} | undefined;
|
|
25067
25142
|
numberOfColumns?: number | undefined;
|
|
25068
25143
|
}>>;
|
|
25069
25144
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -25137,7 +25212,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25137
25212
|
}[];
|
|
25138
25213
|
variantId?: string | undefined;
|
|
25139
25214
|
appearance?: {
|
|
25140
|
-
itemBackgroundColor?:
|
|
25215
|
+
itemBackgroundColor?: {
|
|
25216
|
+
value: string;
|
|
25217
|
+
referencedTokenId?: string | undefined;
|
|
25218
|
+
} | undefined;
|
|
25141
25219
|
numberOfColumns?: number | undefined;
|
|
25142
25220
|
} | undefined;
|
|
25143
25221
|
}, {
|
|
@@ -25158,7 +25236,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25158
25236
|
}[];
|
|
25159
25237
|
variantId?: string | undefined;
|
|
25160
25238
|
appearance?: {
|
|
25161
|
-
itemBackgroundColor?:
|
|
25239
|
+
itemBackgroundColor?: {
|
|
25240
|
+
value: string;
|
|
25241
|
+
referencedTokenId?: string | undefined;
|
|
25242
|
+
} | undefined;
|
|
25162
25243
|
numberOfColumns?: number | undefined;
|
|
25163
25244
|
} | undefined;
|
|
25164
25245
|
}>;
|
|
@@ -25186,7 +25267,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25186
25267
|
}[];
|
|
25187
25268
|
variantId?: string | undefined;
|
|
25188
25269
|
appearance?: {
|
|
25189
|
-
itemBackgroundColor?:
|
|
25270
|
+
itemBackgroundColor?: {
|
|
25271
|
+
value: string;
|
|
25272
|
+
referencedTokenId?: string | undefined;
|
|
25273
|
+
} | undefined;
|
|
25190
25274
|
numberOfColumns?: number | undefined;
|
|
25191
25275
|
} | undefined;
|
|
25192
25276
|
};
|
|
@@ -25220,7 +25304,10 @@ declare const PageBlockV2: z.ZodObject<{
|
|
|
25220
25304
|
}[];
|
|
25221
25305
|
variantId?: string | undefined;
|
|
25222
25306
|
appearance?: {
|
|
25223
|
-
itemBackgroundColor?:
|
|
25307
|
+
itemBackgroundColor?: {
|
|
25308
|
+
value: string;
|
|
25309
|
+
referencedTokenId?: string | undefined;
|
|
25310
|
+
} | undefined;
|
|
25224
25311
|
numberOfColumns?: number | undefined;
|
|
25225
25312
|
} | undefined;
|
|
25226
25313
|
};
|
|
@@ -25239,13 +25326,28 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25239
25326
|
variantId: z.ZodOptional<z.ZodString>;
|
|
25240
25327
|
indentLevel: z.ZodNumber;
|
|
25241
25328
|
appearance: z.ZodOptional<z.ZodObject<{
|
|
25242
|
-
itemBackgroundColor: z.ZodOptional<z.
|
|
25329
|
+
itemBackgroundColor: z.ZodOptional<z.ZodObject<{
|
|
25330
|
+
value: z.ZodString;
|
|
25331
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
25332
|
+
}, "strip", z.ZodTypeAny, {
|
|
25333
|
+
value: string;
|
|
25334
|
+
referencedTokenId?: string | undefined;
|
|
25335
|
+
}, {
|
|
25336
|
+
value: string;
|
|
25337
|
+
referencedTokenId?: string | undefined;
|
|
25338
|
+
}>>;
|
|
25243
25339
|
numberOfColumns: z.ZodOptional<z.ZodNumber>;
|
|
25244
25340
|
}, "strip", z.ZodTypeAny, {
|
|
25245
|
-
itemBackgroundColor?:
|
|
25341
|
+
itemBackgroundColor?: {
|
|
25342
|
+
value: string;
|
|
25343
|
+
referencedTokenId?: string | undefined;
|
|
25344
|
+
} | undefined;
|
|
25246
25345
|
numberOfColumns?: number | undefined;
|
|
25247
25346
|
}, {
|
|
25248
|
-
itemBackgroundColor?:
|
|
25347
|
+
itemBackgroundColor?: {
|
|
25348
|
+
value: string;
|
|
25349
|
+
referencedTokenId?: string | undefined;
|
|
25350
|
+
} | undefined;
|
|
25249
25351
|
numberOfColumns?: number | undefined;
|
|
25250
25352
|
}>>;
|
|
25251
25353
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -25319,7 +25421,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25319
25421
|
}[];
|
|
25320
25422
|
variantId?: string | undefined;
|
|
25321
25423
|
appearance?: {
|
|
25322
|
-
itemBackgroundColor?:
|
|
25424
|
+
itemBackgroundColor?: {
|
|
25425
|
+
value: string;
|
|
25426
|
+
referencedTokenId?: string | undefined;
|
|
25427
|
+
} | undefined;
|
|
25323
25428
|
numberOfColumns?: number | undefined;
|
|
25324
25429
|
} | undefined;
|
|
25325
25430
|
}, {
|
|
@@ -25340,7 +25445,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25340
25445
|
}[];
|
|
25341
25446
|
variantId?: string | undefined;
|
|
25342
25447
|
appearance?: {
|
|
25343
|
-
itemBackgroundColor?:
|
|
25448
|
+
itemBackgroundColor?: {
|
|
25449
|
+
value: string;
|
|
25450
|
+
referencedTokenId?: string | undefined;
|
|
25451
|
+
} | undefined;
|
|
25344
25452
|
numberOfColumns?: number | undefined;
|
|
25345
25453
|
} | undefined;
|
|
25346
25454
|
}>;
|
|
@@ -25364,7 +25472,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25364
25472
|
}[];
|
|
25365
25473
|
variantId?: string | undefined;
|
|
25366
25474
|
appearance?: {
|
|
25367
|
-
itemBackgroundColor?:
|
|
25475
|
+
itemBackgroundColor?: {
|
|
25476
|
+
value: string;
|
|
25477
|
+
referencedTokenId?: string | undefined;
|
|
25478
|
+
} | undefined;
|
|
25368
25479
|
numberOfColumns?: number | undefined;
|
|
25369
25480
|
} | undefined;
|
|
25370
25481
|
};
|
|
@@ -25388,7 +25499,10 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
25388
25499
|
}[];
|
|
25389
25500
|
variantId?: string | undefined;
|
|
25390
25501
|
appearance?: {
|
|
25391
|
-
itemBackgroundColor?:
|
|
25502
|
+
itemBackgroundColor?: {
|
|
25503
|
+
value: string;
|
|
25504
|
+
referencedTokenId?: string | undefined;
|
|
25505
|
+
} | undefined;
|
|
25392
25506
|
numberOfColumns?: number | undefined;
|
|
25393
25507
|
} | undefined;
|
|
25394
25508
|
};
|
package/dist/index.js
CHANGED
|
@@ -884,7 +884,10 @@ var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
|
|
|
884
884
|
var PageBlockTableCellAlignment = _zod.z.enum(["Left", "Center", "Right"]);
|
|
885
885
|
var PageBlockPreviewContainerSize = _zod.z.enum(["Centered", "NaturalHeight"]);
|
|
886
886
|
var PageBlockThemeDisplayMode = _zod.z.enum(["Split", "Override"]);
|
|
887
|
-
var PageBlockColorV2 = _zod.z.
|
|
887
|
+
var PageBlockColorV2 = _zod.z.object({
|
|
888
|
+
value: _zod.z.string(),
|
|
889
|
+
referencedTokenId: _zod.z.string().optional()
|
|
890
|
+
});
|
|
888
891
|
var PageBlockAppearanceV2 = _zod.z.object({
|
|
889
892
|
itemBackgroundColor: PageBlockColorV2.optional(),
|
|
890
893
|
numberOfColumns: _zod.z.number().optional()
|