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