@peasant-labs/schema 0.19.0 → 0.21.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.
@@ -4765,8 +4765,12 @@ export type CanonicalPublishOperation = z.infer<typeof zCanonicalPublishOperatio
4765
4765
  export declare const zTranscriptID: z.ZodUUID;
4766
4766
  export type TranscriptID = z.infer<typeof zTranscriptID>;
4767
4767
  export declare const zPromptDigestItem: z.ZodObject<{
4768
+ additions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4769
+ args: z.ZodOptional<z.ZodString>;
4768
4770
  commitCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4769
4771
  commitSha: z.ZodOptional<z.ZodString>;
4772
+ deletions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4773
+ filesChanged: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4770
4774
  kind: z.ZodEnum<{
4771
4775
  session: "session";
4772
4776
  prompt: "prompt";
@@ -4801,8 +4805,12 @@ export declare const zPromptDigest: z.ZodObject<{
4801
4805
  villageUrl: z.ZodString;
4802
4806
  }, z.core.$strip>;
4803
4807
  items: z.ZodArray<z.ZodObject<{
4808
+ additions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4809
+ args: z.ZodOptional<z.ZodString>;
4804
4810
  commitCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4805
4811
  commitSha: z.ZodOptional<z.ZodString>;
4812
+ deletions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4813
+ filesChanged: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4806
4814
  kind: z.ZodEnum<{
4807
4815
  session: "session";
4808
4816
  prompt: "prompt";
@@ -8599,7 +8607,7 @@ export declare const zVillageGroupViewerRole: z.ZodEnum<{
8599
8607
  }>;
8600
8608
  export type VillageGroupViewerRole = z.infer<typeof zVillageGroupViewerRole>;
8601
8609
  export declare const zVillageLinkRepositoryRequest: z.ZodObject<{
8602
- installation_id: z.ZodCoercedBigInt<unknown>;
8610
+ installation_id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8603
8611
  name: z.ZodString;
8604
8612
  owner: z.ZodString;
8605
8613
  }, z.core.$strip>;
@@ -9666,8 +9674,12 @@ export declare const zVillagePullRequestAttachmentResponse: z.ZodObject<{
9666
9674
  villageUrl: z.ZodString;
9667
9675
  }, z.core.$strip>;
9668
9676
  items: z.ZodArray<z.ZodObject<{
9677
+ additions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9678
+ args: z.ZodOptional<z.ZodString>;
9669
9679
  commitCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9670
9680
  commitSha: z.ZodOptional<z.ZodString>;
9681
+ deletions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9682
+ filesChanged: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9671
9683
  kind: z.ZodEnum<{
9672
9684
  session: "session";
9673
9685
  prompt: "prompt";
@@ -2032,8 +2032,12 @@ export const zCanonicalPublishOperation = z.object({
2032
2032
  */
2033
2033
  export const zTranscriptID = z.uuid().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/);
2034
2034
  export const zPromptDigestItem = z.object({
2035
+ additions: z.int().nullish(),
2036
+ args: z.string().optional(),
2035
2037
  commitCount: z.int().nullish(),
2036
2038
  commitSha: z.string().optional(),
2039
+ deletions: z.int().nullish(),
2040
+ filesChanged: z.int().nullish(),
2037
2041
  kind: zDigestItemKind,
2038
2042
  ordinal: z.int().nullish(),
2039
2043
  promptCount: z.int().nullish(),
@@ -2487,7 +2491,7 @@ export const zVillageGroupViewerRole = z.enum([
2487
2491
  'pending'
2488
2492
  ]);
2489
2493
  export const zVillageLinkRepositoryRequest = z.object({
2490
- installation_id: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }),
2494
+ installation_id: z.int().nullish(),
2491
2495
  name: z.string(),
2492
2496
  owner: z.string()
2493
2497
  });
@@ -1,4 +1,4 @@
1
- export declare const VillageAPIVersion: "0.17.0";
1
+ export declare const VillageAPIVersion: "0.19.0";
2
2
  export declare const PeasantLocalAPIVersion: "0.13.0";
3
- export declare const TypesVersion: "0.19.0";
3
+ export declare const TypesVersion: "0.21.0";
4
4
  export declare const MetadataSchemaVersion: 11;
@@ -1,5 +1,5 @@
1
1
  // Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
2
- export const VillageAPIVersion = "0.17.0";
2
+ export const VillageAPIVersion = "0.19.0";
3
3
  export const PeasantLocalAPIVersion = "0.13.0";
4
- export const TypesVersion = "0.19.0";
4
+ export const TypesVersion = "0.21.0";
5
5
  export const MetadataSchemaVersion = 11;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peasant-labs/schema",
3
- "version": "0.19.0",
3
+ "version": "0.21.0",
4
4
  "description": "Generated TypeScript contract bindings for the peasant-labs schema module",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {