@hollware/core 0.11.0 → 1.0.0-rc.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 +4 -0
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3423,6 +3423,8 @@ export declare const OPERATIONS: readonly [OperationSpec<"approve_review", z.Zod
|
|
|
3423
3423
|
}, z.core.$strip>>;
|
|
3424
3424
|
}, z.core.$strip>>;
|
|
3425
3425
|
currentVersion: z.ZodOptional<z.ZodNumber>;
|
|
3426
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3427
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
3426
3428
|
}, z.core.$strip>>, OperationSpec<"unpublish", z.ZodObject<{
|
|
3427
3429
|
id: z.ZodString;
|
|
3428
3430
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3598,6 +3600,8 @@ export declare const OPERATIONS: readonly [OperationSpec<"approve_review", z.Zod
|
|
|
3598
3600
|
}, z.core.$strip>>;
|
|
3599
3601
|
}, z.core.$strip>>;
|
|
3600
3602
|
currentVersion: z.ZodOptional<z.ZodNumber>;
|
|
3603
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3604
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
3601
3605
|
}, z.core.$strip>>, OperationSpec<"validate", z.ZodObject<{
|
|
3602
3606
|
collection: z.ZodString;
|
|
3603
3607
|
locale: z.ZodString;
|
package/dist/index.mjs
CHANGED
|
@@ -4572,7 +4572,9 @@ const structureChange = z.object({
|
|
|
4572
4572
|
version: z.number().int().optional().describe("The version of the structure now."),
|
|
4573
4573
|
problems: z.array(problem).optional().describe("With invalid: every problem, each with its fix."),
|
|
4574
4574
|
impact: impact.optional().describe("With needs_confirmation: what the change would do."),
|
|
4575
|
-
currentVersion: z.number().int().optional().describe("With conflict: the version to read again.")
|
|
4575
|
+
currentVersion: z.number().int().optional().describe("With conflict: the version to read again."),
|
|
4576
|
+
message: z.string().optional().describe("With conflict: what happened."),
|
|
4577
|
+
fix: z.string().optional().describe("With conflict: what to do next.")
|
|
4576
4578
|
});
|
|
4577
4579
|
const STRUCTURE_OUTCOMES = {
|
|
4578
4580
|
updated: { isError: false },
|
package/package.json
CHANGED