@supernova-studio/client 0.49.0 → 0.49.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 +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- 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<{
|
|
@@ -23144,13 +23144,13 @@ declare const DTORestoreDocumentationGroupInput: z.ZodObject<{
|
|
|
23144
23144
|
type DTORestoreDocumentationGroupInput = z.infer<typeof DTORestoreDocumentationGroupInput>;
|
|
23145
23145
|
declare const DTODocumentationPageApprovalStateChangeInput: z.ZodObject<{
|
|
23146
23146
|
persistentId: z.ZodString;
|
|
23147
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
23147
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
23148
23148
|
}, "strip", z.ZodTypeAny, {
|
|
23149
23149
|
persistentId: string;
|
|
23150
|
-
approvalState
|
|
23150
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23151
23151
|
}, {
|
|
23152
23152
|
persistentId: string;
|
|
23153
|
-
approvalState
|
|
23153
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23154
23154
|
}>;
|
|
23155
23155
|
type DTODocumentationPageApprovalStateChangeInput = z.infer<typeof DTODocumentationPageApprovalStateChangeInput>;
|
|
23156
23156
|
|
|
@@ -27332,25 +27332,25 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
27332
27332
|
type: z.ZodLiteral<"DocumentationPageApprovalStateChange">;
|
|
27333
27333
|
input: z.ZodObject<{
|
|
27334
27334
|
persistentId: z.ZodString;
|
|
27335
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
27335
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
27336
27336
|
}, "strip", z.ZodTypeAny, {
|
|
27337
27337
|
persistentId: string;
|
|
27338
|
-
approvalState
|
|
27338
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27339
27339
|
}, {
|
|
27340
27340
|
persistentId: string;
|
|
27341
|
-
approvalState
|
|
27341
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27342
27342
|
}>;
|
|
27343
27343
|
}, "strip", z.ZodTypeAny, {
|
|
27344
27344
|
type: "DocumentationPageApprovalStateChange";
|
|
27345
27345
|
input: {
|
|
27346
27346
|
persistentId: string;
|
|
27347
|
-
approvalState
|
|
27347
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27348
27348
|
};
|
|
27349
27349
|
}, {
|
|
27350
27350
|
type: "DocumentationPageApprovalStateChange";
|
|
27351
27351
|
input: {
|
|
27352
27352
|
persistentId: string;
|
|
27353
|
-
approvalState
|
|
27353
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27354
27354
|
};
|
|
27355
27355
|
}>]>;
|
|
27356
27356
|
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<{
|
|
@@ -23144,13 +23144,13 @@ declare const DTORestoreDocumentationGroupInput: z.ZodObject<{
|
|
|
23144
23144
|
type DTORestoreDocumentationGroupInput = z.infer<typeof DTORestoreDocumentationGroupInput>;
|
|
23145
23145
|
declare const DTODocumentationPageApprovalStateChangeInput: z.ZodObject<{
|
|
23146
23146
|
persistentId: z.ZodString;
|
|
23147
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
23147
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
23148
23148
|
}, "strip", z.ZodTypeAny, {
|
|
23149
23149
|
persistentId: string;
|
|
23150
|
-
approvalState
|
|
23150
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23151
23151
|
}, {
|
|
23152
23152
|
persistentId: string;
|
|
23153
|
-
approvalState
|
|
23153
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
23154
23154
|
}>;
|
|
23155
23155
|
type DTODocumentationPageApprovalStateChangeInput = z.infer<typeof DTODocumentationPageApprovalStateChangeInput>;
|
|
23156
23156
|
|
|
@@ -27332,25 +27332,25 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
27332
27332
|
type: z.ZodLiteral<"DocumentationPageApprovalStateChange">;
|
|
27333
27333
|
input: z.ZodObject<{
|
|
27334
27334
|
persistentId: z.ZodString;
|
|
27335
|
-
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]
|
|
27335
|
+
approvalState: z.ZodOptional<z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>>;
|
|
27336
27336
|
}, "strip", z.ZodTypeAny, {
|
|
27337
27337
|
persistentId: string;
|
|
27338
|
-
approvalState
|
|
27338
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27339
27339
|
}, {
|
|
27340
27340
|
persistentId: string;
|
|
27341
|
-
approvalState
|
|
27341
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27342
27342
|
}>;
|
|
27343
27343
|
}, "strip", z.ZodTypeAny, {
|
|
27344
27344
|
type: "DocumentationPageApprovalStateChange";
|
|
27345
27345
|
input: {
|
|
27346
27346
|
persistentId: string;
|
|
27347
|
-
approvalState
|
|
27347
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27348
27348
|
};
|
|
27349
27349
|
}, {
|
|
27350
27350
|
type: "DocumentationPageApprovalStateChange";
|
|
27351
27351
|
input: {
|
|
27352
27352
|
persistentId: string;
|
|
27353
|
-
approvalState
|
|
27353
|
+
approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
|
|
27354
27354
|
};
|
|
27355
27355
|
}>]>;
|
|
27356
27356
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
package/dist/index.js
CHANGED
|
@@ -5428,7 +5428,7 @@ var DTORestoreDocumentationGroupInput = _zod.z.object({
|
|
|
5428
5428
|
});
|
|
5429
5429
|
var DTODocumentationPageApprovalStateChangeInput = _zod.z.object({
|
|
5430
5430
|
persistentId: _zod.z.string(),
|
|
5431
|
-
approvalState: DocumentationPageApprovalState
|
|
5431
|
+
approvalState: DocumentationPageApprovalState.optional()
|
|
5432
5432
|
});
|
|
5433
5433
|
|
|
5434
5434
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|