@supernova-studio/model 0.9.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1927 -1203
- package/dist/index.d.ts +1927 -1203
- package/dist/index.js +239 -58
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +244 -63
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/codegen/export-jobs.ts +136 -21
- package/src/codegen/exporter.ts +12 -13
- package/src/codegen/pulsar.ts +39 -27
- package/src/dsm/design-system.ts +7 -5
- package/src/dsm/documentation/block-definitions/definition.ts +1 -1
- package/src/dsm/documentation/block-definitions/item.ts +86 -12
- package/src/dsm/elements/data/documentation-block-v1.ts +2 -0
- package/src/dsm/elements/data/documentation-block-v2.ts +20 -1
package/dist/index.mjs
CHANGED
|
@@ -879,7 +879,7 @@ function traversePageBlocksV1(blocks, action) {
|
|
|
879
879
|
// src/dsm/elements/data/documentation-block-v2.ts
|
|
880
880
|
import { z as z33 } from "zod";
|
|
881
881
|
var PageBlockLinkType = z33.enum(["DocumentationItem", "PageHeading", "Url"]);
|
|
882
|
-
var PageBlockImageType = z33.enum(["Upload", "Asset", "
|
|
882
|
+
var PageBlockImageType = z33.enum(["Upload", "Asset", "FigmaNode"]);
|
|
883
883
|
var PageBlockImageAlignment = z33.enum(["Left", "Center", "Stretch"]);
|
|
884
884
|
var PageBlockTableCellAlignment = z33.enum(["Left", "Center", "Right"]);
|
|
885
885
|
var PageBlockPreviewContainerSize = z33.enum(["Centered", "NaturalHeight"]);
|
|
@@ -978,6 +978,21 @@ var PageBlockItemEmbedValue = z33.object({
|
|
|
978
978
|
caption: z33.string().optional(),
|
|
979
979
|
height: z33.number().optional()
|
|
980
980
|
});
|
|
981
|
+
var PageBlockItemFigmaNodeValue = z33.object({
|
|
982
|
+
selectedPropertyIds: z33.array(z33.string()).optional(),
|
|
983
|
+
showSearch: z33.boolean().optional(),
|
|
984
|
+
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
985
|
+
backgroundColor: z33.string().optional(),
|
|
986
|
+
value: z33.array(
|
|
987
|
+
z33.object({
|
|
988
|
+
entityId: z33.string(),
|
|
989
|
+
entityMeta: z33.object({
|
|
990
|
+
title: z33.string().optional(),
|
|
991
|
+
description: z33.string().optional()
|
|
992
|
+
}).optional()
|
|
993
|
+
})
|
|
994
|
+
)
|
|
995
|
+
});
|
|
981
996
|
var PageBlockItemImageValue = z33.object({
|
|
982
997
|
alt: z33.string().optional(),
|
|
983
998
|
caption: z33.string().optional(),
|
|
@@ -2105,6 +2120,7 @@ var PageBlockDefinitionPropertyType = z85.enum([
|
|
|
2105
2120
|
"ComponentProperty",
|
|
2106
2121
|
"Asset",
|
|
2107
2122
|
"AssetProperty",
|
|
2123
|
+
"FigmaNode",
|
|
2108
2124
|
"EmbedURL",
|
|
2109
2125
|
"URL",
|
|
2110
2126
|
"Markdown",
|
|
@@ -2139,6 +2155,7 @@ var PageBlockDefinitionTextPropertyStyle = z85.enum([
|
|
|
2139
2155
|
"SmallBold",
|
|
2140
2156
|
"SmallSemibold"
|
|
2141
2157
|
]);
|
|
2158
|
+
var PageBlockDefinitionTextPropertyColor = z85.enum(["Neutral", "NeutralFaded"]);
|
|
2142
2159
|
var PageBlockDefinitionBooleanPropertyStyle = z85.enum(["SegmentedControl", "ToggleButton", "Checkbox"]);
|
|
2143
2160
|
var PageBlockDefinitionSingleSelectPropertyStyle = z85.enum([
|
|
2144
2161
|
"SegmentedControl",
|
|
@@ -2147,20 +2164,60 @@ var PageBlockDefinitionSingleSelectPropertyStyle = z85.enum([
|
|
|
2147
2164
|
"Checkbox"
|
|
2148
2165
|
]);
|
|
2149
2166
|
var PageBlockDefinitionMultiSelectPropertyStyle = z85.enum(["SegmentedControl", "Select", "Checkbox"]);
|
|
2150
|
-
var
|
|
2151
|
-
|
|
2152
|
-
|
|
2167
|
+
var PageBlockDefinitionImageAspectRatio = z85.enum(["Auto", "Square", "Landscape", "Portrait", "Wide"]);
|
|
2168
|
+
var PageBlockDefinitionImageWidth = z85.enum(["Full", "Icon", "Small", "Medium", "Large", "Poster"]);
|
|
2169
|
+
var PageBlockDefinitionSelectChoice = z85.object({
|
|
2170
|
+
value: z85.string(),
|
|
2171
|
+
name: z85.string(),
|
|
2172
|
+
icon: z85.string().optional()
|
|
2173
|
+
});
|
|
2174
|
+
var PageBlockDefinitionUntypedPropertyOptions = z85.record(z85.any());
|
|
2175
|
+
var PageBlockDefinitionRichTextOptions = z85.object({
|
|
2176
|
+
richTextStyle: PageBlockDefinitionRichTextPropertyStyle.optional()
|
|
2177
|
+
});
|
|
2178
|
+
var PageBlockDefinitionMutiRichTextOptions = z85.object({
|
|
2179
|
+
multiRichTextStyle: PageBlockDefinitionMultiRichTextPropertyStyle.optional()
|
|
2180
|
+
});
|
|
2181
|
+
var PageBlockDefinitionTextOptions = z85.object({
|
|
2182
|
+
placeholder: z85.string().optional(),
|
|
2183
|
+
defaultValue: z85.string().optional(),
|
|
2153
2184
|
textStyle: PageBlockDefinitionTextPropertyStyle.optional(),
|
|
2185
|
+
color: PageBlockDefinitionTextPropertyColor.optional()
|
|
2186
|
+
});
|
|
2187
|
+
var PageBlockDefinitionSelectOptions = z85.object({
|
|
2188
|
+
singleSelectStyle: PageBlockDefinitionSingleSelectPropertyStyle.optional(),
|
|
2189
|
+
defaultChoice: z85.string(),
|
|
2190
|
+
choices: z85.array(PageBlockDefinitionSelectChoice)
|
|
2191
|
+
});
|
|
2192
|
+
var PageBlockDefinitionImageOptions = z85.object({
|
|
2193
|
+
width: PageBlockDefinitionImageWidth.optional(),
|
|
2194
|
+
aspectRatio: PageBlockDefinitionImageAspectRatio.optional(),
|
|
2195
|
+
allowCaption: z85.boolean().optional(),
|
|
2196
|
+
recommendation: z85.string().optional()
|
|
2197
|
+
});
|
|
2198
|
+
var PageBlockDefinitionBooleanOptions = z85.object({
|
|
2199
|
+
defaultvalue: z85.boolean().optional(),
|
|
2200
|
+
booleanStyle: PageBlockDefinitionBooleanPropertyStyle.optional()
|
|
2201
|
+
});
|
|
2202
|
+
var PageBlockDefinitionNumberOptions = z85.object({
|
|
2203
|
+
defaultValue: z85.number(),
|
|
2204
|
+
min: z85.number().optional(),
|
|
2205
|
+
max: z85.number().optional(),
|
|
2206
|
+
step: z85.number().optional(),
|
|
2154
2207
|
placeholder: z85.string().optional()
|
|
2155
|
-
})
|
|
2208
|
+
});
|
|
2209
|
+
var PageBlockDefinitionComponentOptions = z85.object({
|
|
2210
|
+
renderLayoutAs: z85.enum(["List", "Table"]).optional(),
|
|
2211
|
+
allowPropertySelection: z85.boolean().optional()
|
|
2212
|
+
});
|
|
2156
2213
|
var PageBlockDefinitionProperty = z85.object({
|
|
2157
2214
|
id: z85.string(),
|
|
2158
2215
|
name: z85.string(),
|
|
2159
2216
|
type: PageBlockDefinitionPropertyType,
|
|
2160
2217
|
description: z85.string().optional(),
|
|
2161
2218
|
// TODO Docs
|
|
2162
|
-
options:
|
|
2163
|
-
variantOptions: z85.record(
|
|
2219
|
+
options: PageBlockDefinitionUntypedPropertyOptions.optional(),
|
|
2220
|
+
variantOptions: z85.record(PageBlockDefinitionUntypedPropertyOptions).optional()
|
|
2164
2221
|
});
|
|
2165
2222
|
var PageBlockDefinitionItem = z85.object({
|
|
2166
2223
|
properties: z85.array(PageBlockDefinitionProperty),
|
|
@@ -2184,7 +2241,7 @@ var PageBlockCategory = z86.enum([
|
|
|
2184
2241
|
"Data",
|
|
2185
2242
|
"Other"
|
|
2186
2243
|
]);
|
|
2187
|
-
var PageBlockBehaviorDataType = z86.enum(["Item", "Token", "Asset", "Component", "
|
|
2244
|
+
var PageBlockBehaviorDataType = z86.enum(["Item", "Token", "Asset", "Component", "FigmaNode"]);
|
|
2188
2245
|
var PageBlockBehaviorSelectionType = z86.enum(["Entity", "Group", "EntityAndGroup"]);
|
|
2189
2246
|
var PageBlockDefinitionBehavior = z86.object({
|
|
2190
2247
|
dataType: PageBlockBehaviorDataType,
|
|
@@ -2423,22 +2480,22 @@ var UpdateMembershipRolesInput = z97.object({
|
|
|
2423
2480
|
// src/dsm/design-system.ts
|
|
2424
2481
|
var DesignSystemSwitcher = z98.object({
|
|
2425
2482
|
isEnabled: z98.boolean(),
|
|
2426
|
-
designSystemIds: z98.string()
|
|
2483
|
+
designSystemIds: z98.array(z98.string())
|
|
2427
2484
|
});
|
|
2428
2485
|
var DesignSystem = z98.object({
|
|
2429
2486
|
id: z98.string(),
|
|
2430
2487
|
workspaceId: z98.string(),
|
|
2431
2488
|
name: z98.string(),
|
|
2432
2489
|
description: z98.string(),
|
|
2433
|
-
docExporterId: z98.string()
|
|
2490
|
+
docExporterId: nullishToOptional(z98.string()),
|
|
2434
2491
|
docSlug: z98.string(),
|
|
2435
|
-
docUserSlug: z98.string()
|
|
2492
|
+
docUserSlug: nullishToOptional(z98.string()),
|
|
2436
2493
|
docSlugDeprecated: z98.string(),
|
|
2437
2494
|
isPublic: z98.boolean(),
|
|
2438
2495
|
isMultibrand: z98.boolean(),
|
|
2439
|
-
docViewUrl: z98.string()
|
|
2496
|
+
docViewUrl: nullishToOptional(z98.string()),
|
|
2440
2497
|
basePrefixes: z98.array(z98.string()),
|
|
2441
|
-
designSystemSwitcher: DesignSystemSwitcher
|
|
2498
|
+
designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
|
|
2442
2499
|
createdAt: z98.date(),
|
|
2443
2500
|
updatedAt: z98.date()
|
|
2444
2501
|
});
|
|
@@ -2521,25 +2578,120 @@ var PublishedDoc = z101.object({
|
|
|
2521
2578
|
|
|
2522
2579
|
// src/codegen/export-jobs.ts
|
|
2523
2580
|
import { z as z102 } from "zod";
|
|
2524
|
-
var
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
z102.
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2581
|
+
var ExporterJobDestination = z102.enum(["s3", "webhookUrl", "github", "documentation", "azure", "gitlab"]);
|
|
2582
|
+
var ExporterJobStatus = z102.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
2583
|
+
var ExporterJobLogEntryType = z102.enum(["success", "info", "warning", "error", "user"]);
|
|
2584
|
+
var ExporterJobLogEntry = z102.object({
|
|
2585
|
+
id: z102.string().optional(),
|
|
2586
|
+
time: z102.coerce.date(),
|
|
2587
|
+
type: ExporterJobLogEntryType,
|
|
2588
|
+
message: z102.string()
|
|
2589
|
+
});
|
|
2590
|
+
var ExporterJobResultPullRequestDestination = z102.object({
|
|
2591
|
+
pullRequestUrl: z102.string()
|
|
2592
|
+
});
|
|
2593
|
+
var ExporterJobResultS3Destination = z102.object({
|
|
2594
|
+
bucket: z102.string(),
|
|
2595
|
+
urlPrefix: z102.string().optional(),
|
|
2596
|
+
path: z102.string(),
|
|
2597
|
+
files: z102.array(z102.string())
|
|
2598
|
+
});
|
|
2599
|
+
var ExporterJobResultDocsDestination = z102.object({
|
|
2600
|
+
url: z102.string()
|
|
2601
|
+
});
|
|
2602
|
+
var ExporterJobResult = z102.object({
|
|
2603
|
+
error: z102.string().optional(),
|
|
2604
|
+
logs: z102.array(ExporterJobLogEntry).optional(),
|
|
2605
|
+
s3: ExporterJobResultS3Destination.optional(),
|
|
2606
|
+
github: ExporterJobResultPullRequestDestination.optional(),
|
|
2607
|
+
azure: ExporterJobResultPullRequestDestination.optional(),
|
|
2608
|
+
gitlab: ExporterJobResultPullRequestDestination.optional(),
|
|
2609
|
+
bitbucket: ExporterJobResultPullRequestDestination.optional(),
|
|
2610
|
+
sndocs: ExporterJobResultDocsDestination.optional()
|
|
2611
|
+
});
|
|
2612
|
+
var ExporterDestinationSnDocs = z102.object({
|
|
2613
|
+
environment: PublishedDocEnvironment
|
|
2614
|
+
});
|
|
2615
|
+
var ExporterDestinationS3 = z102.object({});
|
|
2616
|
+
var ExporterDestinationGithub = z102.object({
|
|
2617
|
+
connectionId: z102.string(),
|
|
2618
|
+
url: z102.string(),
|
|
2619
|
+
branch: z102.string(),
|
|
2620
|
+
relativePath: z102.string(),
|
|
2621
|
+
// +
|
|
2622
|
+
userId: z102.coerce.string()
|
|
2623
|
+
});
|
|
2624
|
+
var ExporterDestinationAzure = z102.object({
|
|
2625
|
+
connectionId: z102.string(),
|
|
2626
|
+
organizationId: z102.string(),
|
|
2627
|
+
projectId: z102.string(),
|
|
2628
|
+
repositoryId: z102.string(),
|
|
2629
|
+
branch: z102.string(),
|
|
2630
|
+
relativePath: z102.string(),
|
|
2631
|
+
// +
|
|
2632
|
+
userId: z102.coerce.string(),
|
|
2633
|
+
url: z102.string()
|
|
2634
|
+
});
|
|
2635
|
+
var ExporterDestinationGitlab = z102.object({
|
|
2636
|
+
connectionId: z102.string(),
|
|
2637
|
+
projectId: z102.string(),
|
|
2638
|
+
branch: z102.string(),
|
|
2639
|
+
relativePath: z102.string(),
|
|
2640
|
+
// +
|
|
2641
|
+
userId: z102.coerce.string(),
|
|
2642
|
+
url: z102.string()
|
|
2643
|
+
});
|
|
2644
|
+
var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
|
|
2645
|
+
var BITBUCKET_MAX_LENGTH = 64;
|
|
2646
|
+
var ExporterDestinationBitbucket = z102.object({
|
|
2647
|
+
connectionId: z102.string(),
|
|
2648
|
+
workspaceSlug: z102.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
2649
|
+
projectKey: z102.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
2650
|
+
repoSlug: z102.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
2651
|
+
branch: z102.string(),
|
|
2652
|
+
relativePath: z102.string(),
|
|
2653
|
+
// +
|
|
2654
|
+
userId: z102.coerce.string(),
|
|
2655
|
+
url: z102.string()
|
|
2656
|
+
});
|
|
2657
|
+
var ExporterJob = z102.object({
|
|
2658
|
+
id: z102.coerce.string(),
|
|
2659
|
+
createdAt: z102.coerce.date(),
|
|
2660
|
+
finishedAt: z102.coerce.date().optional(),
|
|
2661
|
+
designSystemId: z102.coerce.string(),
|
|
2662
|
+
designSystemVersionId: z102.coerce.string(),
|
|
2663
|
+
workspaceId: z102.coerce.string(),
|
|
2664
|
+
scheduleId: z102.coerce.string().nullish(),
|
|
2665
|
+
exporterId: z102.coerce.string(),
|
|
2666
|
+
brandId: z102.coerce.string().optional(),
|
|
2667
|
+
themeId: z102.coerce.string().optional(),
|
|
2668
|
+
estimatedExecutionTime: z102.number().optional(),
|
|
2669
|
+
status: ExporterJobStatus,
|
|
2670
|
+
result: ExporterJobResult.optional(),
|
|
2671
|
+
createdByUserId: z102.string().optional(),
|
|
2672
|
+
// CodegenDestinationsModel
|
|
2673
|
+
webhookUrl: z102.string().optional(),
|
|
2674
|
+
destinationSnDocs: ExporterDestinationSnDocs.optional(),
|
|
2675
|
+
destinationS3: ExporterDestinationS3.optional(),
|
|
2676
|
+
destinationGithub: ExporterDestinationGithub.optional(),
|
|
2677
|
+
destinationAzure: ExporterDestinationAzure.optional(),
|
|
2678
|
+
destinationGitlab: ExporterDestinationGitlab.optional(),
|
|
2679
|
+
destinationBitbucket: ExporterDestinationBitbucket.optional()
|
|
2680
|
+
});
|
|
2681
|
+
var ExporterJobFindByFilter = ExporterJob.pick({
|
|
2682
|
+
exporterId: true,
|
|
2683
|
+
designSystemVersionId: true,
|
|
2684
|
+
destinations: true,
|
|
2685
|
+
createdByUserId: true,
|
|
2686
|
+
status: true,
|
|
2687
|
+
scheduleId: true,
|
|
2688
|
+
designSystemId: true,
|
|
2689
|
+
themeId: true,
|
|
2690
|
+
brandId: true
|
|
2691
|
+
}).extend({
|
|
2692
|
+
destinations: z102.array(ExporterJobDestination),
|
|
2693
|
+
docsEnvironment: PublishedDocEnvironment
|
|
2694
|
+
}).partial();
|
|
2543
2695
|
|
|
2544
2696
|
// src/codegen/exporter-workspace-membership-role.ts
|
|
2545
2697
|
import { z as z103 } from "zod";
|
|
@@ -2570,13 +2722,6 @@ var GitProvider = z105.nativeEnum(GitProviderNames);
|
|
|
2570
2722
|
|
|
2571
2723
|
// src/codegen/pulsar.ts
|
|
2572
2724
|
import { z as z106 } from "zod";
|
|
2573
|
-
var PulsarContributionVariant = z106.object({
|
|
2574
|
-
key: z106.string(),
|
|
2575
|
-
name: z106.string(),
|
|
2576
|
-
isDefault: z106.boolean().optional(),
|
|
2577
|
-
description: z106.string().optional(),
|
|
2578
|
-
thumbnailURL: z106.string().optional()
|
|
2579
|
-
});
|
|
2580
2725
|
var PulsarPropertyType = z106.enum([
|
|
2581
2726
|
"string",
|
|
2582
2727
|
"number",
|
|
@@ -2590,49 +2735,58 @@ var PulsarPropertyType = z106.enum([
|
|
|
2590
2735
|
"tokenProperties",
|
|
2591
2736
|
"tokenType"
|
|
2592
2737
|
]);
|
|
2593
|
-
var
|
|
2738
|
+
var PulsarBaseProperty = z106.object({
|
|
2594
2739
|
label: z106.string(),
|
|
2595
2740
|
key: z106.string(),
|
|
2596
|
-
description: z106.string().
|
|
2741
|
+
description: z106.string().nullish(),
|
|
2597
2742
|
type: PulsarPropertyType,
|
|
2598
|
-
values: z106.array(z106.string()).
|
|
2743
|
+
values: z106.array(z106.string()).nullish(),
|
|
2599
2744
|
default: z106.union([z106.string(), z106.boolean(), z106.number()]).nullish(),
|
|
2600
2745
|
// PulsarPropertyValueType //is optional?
|
|
2601
2746
|
inputType: z106.enum(["code", "plain"]).optional(),
|
|
2602
2747
|
//is optional?
|
|
2603
|
-
isMultiline: z106.boolean().
|
|
2748
|
+
isMultiline: z106.boolean().nullish()
|
|
2604
2749
|
});
|
|
2605
|
-
var
|
|
2750
|
+
var PulsarContributionConfigurationProperty = PulsarBaseProperty.extend({
|
|
2751
|
+
category: z106.string()
|
|
2752
|
+
});
|
|
2753
|
+
var PulsarContributionVariant = z106.object({
|
|
2754
|
+
key: z106.string(),
|
|
2755
|
+
name: z106.string(),
|
|
2756
|
+
isDefault: z106.boolean().nullish(),
|
|
2757
|
+
description: z106.string().nullish(),
|
|
2758
|
+
thumbnailURL: z106.string().nullish()
|
|
2759
|
+
});
|
|
2760
|
+
var PulsarCustomBlock = z106.object({
|
|
2606
2761
|
title: z106.string(),
|
|
2607
2762
|
key: z106.string(),
|
|
2608
2763
|
category: z106.string(),
|
|
2609
|
-
description: z106.string()
|
|
2764
|
+
description: nullishToOptional(z106.string()),
|
|
2610
2765
|
iconURL: z106.string(),
|
|
2611
2766
|
mode: z106.enum(["array", "block"]),
|
|
2612
|
-
properties: z106.array(
|
|
2767
|
+
properties: z106.array(PulsarBaseProperty)
|
|
2613
2768
|
});
|
|
2614
|
-
var PulsarContributionConfigurationProperty = BasePulsarProperty.extend({ category: z106.string() });
|
|
2615
2769
|
|
|
2616
2770
|
// src/codegen/exporter.ts
|
|
2617
2771
|
var ExporterType = z107.enum(["code", "documentation"]);
|
|
2618
2772
|
var ExporterSource = z107.enum(["git", "upload"]);
|
|
2619
2773
|
var ExporterTag = z107.string().regex(/^[0-9a-zA-Z]+(\s[0-9a-zA-Z]+)*$/);
|
|
2620
2774
|
var ExporterDetails = z107.object({
|
|
2621
|
-
packageId: z107.string().max(255),
|
|
2622
|
-
version: z107.string(),
|
|
2623
2775
|
description: z107.string(),
|
|
2776
|
+
version: z107.string(),
|
|
2777
|
+
routingVersion: nullishToOptional(z107.string()),
|
|
2624
2778
|
author: nullishToOptional(z107.string()),
|
|
2625
2779
|
organization: nullishToOptional(z107.string()),
|
|
2626
2780
|
homepage: nullishToOptional(z107.string()),
|
|
2627
2781
|
readme: nullishToOptional(z107.string()),
|
|
2628
|
-
tags: z107.array(ExporterTag).default([]),
|
|
2629
|
-
|
|
2782
|
+
tags: nullishToOptional(z107.array(ExporterTag)).default([]),
|
|
2783
|
+
packageId: nullishToOptional(z107.string().max(255)),
|
|
2630
2784
|
iconURL: nullishToOptional(z107.string()),
|
|
2631
|
-
configurationProperties: z107.array(PulsarContributionConfigurationProperty).default([]),
|
|
2632
|
-
customBlocks: z107.array(
|
|
2633
|
-
blockVariants: z107.record(z107.string(), z107.array(PulsarContributionVariant)).default({}),
|
|
2634
|
-
usesBrands: z107.boolean().default(false),
|
|
2635
|
-
usesThemes: z107.boolean().default(false),
|
|
2785
|
+
configurationProperties: nullishToOptional(z107.array(PulsarContributionConfigurationProperty)).default([]),
|
|
2786
|
+
customBlocks: nullishToOptional(z107.array(PulsarCustomBlock)).default([]),
|
|
2787
|
+
blockVariants: nullishToOptional(z107.record(z107.string(), z107.array(PulsarContributionVariant))).default({}),
|
|
2788
|
+
usesBrands: nullishToOptional(z107.boolean()).default(false),
|
|
2789
|
+
usesThemes: nullishToOptional(z107.boolean()).default(false),
|
|
2636
2790
|
source: ExporterSource,
|
|
2637
2791
|
gitProvider: nullishToOptional(GitProvider),
|
|
2638
2792
|
gitUrl: nullishToOptional(z107.string()),
|
|
@@ -2645,8 +2799,8 @@ var Exporter = z107.object({
|
|
|
2645
2799
|
name: z107.string(),
|
|
2646
2800
|
isPrivate: z107.boolean(),
|
|
2647
2801
|
details: ExporterDetails,
|
|
2648
|
-
exporterType: ExporterType.default("code"),
|
|
2649
|
-
storagePath: z107.string().default("")
|
|
2802
|
+
exporterType: nullishToOptional(ExporterType).default("code"),
|
|
2803
|
+
storagePath: nullishToOptional(z107.string()).default("")
|
|
2650
2804
|
});
|
|
2651
2805
|
|
|
2652
2806
|
// src/custom-domains/custom-domains.ts
|
|
@@ -2909,7 +3063,6 @@ export {
|
|
|
2909
3063
|
AssetType,
|
|
2910
3064
|
AssetValue,
|
|
2911
3065
|
AuthTokens,
|
|
2912
|
-
BasePulsarProperty,
|
|
2913
3066
|
BillingDetails,
|
|
2914
3067
|
BillingIntervalSchema,
|
|
2915
3068
|
BillingType,
|
|
@@ -3024,10 +3177,24 @@ export {
|
|
|
3024
3177
|
ElementPropertyType,
|
|
3025
3178
|
ElementPropertyValue,
|
|
3026
3179
|
Entity,
|
|
3027
|
-
ExportJob,
|
|
3028
|
-
ExportJobStatus,
|
|
3029
3180
|
Exporter,
|
|
3181
|
+
ExporterDestinationAzure,
|
|
3182
|
+
ExporterDestinationBitbucket,
|
|
3183
|
+
ExporterDestinationGithub,
|
|
3184
|
+
ExporterDestinationGitlab,
|
|
3185
|
+
ExporterDestinationS3,
|
|
3186
|
+
ExporterDestinationSnDocs,
|
|
3030
3187
|
ExporterDetails,
|
|
3188
|
+
ExporterJob,
|
|
3189
|
+
ExporterJobDestination,
|
|
3190
|
+
ExporterJobFindByFilter,
|
|
3191
|
+
ExporterJobLogEntry,
|
|
3192
|
+
ExporterJobLogEntryType,
|
|
3193
|
+
ExporterJobResult,
|
|
3194
|
+
ExporterJobResultDocsDestination,
|
|
3195
|
+
ExporterJobResultPullRequestDestination,
|
|
3196
|
+
ExporterJobResultS3Destination,
|
|
3197
|
+
ExporterJobStatus,
|
|
3031
3198
|
ExporterSource,
|
|
3032
3199
|
ExporterTag,
|
|
3033
3200
|
ExporterType,
|
|
@@ -3142,7 +3309,12 @@ export {
|
|
|
3142
3309
|
PageBlockDefinition,
|
|
3143
3310
|
PageBlockDefinitionAppearance,
|
|
3144
3311
|
PageBlockDefinitionBehavior,
|
|
3312
|
+
PageBlockDefinitionBooleanOptions,
|
|
3145
3313
|
PageBlockDefinitionBooleanPropertyStyle,
|
|
3314
|
+
PageBlockDefinitionComponentOptions,
|
|
3315
|
+
PageBlockDefinitionImageAspectRatio,
|
|
3316
|
+
PageBlockDefinitionImageOptions,
|
|
3317
|
+
PageBlockDefinitionImageWidth,
|
|
3146
3318
|
PageBlockDefinitionItem,
|
|
3147
3319
|
PageBlockDefinitionLayout,
|
|
3148
3320
|
PageBlockDefinitionLayoutAlign,
|
|
@@ -3152,13 +3324,20 @@ export {
|
|
|
3152
3324
|
PageBlockDefinitionLayoutType,
|
|
3153
3325
|
PageBlockDefinitionMultiRichTextPropertyStyle,
|
|
3154
3326
|
PageBlockDefinitionMultiSelectPropertyStyle,
|
|
3327
|
+
PageBlockDefinitionMutiRichTextOptions,
|
|
3328
|
+
PageBlockDefinitionNumberOptions,
|
|
3155
3329
|
PageBlockDefinitionOnboarding,
|
|
3156
3330
|
PageBlockDefinitionProperty,
|
|
3157
|
-
PageBlockDefinitionPropertyOptions,
|
|
3158
3331
|
PageBlockDefinitionPropertyType,
|
|
3332
|
+
PageBlockDefinitionRichTextOptions,
|
|
3159
3333
|
PageBlockDefinitionRichTextPropertyStyle,
|
|
3334
|
+
PageBlockDefinitionSelectChoice,
|
|
3335
|
+
PageBlockDefinitionSelectOptions,
|
|
3160
3336
|
PageBlockDefinitionSingleSelectPropertyStyle,
|
|
3337
|
+
PageBlockDefinitionTextOptions,
|
|
3338
|
+
PageBlockDefinitionTextPropertyColor,
|
|
3161
3339
|
PageBlockDefinitionTextPropertyStyle,
|
|
3340
|
+
PageBlockDefinitionUntypedPropertyOptions,
|
|
3162
3341
|
PageBlockDefinitionVariant,
|
|
3163
3342
|
PageBlockEditorModelV2,
|
|
3164
3343
|
PageBlockFigmaFrameProperties,
|
|
@@ -3175,6 +3354,7 @@ export {
|
|
|
3175
3354
|
PageBlockItemComponentValue,
|
|
3176
3355
|
PageBlockItemDividerValue,
|
|
3177
3356
|
PageBlockItemEmbedValue,
|
|
3357
|
+
PageBlockItemFigmaNodeValue,
|
|
3178
3358
|
PageBlockItemImageReference,
|
|
3179
3359
|
PageBlockItemImageValue,
|
|
3180
3360
|
PageBlockItemMarkdownValue,
|
|
@@ -3245,9 +3425,10 @@ export {
|
|
|
3245
3425
|
PublishedDocEnvironment,
|
|
3246
3426
|
PublishedDocRoutingVersion,
|
|
3247
3427
|
PublishedDocsChecksums,
|
|
3248
|
-
|
|
3428
|
+
PulsarBaseProperty,
|
|
3249
3429
|
PulsarContributionConfigurationProperty,
|
|
3250
3430
|
PulsarContributionVariant,
|
|
3431
|
+
PulsarCustomBlock,
|
|
3251
3432
|
PulsarPropertyType,
|
|
3252
3433
|
RoomType,
|
|
3253
3434
|
RoomTypeEnum,
|