@supernova-studio/client 0.49.0 → 0.49.2
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 +25 -13
- package/dist/index.d.ts +25 -13
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/documentation/page-v2.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -16108,25 +16108,25 @@ declare const DTODocumentationPageApprovalStateChangeActionInput: z.ZodObject<{
|
|
|
16108
16108
|
type: z.ZodLiteral<"DocumentationPageApprovalStateChange">;
|
|
16109
16109
|
input: z.ZodObject<{
|
|
16110
16110
|
persistentId: z.ZodString;
|
|
16111
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
16111
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
16112
16112
|
}, "strip", z.ZodTypeAny, {
|
|
16113
16113
|
persistentId: string;
|
|
16114
|
-
approvalState
|
|
16114
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16115
16115
|
}, {
|
|
16116
16116
|
persistentId: string;
|
|
16117
|
-
approvalState
|
|
16117
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16118
16118
|
}>;
|
|
16119
16119
|
}, "strip", z.ZodTypeAny, {
|
|
16120
16120
|
type: "DocumentationPageApprovalStateChange";
|
|
16121
16121
|
input: {
|
|
16122
16122
|
persistentId: string;
|
|
16123
|
-
approvalState
|
|
16123
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16124
16124
|
};
|
|
16125
16125
|
}, {
|
|
16126
16126
|
type: "DocumentationPageApprovalStateChange";
|
|
16127
16127
|
input: {
|
|
16128
16128
|
persistentId: string;
|
|
16129
|
-
approvalState
|
|
16129
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16130
16130
|
};
|
|
16131
16131
|
}>;
|
|
16132
16132
|
declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
@@ -19531,6 +19531,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19531
19531
|
} | null | undefined;
|
|
19532
19532
|
} | null | undefined;
|
|
19533
19533
|
} | null | undefined;
|
|
19534
|
+
imageAlt?: string | null | undefined;
|
|
19535
|
+
imageCaption?: string | null | undefined;
|
|
19534
19536
|
}[] | null | undefined;
|
|
19535
19537
|
customBlockKey?: string | null | undefined;
|
|
19536
19538
|
customBlockProperties?: {
|
|
@@ -20094,6 +20096,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20094
20096
|
} | null | undefined;
|
|
20095
20097
|
} | null | undefined;
|
|
20096
20098
|
} | null | undefined;
|
|
20099
|
+
imageAlt?: string | null | undefined;
|
|
20100
|
+
imageCaption?: string | null | undefined;
|
|
20097
20101
|
}[] | null | undefined;
|
|
20098
20102
|
customBlockKey?: string | null | undefined;
|
|
20099
20103
|
customBlockProperties?: {
|
|
@@ -20881,6 +20885,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20881
20885
|
} | null | undefined;
|
|
20882
20886
|
} | null | undefined;
|
|
20883
20887
|
} | null | undefined;
|
|
20888
|
+
imageAlt?: string | null | undefined;
|
|
20889
|
+
imageCaption?: string | null | undefined;
|
|
20884
20890
|
}[] | null | undefined;
|
|
20885
20891
|
customBlockKey?: string | null | undefined;
|
|
20886
20892
|
customBlockProperties?: {
|
|
@@ -21097,6 +21103,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21097
21103
|
} | null | undefined;
|
|
21098
21104
|
} | null | undefined;
|
|
21099
21105
|
} | null | undefined;
|
|
21106
|
+
imageAlt?: string | null | undefined;
|
|
21107
|
+
imageCaption?: string | null | undefined;
|
|
21100
21108
|
}[] | null | undefined;
|
|
21101
21109
|
customBlockKey?: string | null | undefined;
|
|
21102
21110
|
customBlockProperties?: {
|
|
@@ -21431,6 +21439,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21431
21439
|
} | null | undefined;
|
|
21432
21440
|
} | null | undefined;
|
|
21433
21441
|
} | null | undefined;
|
|
21442
|
+
imageAlt?: string | null | undefined;
|
|
21443
|
+
imageCaption?: string | null | undefined;
|
|
21434
21444
|
}[] | null | undefined;
|
|
21435
21445
|
customBlockKey?: string | null | undefined;
|
|
21436
21446
|
customBlockProperties?: {
|
|
@@ -21647,6 +21657,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21647
21657
|
} | null | undefined;
|
|
21648
21658
|
} | null | undefined;
|
|
21649
21659
|
} | null | undefined;
|
|
21660
|
+
imageAlt?: string | null | undefined;
|
|
21661
|
+
imageCaption?: string | null | undefined;
|
|
21650
21662
|
}[] | null | undefined;
|
|
21651
21663
|
customBlockKey?: string | null | undefined;
|
|
21652
21664
|
customBlockProperties?: {
|
|
@@ -23144,13 +23156,13 @@ declare const DTORestoreDocumentationGroupInput: z.ZodObject<{
|
|
|
23144
23156
|
type DTORestoreDocumentationGroupInput = z.infer<typeof DTORestoreDocumentationGroupInput>;
|
|
23145
23157
|
declare const DTODocumentationPageApprovalStateChangeInput: z.ZodObject<{
|
|
23146
23158
|
persistentId: z.ZodString;
|
|
23147
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
23159
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
23148
23160
|
}, "strip", z.ZodTypeAny, {
|
|
23149
23161
|
persistentId: string;
|
|
23150
|
-
approvalState
|
|
23162
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23151
23163
|
}, {
|
|
23152
23164
|
persistentId: string;
|
|
23153
|
-
approvalState
|
|
23165
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23154
23166
|
}>;
|
|
23155
23167
|
type DTODocumentationPageApprovalStateChangeInput = z.infer<typeof DTODocumentationPageApprovalStateChangeInput>;
|
|
23156
23168
|
|
|
@@ -27332,25 +27344,25 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
27332
27344
|
type: z.ZodLiteral<"DocumentationPageApprovalStateChange">;
|
|
27333
27345
|
input: z.ZodObject<{
|
|
27334
27346
|
persistentId: z.ZodString;
|
|
27335
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
27347
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
27336
27348
|
}, "strip", z.ZodTypeAny, {
|
|
27337
27349
|
persistentId: string;
|
|
27338
|
-
approvalState
|
|
27350
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27339
27351
|
}, {
|
|
27340
27352
|
persistentId: string;
|
|
27341
|
-
approvalState
|
|
27353
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27342
27354
|
}>;
|
|
27343
27355
|
}, "strip", z.ZodTypeAny, {
|
|
27344
27356
|
type: "DocumentationPageApprovalStateChange";
|
|
27345
27357
|
input: {
|
|
27346
27358
|
persistentId: string;
|
|
27347
|
-
approvalState
|
|
27359
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27348
27360
|
};
|
|
27349
27361
|
}, {
|
|
27350
27362
|
type: "DocumentationPageApprovalStateChange";
|
|
27351
27363
|
input: {
|
|
27352
27364
|
persistentId: string;
|
|
27353
|
-
approvalState
|
|
27365
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27354
27366
|
};
|
|
27355
27367
|
}>]>;
|
|
27356
27368
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
package/dist/index.d.ts
CHANGED
|
@@ -16108,25 +16108,25 @@ declare const DTODocumentationPageApprovalStateChangeActionInput: z.ZodObject<{
|
|
|
16108
16108
|
type: z.ZodLiteral<"DocumentationPageApprovalStateChange">;
|
|
16109
16109
|
input: z.ZodObject<{
|
|
16110
16110
|
persistentId: z.ZodString;
|
|
16111
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
16111
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
16112
16112
|
}, "strip", z.ZodTypeAny, {
|
|
16113
16113
|
persistentId: string;
|
|
16114
|
-
approvalState
|
|
16114
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16115
16115
|
}, {
|
|
16116
16116
|
persistentId: string;
|
|
16117
|
-
approvalState
|
|
16117
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16118
16118
|
}>;
|
|
16119
16119
|
}, "strip", z.ZodTypeAny, {
|
|
16120
16120
|
type: "DocumentationPageApprovalStateChange";
|
|
16121
16121
|
input: {
|
|
16122
16122
|
persistentId: string;
|
|
16123
|
-
approvalState
|
|
16123
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16124
16124
|
};
|
|
16125
16125
|
}, {
|
|
16126
16126
|
type: "DocumentationPageApprovalStateChange";
|
|
16127
16127
|
input: {
|
|
16128
16128
|
persistentId: string;
|
|
16129
|
-
approvalState
|
|
16129
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
16130
16130
|
};
|
|
16131
16131
|
}>;
|
|
16132
16132
|
declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
@@ -19531,6 +19531,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19531
19531
|
} | null | undefined;
|
|
19532
19532
|
} | null | undefined;
|
|
19533
19533
|
} | null | undefined;
|
|
19534
|
+
imageAlt?: string | null | undefined;
|
|
19535
|
+
imageCaption?: string | null | undefined;
|
|
19534
19536
|
}[] | null | undefined;
|
|
19535
19537
|
customBlockKey?: string | null | undefined;
|
|
19536
19538
|
customBlockProperties?: {
|
|
@@ -20094,6 +20096,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20094
20096
|
} | null | undefined;
|
|
20095
20097
|
} | null | undefined;
|
|
20096
20098
|
} | null | undefined;
|
|
20099
|
+
imageAlt?: string | null | undefined;
|
|
20100
|
+
imageCaption?: string | null | undefined;
|
|
20097
20101
|
}[] | null | undefined;
|
|
20098
20102
|
customBlockKey?: string | null | undefined;
|
|
20099
20103
|
customBlockProperties?: {
|
|
@@ -20881,6 +20885,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20881
20885
|
} | null | undefined;
|
|
20882
20886
|
} | null | undefined;
|
|
20883
20887
|
} | null | undefined;
|
|
20888
|
+
imageAlt?: string | null | undefined;
|
|
20889
|
+
imageCaption?: string | null | undefined;
|
|
20884
20890
|
}[] | null | undefined;
|
|
20885
20891
|
customBlockKey?: string | null | undefined;
|
|
20886
20892
|
customBlockProperties?: {
|
|
@@ -21097,6 +21103,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21097
21103
|
} | null | undefined;
|
|
21098
21104
|
} | null | undefined;
|
|
21099
21105
|
} | null | undefined;
|
|
21106
|
+
imageAlt?: string | null | undefined;
|
|
21107
|
+
imageCaption?: string | null | undefined;
|
|
21100
21108
|
}[] | null | undefined;
|
|
21101
21109
|
customBlockKey?: string | null | undefined;
|
|
21102
21110
|
customBlockProperties?: {
|
|
@@ -21431,6 +21439,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21431
21439
|
} | null | undefined;
|
|
21432
21440
|
} | null | undefined;
|
|
21433
21441
|
} | null | undefined;
|
|
21442
|
+
imageAlt?: string | null | undefined;
|
|
21443
|
+
imageCaption?: string | null | undefined;
|
|
21434
21444
|
}[] | null | undefined;
|
|
21435
21445
|
customBlockKey?: string | null | undefined;
|
|
21436
21446
|
customBlockProperties?: {
|
|
@@ -21647,6 +21657,8 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21647
21657
|
} | null | undefined;
|
|
21648
21658
|
} | null | undefined;
|
|
21649
21659
|
} | null | undefined;
|
|
21660
|
+
imageAlt?: string | null | undefined;
|
|
21661
|
+
imageCaption?: string | null | undefined;
|
|
21650
21662
|
}[] | null | undefined;
|
|
21651
21663
|
customBlockKey?: string | null | undefined;
|
|
21652
21664
|
customBlockProperties?: {
|
|
@@ -23144,13 +23156,13 @@ declare const DTORestoreDocumentationGroupInput: z.ZodObject<{
|
|
|
23144
23156
|
type DTORestoreDocumentationGroupInput = z.infer<typeof DTORestoreDocumentationGroupInput>;
|
|
23145
23157
|
declare const DTODocumentationPageApprovalStateChangeInput: z.ZodObject<{
|
|
23146
23158
|
persistentId: z.ZodString;
|
|
23147
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
23159
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
23148
23160
|
}, "strip", z.ZodTypeAny, {
|
|
23149
23161
|
persistentId: string;
|
|
23150
|
-
approvalState
|
|
23162
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23151
23163
|
}, {
|
|
23152
23164
|
persistentId: string;
|
|
23153
|
-
approvalState
|
|
23165
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23154
23166
|
}>;
|
|
23155
23167
|
type DTODocumentationPageApprovalStateChangeInput = z.infer<typeof DTODocumentationPageApprovalStateChangeInput>;
|
|
23156
23168
|
|
|
@@ -27332,25 +27344,25 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
27332
27344
|
type: z.ZodLiteral<"DocumentationPageApprovalStateChange">;
|
|
27333
27345
|
input: z.ZodObject<{
|
|
27334
27346
|
persistentId: z.ZodString;
|
|
27335
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
27347
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
27336
27348
|
}, "strip", z.ZodTypeAny, {
|
|
27337
27349
|
persistentId: string;
|
|
27338
|
-
approvalState
|
|
27350
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27339
27351
|
}, {
|
|
27340
27352
|
persistentId: string;
|
|
27341
|
-
approvalState
|
|
27353
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27342
27354
|
}>;
|
|
27343
27355
|
}, "strip", z.ZodTypeAny, {
|
|
27344
27356
|
type: "DocumentationPageApprovalStateChange";
|
|
27345
27357
|
input: {
|
|
27346
27358
|
persistentId: string;
|
|
27347
|
-
approvalState
|
|
27359
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27348
27360
|
};
|
|
27349
27361
|
}, {
|
|
27350
27362
|
type: "DocumentationPageApprovalStateChange";
|
|
27351
27363
|
input: {
|
|
27352
27364
|
persistentId: string;
|
|
27353
|
-
approvalState
|
|
27365
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27354
27366
|
};
|
|
27355
27367
|
}>]>;
|
|
27356
27368
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
package/dist/index.js
CHANGED
|
@@ -1738,7 +1738,9 @@ var PageBlockText = _zod.z.object({
|
|
|
1738
1738
|
var PageBlockGuideline = _zod.z.object({
|
|
1739
1739
|
description: nullishToOptional(_zod.z.string()),
|
|
1740
1740
|
asset: nullishToOptional(PageBlockAsset),
|
|
1741
|
-
type: _zod.z.string()
|
|
1741
|
+
type: _zod.z.string(),
|
|
1742
|
+
imageAlt: nullishToOptional(_zod.z.string()),
|
|
1743
|
+
imageCaption: nullishToOptional(_zod.z.string())
|
|
1742
1744
|
});
|
|
1743
1745
|
var PageBlockBaseV1 = _zod.z.object({
|
|
1744
1746
|
persistentId: _zod.z.string(),
|
|
@@ -5428,7 +5430,7 @@ var DTORestoreDocumentationGroupInput = _zod.z.object({
|
|
|
5428
5430
|
});
|
|
5429
5431
|
var DTODocumentationPageApprovalStateChangeInput = _zod.z.object({
|
|
5430
5432
|
persistentId: _zod.z.string(),
|
|
5431
|
-
approvalState: DocumentationPageApprovalState
|
|
5433
|
+
approvalState: DocumentationPageApprovalState.optional()
|
|
5432
5434
|
});
|
|
5433
5435
|
|
|
5434
5436
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|