@peasant-labs/schema 0.1.0-rc12 → 0.1.0-rc13
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.
|
@@ -1263,7 +1263,7 @@ export type ServerMessage = z.infer<typeof zServerMessage>;
|
|
|
1263
1263
|
export declare const zSessionID: z.ZodString;
|
|
1264
1264
|
export type SessionID = z.infer<typeof zSessionID>;
|
|
1265
1265
|
export declare const zAuthoritativeSessionIdentity: z.ZodObject<{
|
|
1266
|
-
|
|
1266
|
+
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
1267
1267
|
schemaVersion: z.ZodInt;
|
|
1268
1268
|
sessionId: z.ZodString;
|
|
1269
1269
|
}, z.core.$strict>;
|
|
@@ -2575,7 +2575,7 @@ export declare const zCanonicalPublishReplacement: z.ZodObject<{
|
|
|
2575
2575
|
worktree: z.ZodNullable<z.ZodString>;
|
|
2576
2576
|
}, z.core.$strict>;
|
|
2577
2577
|
identity: z.ZodObject<{
|
|
2578
|
-
|
|
2578
|
+
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
2579
2579
|
schemaVersion: z.ZodInt;
|
|
2580
2580
|
sessionId: z.ZodString;
|
|
2581
2581
|
}, z.core.$strict>;
|
|
@@ -3081,7 +3081,7 @@ export declare const zCanonicalPublishOperation: z.ZodObject<{
|
|
|
3081
3081
|
worktree: z.ZodNullable<z.ZodString>;
|
|
3082
3082
|
}, z.core.$strict>;
|
|
3083
3083
|
identity: z.ZodObject<{
|
|
3084
|
-
|
|
3084
|
+
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
3085
3085
|
schemaVersion: z.ZodInt;
|
|
3086
3086
|
sessionId: z.ZodString;
|
|
3087
3087
|
}, z.core.$strict>;
|
|
@@ -4370,7 +4370,7 @@ export declare const zAuthoritativePublishRequest: z.ZodObject<{
|
|
|
4370
4370
|
worktree: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4371
4371
|
}, z.core.$strict>>;
|
|
4372
4372
|
identity: z.ZodOptional<z.ZodObject<{
|
|
4373
|
-
|
|
4373
|
+
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
4374
4374
|
schemaVersion: z.ZodInt;
|
|
4375
4375
|
sessionId: z.ZodString;
|
|
4376
4376
|
}, z.core.$strict>>;
|
|
@@ -927,7 +927,7 @@ export const zServerMessage = z.object({
|
|
|
927
927
|
*/
|
|
928
928
|
export const zSessionID = z.string().regex(/^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|agent-[a-f0-9]+|sess?_[a-zA-Z0-9]+|msg_[a-zA-Z0-9]+|[0-9]{8}T[0-9]{6}\.[0-9]{9}Z-[A-Z2-7]{26}|[A-Z2-7]{26})$/);
|
|
929
929
|
export const zAuthoritativeSessionIdentity = z.object({
|
|
930
|
-
|
|
930
|
+
parentSessionId: zSessionID.optional(),
|
|
931
931
|
schemaVersion: z.int(),
|
|
932
932
|
sessionId: zSessionID
|
|
933
933
|
}).strict();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VillageAPIVersion: "0.
|
|
1
|
+
export declare const VillageAPIVersion: "0.12.0";
|
|
2
2
|
export declare const PeasantLocalAPIVersion: "0.6.0";
|
|
3
|
-
export declare const TypesVersion: "0.
|
|
3
|
+
export declare const TypesVersion: "0.9.0";
|
|
4
4
|
export declare const MetadataSchemaVersion: 9;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
|
-
export const VillageAPIVersion = "0.
|
|
2
|
+
export const VillageAPIVersion = "0.12.0";
|
|
3
3
|
export const PeasantLocalAPIVersion = "0.6.0";
|
|
4
|
-
export const TypesVersion = "0.
|
|
4
|
+
export const TypesVersion = "0.9.0";
|
|
5
5
|
export const MetadataSchemaVersion = 9;
|