@peasant-labs/schema 0.1.0-rc10

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.
Files changed (37) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +66 -0
  3. package/dist/fixtures/quality.d.ts +81 -0
  4. package/dist/fixtures/quality.js +36 -0
  5. package/dist/fixtures/timeline.d.ts +53 -0
  6. package/dist/fixtures/timeline.js +2 -0
  7. package/dist/fixtures.d.ts +2 -0
  8. package/dist/fixtures.js +2 -0
  9. package/dist/index.d.ts +8 -0
  10. package/dist/index.js +36 -0
  11. package/dist/internal/generated/contract/zod.gen.d.ts +3441 -0
  12. package/dist/internal/generated/contract/zod.gen.js +1623 -0
  13. package/dist/internal/generated/enums.gen.d.ts +406 -0
  14. package/dist/internal/generated/enums.gen.js +445 -0
  15. package/dist/internal/generated/local-api.d.ts +1047 -0
  16. package/dist/internal/generated/local-api.js +1 -0
  17. package/dist/internal/generated/public-contract.gen.d.ts +2 -0
  18. package/dist/internal/generated/public-contract.gen.js +2 -0
  19. package/dist/internal/generated/quality-fixtures.gen.d.ts +2 -0
  20. package/dist/internal/generated/quality-fixtures.gen.js +367 -0
  21. package/dist/internal/generated/testcase.gen.d.ts +17 -0
  22. package/dist/internal/generated/testcase.gen.js +20 -0
  23. package/dist/internal/generated/timeline-fixtures.gen.d.ts +2 -0
  24. package/dist/internal/generated/timeline-fixtures.gen.js +1554 -0
  25. package/dist/internal/generated/versions.gen.d.ts +4 -0
  26. package/dist/internal/generated/versions.gen.js +5 -0
  27. package/dist/internal/generated/village-api.d.ts +652 -0
  28. package/dist/internal/generated/village-api.js +1 -0
  29. package/dist/local-api.d.ts +4 -0
  30. package/dist/local-api.js +1 -0
  31. package/dist/testcase.d.ts +32 -0
  32. package/dist/testcase.js +144 -0
  33. package/dist/types.d.ts +2 -0
  34. package/dist/types.js +2 -0
  35. package/dist/village-api.d.ts +4 -0
  36. package/dist/village-api.js +1 -0
  37. package/package.json +75 -0
@@ -0,0 +1,4 @@
1
+ export declare const VillageAPIVersion: "0.9.0";
2
+ export declare const PeasantLocalAPIVersion: "0.6.0";
3
+ export declare const TypesVersion: "0.6.0";
4
+ export declare const MetadataSchemaVersion: 9;
@@ -0,0 +1,5 @@
1
+ // Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
2
+ export const VillageAPIVersion = "0.9.0";
3
+ export const PeasantLocalAPIVersion = "0.6.0";
4
+ export const TypesVersion = "0.6.0";
5
+ export const MetadataSchemaVersion = 9;
@@ -0,0 +1,652 @@
1
+ import type * as Schema from "../../index.js";
2
+ export interface paths {
3
+ "/api/v1/annotations": {
4
+ parameters: {
5
+ query?: never;
6
+ header?: never;
7
+ path?: never;
8
+ cookie?: never;
9
+ };
10
+ get?: never;
11
+ put?: never;
12
+ /** @description Push annotations for the authenticated owner. Every item selects exactly one target arm: targetKind association requires only targetAssociationId, while every other target kind rejects targetAssociationId. Entry targets require a non-empty sessionId; endIndex must be greater than entryIndex and is enforced by the request validation boundary. The server resolves association targets owner-scoped before writing the all-or-nothing batch. */
13
+ post: operations["pushAnnotations"];
14
+ delete?: never;
15
+ options?: never;
16
+ head?: never;
17
+ patch?: never;
18
+ trace?: never;
19
+ };
20
+ "/api/v1/annotations/manifest": {
21
+ parameters: {
22
+ query?: never;
23
+ header?: never;
24
+ path?: never;
25
+ cookie?: never;
26
+ };
27
+ /** @description Return the set of annotation content-hashes the village holds for the authenticated owner (the server-authoritative skip-gate manifest), plus a deterministic digest over the sorted hash set for a no-op short-circuit. */
28
+ get: operations["getAnnotationManifest"];
29
+ put?: never;
30
+ post?: never;
31
+ delete?: never;
32
+ options?: never;
33
+ head?: never;
34
+ patch?: never;
35
+ trace?: never;
36
+ };
37
+ "/api/v1/auth/cli/exchange": {
38
+ parameters: {
39
+ query?: never;
40
+ header?: never;
41
+ path?: never;
42
+ cookie?: never;
43
+ };
44
+ get?: never;
45
+ put?: never;
46
+ /** @description Exchange an OAuth authorization code and state for API credentials. Called by the CLI's local callback server after receiving the browser redirect. */
47
+ post: operations["cliExchangeCode"];
48
+ delete?: never;
49
+ options?: never;
50
+ head?: never;
51
+ patch?: never;
52
+ trace?: never;
53
+ };
54
+ "/api/v1/auth/cli/login": {
55
+ parameters: {
56
+ query?: never;
57
+ header?: never;
58
+ path?: never;
59
+ cookie?: never;
60
+ };
61
+ /** @description Initiate CLI login via browser OAuth flow. The CLI opens this URL in the user's browser with a local callback port and CSRF state. After authentication, the village redirects the browser to the CLI's local callback server. */
62
+ get: operations["cliLogin"];
63
+ put?: never;
64
+ post?: never;
65
+ delete?: never;
66
+ options?: never;
67
+ head?: never;
68
+ patch?: never;
69
+ trace?: never;
70
+ };
71
+ "/api/v1/pull/transcripts": {
72
+ parameters: {
73
+ query?: never;
74
+ header?: never;
75
+ path?: never;
76
+ cookie?: never;
77
+ };
78
+ /** @description List transcripts the authenticated user may pull (own + group-shared; public excluded by the canPullTranscript policy). Offset pagination. */
79
+ get: operations["listPullableTranscripts"];
80
+ put?: never;
81
+ post?: never;
82
+ delete?: never;
83
+ options?: never;
84
+ head?: never;
85
+ patch?: never;
86
+ trace?: never;
87
+ };
88
+ "/api/v1/pull/transcripts/skip-gate": {
89
+ parameters: {
90
+ query?: never;
91
+ header?: never;
92
+ path?: never;
93
+ cookie?: never;
94
+ };
95
+ get?: never;
96
+ put?: never;
97
+ /** @description Batch currency check for a pulling client: per transcript it holds, send the id, the content-hash it holds, and its own annotation-hash set; receive per pullable id {contentCurrent, annotationsCurrent}. Non-pullable ids are withheld by omission from results. */
98
+ post: operations["pullSkipGate"];
99
+ delete?: never;
100
+ options?: never;
101
+ head?: never;
102
+ patch?: never;
103
+ trace?: never;
104
+ };
105
+ "/api/v1/pull/transcripts/{id}": {
106
+ parameters: {
107
+ query?: never;
108
+ header?: never;
109
+ path?: never;
110
+ cookie?: never;
111
+ };
112
+ /** @description Get a pullable transcript's metadata (owner, visibility, server-computed content_hash, push contract version). 404 (not 403) when not pullable. */
113
+ get: operations["getPullTranscript"];
114
+ put?: never;
115
+ post?: never;
116
+ delete?: never;
117
+ options?: never;
118
+ head?: never;
119
+ patch?: never;
120
+ trace?: never;
121
+ };
122
+ "/api/v1/pull/transcripts/{id}/annotations": {
123
+ parameters: {
124
+ query?: never;
125
+ header?: never;
126
+ path?: never;
127
+ cookie?: never;
128
+ };
129
+ /** @description List a transcript's annotations as PullAnnotation rows (AnnotationSummary plus author identity), so pulled annotations can be foreign-marked and own-authored rows excluded. */
130
+ get: operations["getPullTranscriptAnnotations"];
131
+ put?: never;
132
+ post?: never;
133
+ delete?: never;
134
+ options?: never;
135
+ head?: never;
136
+ patch?: never;
137
+ trace?: never;
138
+ };
139
+ "/api/v1/pull/transcripts/{id}/content": {
140
+ parameters: {
141
+ query?: never;
142
+ header?: never;
143
+ path?: never;
144
+ cookie?: never;
145
+ };
146
+ /** @description Stream the transcript blob as served. Sends ETag: "<content_hash>"; a matching If-None-Match request yields 304 Not Modified. */
147
+ get: operations["getPullTranscriptContent"];
148
+ put?: never;
149
+ post?: never;
150
+ delete?: never;
151
+ options?: never;
152
+ head?: never;
153
+ patch?: never;
154
+ trace?: never;
155
+ };
156
+ "/api/v1/schema/version": {
157
+ parameters: {
158
+ query?: never;
159
+ header?: never;
160
+ path?: never;
161
+ cookie?: never;
162
+ };
163
+ /** @description Advertise the annotation schema version plus the push and pull contract acceptance/negotiation windows ([Min, Current]) so the CLI can preflight and version-negotiate before publishing or pulling. */
164
+ get: operations["getSchemaVersion"];
165
+ put?: never;
166
+ post?: never;
167
+ delete?: never;
168
+ options?: never;
169
+ head?: never;
170
+ patch?: never;
171
+ trace?: never;
172
+ };
173
+ "/api/v1/transcripts/publish": {
174
+ parameters: {
175
+ query?: never;
176
+ header?: never;
177
+ path?: never;
178
+ cookie?: never;
179
+ };
180
+ get?: never;
181
+ put?: never;
182
+ /** @description Publish a transcript with session entries to the village. */
183
+ post: operations["publishTranscript"];
184
+ delete?: never;
185
+ options?: never;
186
+ head?: never;
187
+ patch?: never;
188
+ trace?: never;
189
+ };
190
+ }
191
+ export type webhooks = Record<string, never>;
192
+ export interface components {
193
+ schemas: {
194
+ /**
195
+ * Harness
196
+ * @description AI coding tool or development environment
197
+ * @example claude-code
198
+ * @example opencode
199
+ * @enum {string}
200
+ */
201
+ BestiaryHarness: Schema.Harness;
202
+ OpenapiTranscriptPublishRequest: {
203
+ diagnostics?: components["schemas"]["SchemaDiagnosticsInfo"];
204
+ entries?: components["schemas"]["SchemaSessionEntry"][];
205
+ git?: components["schemas"]["SchemaGitContext"];
206
+ identity?: components["schemas"]["SchemaSessionIdentity"];
207
+ license?: components["schemas"]["SchemaLicense"];
208
+ model: components["schemas"]["SchemaModelInfo"];
209
+ project?: components["schemas"]["SchemaProjectContext"];
210
+ quality?: components["schemas"]["SchemaQualityMetrics"];
211
+ source?: components["schemas"]["SchemaSourceInfo"];
212
+ stats?: components["schemas"]["SchemaSessionStats"];
213
+ subagents?: components["schemas"]["SchemaSubagentRef"][];
214
+ timestamp?: components["schemas"]["SchemaTimestampInfo"];
215
+ };
216
+ SchemaAnnotationEntryTarget: Schema.AnnotationEntryTarget;
217
+ SchemaAnnotationManifestResponse: Schema.AnnotationManifestResponse;
218
+ SchemaAnnotationPushItem: Schema.AnnotationPushItem;
219
+ SchemaAnnotationPushRequest: Schema.AnnotationPushRequest;
220
+ SchemaAnnotationPushResponse: Schema.AnnotationPushResponse;
221
+ SchemaAnnotationPushResult: Schema.AnnotationPushResult;
222
+ /**
223
+ * Annotation Push Status
224
+ * @description Per-item annotation push outcome
225
+ * @example created
226
+ * @example updated
227
+ * @example skipped
228
+ * @example error
229
+ * @enum {string}
230
+ */
231
+ SchemaAnnotationPushStatus: Schema.AnnotationPushStatus;
232
+ /**
233
+ * Annotator Kind
234
+ * @description Type of entity that produced an annotation: human, agent (AI model), or rule (automated classifier)
235
+ * @example human
236
+ * @example agent
237
+ * @example rule
238
+ * @enum {string}
239
+ */
240
+ SchemaAnnotatorKind: Schema.AnnotatorKind;
241
+ /**
242
+ * Association ID
243
+ * @description Opaque durable Peasant identifier for one session-to-commit association
244
+ * @example assoc-20260726:session-a:commit-1
245
+ */
246
+ SchemaAssociationID: Schema.AssociationID;
247
+ SchemaCommitInfo: Schema.CommitInfo;
248
+ SchemaDiagnosticEntry: Schema.DiagnosticEntry;
249
+ SchemaDiagnosticsInfo: Schema.DiagnosticsInfo;
250
+ /**
251
+ * Entry Type
252
+ * @description Classification of a single entry within an agent session transcript
253
+ * @example text
254
+ * @example tool_use
255
+ * @example tool_result
256
+ * @enum {string}
257
+ */
258
+ SchemaEntryType: Schema.EntryType;
259
+ SchemaExchangeCodeRequest: Schema.ExchangeCodeRequest;
260
+ SchemaExchangeCodeResponse: Schema.ExchangeCodeResponse;
261
+ SchemaGitContext: Schema.GitContext;
262
+ /**
263
+ * Host Slug
264
+ * @description Sanitized, filesystem-safe identifier derived from git remote; contains only [a-zA-Z0-9._<>-]
265
+ * @example github.com--user--repo
266
+ * @example local--home-user-projects-myapp
267
+ */
268
+ SchemaHostSlug: Schema.HostSlug;
269
+ /**
270
+ * License
271
+ * @description Content license for a published transcript
272
+ * @example CC0-1.0
273
+ * @enum {string}
274
+ */
275
+ SchemaLicense: Schema.License;
276
+ /**
277
+ * Model ID
278
+ * @description Model identifier (e.g. 'claude-opus-4-6', 'gemini-2.0-flash')
279
+ * @example claude-opus-4-6
280
+ * @example gemini-2.0-flash
281
+ * @example codex-mini-latest
282
+ */
283
+ SchemaModelID: Schema.ModelID;
284
+ SchemaModelInfo: Schema.ModelInfo;
285
+ SchemaProjectContext: Schema.ProjectContext;
286
+ /**
287
+ * Project Hash
288
+ * @description SHA-256 hex digest of the project's origin URL or local path
289
+ * @example a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2
290
+ */
291
+ SchemaProjectHash: Schema.ProjectHash;
292
+ SchemaProvenance: Schema.Provenance;
293
+ SchemaPublishResponse: Schema.PublishResponse;
294
+ SchemaPublishedAssociation: Schema.PublishedAssociation;
295
+ SchemaPullAnnotation: Schema.PullAnnotation;
296
+ SchemaPullListResponse: Schema.PullListResponse;
297
+ SchemaPullSkipGateItem: Schema.PullSkipGateItem;
298
+ SchemaPullSkipGateRequest: Schema.PullSkipGateRequest;
299
+ SchemaPullSkipGateResponse: Schema.PullSkipGateResponse;
300
+ SchemaPullSkipGateResult: Schema.PullSkipGateResult;
301
+ SchemaPullTranscriptInfo: Schema.PullTranscriptInfo;
302
+ SchemaQualityMetrics: Schema.QualityMetrics;
303
+ /**
304
+ * Role
305
+ * @description Sender role of a message turn
306
+ * @example user
307
+ * @example assistant
308
+ * @enum {string}
309
+ */
310
+ SchemaRole: Schema.Role;
311
+ SchemaSchemaVersionResponse: Schema.SchemaVersionResponse;
312
+ SchemaSessionEntry: Schema.SessionEntry;
313
+ /**
314
+ * Session ID
315
+ * Format: session-id
316
+ * @description Unique session identifier (UUID, agent-{hex}, ses_{id}, sess_{id} (ACP), msg_{id}, or a Strike session ID)
317
+ * @example 99d59925-36bc-424c-a789-8be54d9702ba
318
+ * @example agent-a3aee4f
319
+ * @example ses_3cd91f52effeXd3QAJ54jOyzv5
320
+ * @example sess_3cd91f52effeXd3QAJ54jOyzv5
321
+ * @example 20260728T123456.123456789Z-ABCDEFGHIJKLMNOPQRST234567
322
+ * @example ABCDEFGHIJKLMNOPQRST234567
323
+ */
324
+ SchemaSessionID: Schema.SessionID;
325
+ SchemaSessionIdentity: Schema.SessionIdentity;
326
+ /**
327
+ * Session Outcome
328
+ * @description Resolution status of the session
329
+ * @example resolved
330
+ * @example partial
331
+ * @example failed
332
+ * @enum {string}
333
+ */
334
+ SchemaSessionOutcome: Schema.SessionOutcome;
335
+ SchemaSessionStats: Schema.SessionStats;
336
+ /**
337
+ * Source Format
338
+ * @description Transcript file format
339
+ * @example jsonl
340
+ * @example json
341
+ * @enum {string}
342
+ */
343
+ SchemaSourceFormat: Schema.SourceFormat;
344
+ SchemaSourceInfo: Schema.SourceInfo;
345
+ /**
346
+ * Stop Reason
347
+ * @description Reason why a session or turn ended (ACP-aligned)
348
+ * @example end_turn
349
+ * @example max_tokens
350
+ * @enum {string}
351
+ */
352
+ SchemaStopReason: Schema.StopReason;
353
+ SchemaSubagentRef: Schema.SubagentRef;
354
+ /**
355
+ * Target Kind
356
+ * @description What is being annotated: session-level, entry-level (turn/tool call), meta-annotation, project-level, a specific file version (content-hash keyed read-state receipt), or a durable session-to-commit association
357
+ * @example session
358
+ * @example entry
359
+ * @example file_version
360
+ * @example association
361
+ * @enum {string}
362
+ */
363
+ SchemaTargetKind: Schema.TargetKind;
364
+ SchemaTimestampInfo: Schema.TimestampInfo;
365
+ /**
366
+ * Tool Call Kind
367
+ * @description Classification of a tool call, aligned with ACP ToolCallUpdate.kind
368
+ * @example read
369
+ * @example edit
370
+ * @example execute
371
+ * @enum {string}
372
+ */
373
+ SchemaToolCallKind: Schema.ToolCallKind;
374
+ /**
375
+ * Transcript ID
376
+ * Format: uuid
377
+ * @description Village-side transcript identifier (canonical lowercase-hex UUID)
378
+ * @example 99d59925-36bc-424c-a789-8be54d9702ba
379
+ */
380
+ SchemaTranscriptID: Schema.TranscriptID;
381
+ /**
382
+ * Visibility
383
+ * @description Access control level for a published transcript
384
+ * @example public
385
+ * @example private
386
+ * @enum {string}
387
+ */
388
+ SchemaVisibility: Schema.Visibility;
389
+ /**
390
+ * Visibility
391
+ * @description Access control level for a published transcript
392
+ * @example public
393
+ * @example private
394
+ * @enum {string}
395
+ */
396
+ Visibility: Schema.Visibility;
397
+ };
398
+ responses: never;
399
+ parameters: never;
400
+ requestBodies: never;
401
+ headers: never;
402
+ pathItems: never;
403
+ }
404
+ export type $defs = Record<string, never>;
405
+ export interface operations {
406
+ pushAnnotations: {
407
+ parameters: {
408
+ query?: never;
409
+ header?: never;
410
+ path?: never;
411
+ cookie?: never;
412
+ };
413
+ requestBody?: {
414
+ content: {
415
+ "application/json": components["schemas"]["SchemaAnnotationPushRequest"];
416
+ };
417
+ };
418
+ responses: {
419
+ /** @description OK */
420
+ 200: {
421
+ headers: {
422
+ [name: string]: unknown;
423
+ };
424
+ content: {
425
+ "application/json": components["schemas"]["SchemaAnnotationPushResponse"];
426
+ };
427
+ };
428
+ };
429
+ };
430
+ getAnnotationManifest: {
431
+ parameters: {
432
+ query?: never;
433
+ header?: never;
434
+ path?: never;
435
+ cookie?: never;
436
+ };
437
+ requestBody?: never;
438
+ responses: {
439
+ /** @description OK */
440
+ 200: {
441
+ headers: {
442
+ [name: string]: unknown;
443
+ };
444
+ content: {
445
+ "application/json": components["schemas"]["SchemaAnnotationManifestResponse"];
446
+ };
447
+ };
448
+ };
449
+ };
450
+ cliExchangeCode: {
451
+ parameters: {
452
+ query?: never;
453
+ header?: never;
454
+ path?: never;
455
+ cookie?: never;
456
+ };
457
+ requestBody?: {
458
+ content: {
459
+ "application/json": components["schemas"]["SchemaExchangeCodeRequest"];
460
+ };
461
+ };
462
+ responses: {
463
+ /** @description OK */
464
+ 200: {
465
+ headers: {
466
+ [name: string]: unknown;
467
+ };
468
+ content: {
469
+ "application/json": components["schemas"]["SchemaExchangeCodeResponse"];
470
+ };
471
+ };
472
+ };
473
+ };
474
+ cliLogin: {
475
+ parameters: {
476
+ query?: {
477
+ /** @description Local callback server port */
478
+ port?: number;
479
+ /** @description OAuth state parameter for CSRF protection */
480
+ state?: string;
481
+ };
482
+ header?: never;
483
+ path?: never;
484
+ cookie?: never;
485
+ };
486
+ requestBody?: never;
487
+ responses: {
488
+ /** @description No Content */
489
+ 204: {
490
+ headers: {
491
+ [name: string]: unknown;
492
+ };
493
+ content?: never;
494
+ };
495
+ };
496
+ };
497
+ listPullableTranscripts: {
498
+ parameters: {
499
+ query?: {
500
+ page?: number;
501
+ limit?: number;
502
+ };
503
+ header?: never;
504
+ path?: never;
505
+ cookie?: never;
506
+ };
507
+ requestBody?: never;
508
+ responses: {
509
+ /** @description OK */
510
+ 200: {
511
+ headers: {
512
+ [name: string]: unknown;
513
+ };
514
+ content: {
515
+ "application/json": components["schemas"]["SchemaPullListResponse"];
516
+ };
517
+ };
518
+ };
519
+ };
520
+ pullSkipGate: {
521
+ parameters: {
522
+ query?: never;
523
+ header?: never;
524
+ path?: never;
525
+ cookie?: never;
526
+ };
527
+ requestBody?: {
528
+ content: {
529
+ "application/json": components["schemas"]["SchemaPullSkipGateRequest"];
530
+ };
531
+ };
532
+ responses: {
533
+ /** @description OK */
534
+ 200: {
535
+ headers: {
536
+ [name: string]: unknown;
537
+ };
538
+ content: {
539
+ "application/json": components["schemas"]["SchemaPullSkipGateResponse"];
540
+ };
541
+ };
542
+ };
543
+ };
544
+ getPullTranscript: {
545
+ parameters: {
546
+ query?: never;
547
+ header?: never;
548
+ path: {
549
+ id: string;
550
+ };
551
+ cookie?: never;
552
+ };
553
+ requestBody?: never;
554
+ responses: {
555
+ /** @description OK */
556
+ 200: {
557
+ headers: {
558
+ [name: string]: unknown;
559
+ };
560
+ content: {
561
+ "application/json": components["schemas"]["SchemaPullTranscriptInfo"];
562
+ };
563
+ };
564
+ };
565
+ };
566
+ getPullTranscriptAnnotations: {
567
+ parameters: {
568
+ query?: never;
569
+ header?: never;
570
+ path: {
571
+ id: string;
572
+ };
573
+ cookie?: never;
574
+ };
575
+ requestBody?: never;
576
+ responses: {
577
+ /** @description OK */
578
+ 200: {
579
+ headers: {
580
+ [name: string]: unknown;
581
+ };
582
+ content: {
583
+ "application/json": null | components["schemas"]["SchemaPullAnnotation"][];
584
+ };
585
+ };
586
+ };
587
+ };
588
+ getPullTranscriptContent: {
589
+ parameters: {
590
+ query?: never;
591
+ header?: never;
592
+ path: {
593
+ id: string;
594
+ };
595
+ cookie?: never;
596
+ };
597
+ requestBody?: never;
598
+ responses: {
599
+ /** @description No Content */
600
+ 204: {
601
+ headers: {
602
+ [name: string]: unknown;
603
+ };
604
+ content?: never;
605
+ };
606
+ };
607
+ };
608
+ getSchemaVersion: {
609
+ parameters: {
610
+ query?: never;
611
+ header?: never;
612
+ path?: never;
613
+ cookie?: never;
614
+ };
615
+ requestBody?: never;
616
+ responses: {
617
+ /** @description OK */
618
+ 200: {
619
+ headers: {
620
+ [name: string]: unknown;
621
+ };
622
+ content: {
623
+ "application/json": components["schemas"]["SchemaSchemaVersionResponse"];
624
+ };
625
+ };
626
+ };
627
+ };
628
+ publishTranscript: {
629
+ parameters: {
630
+ query?: never;
631
+ header?: never;
632
+ path?: never;
633
+ cookie?: never;
634
+ };
635
+ requestBody?: {
636
+ content: {
637
+ "application/json": components["schemas"]["OpenapiTranscriptPublishRequest"];
638
+ };
639
+ };
640
+ responses: {
641
+ /** @description OK */
642
+ 200: {
643
+ headers: {
644
+ [name: string]: unknown;
645
+ };
646
+ content: {
647
+ "application/json": components["schemas"]["SchemaPublishResponse"];
648
+ };
649
+ };
650
+ };
651
+ };
652
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { operations as GeneratedOperations, paths as GeneratedPaths } from "./internal/generated/local-api.js";
2
+ export { PeasantLocalAPIVersion } from "./index.js";
3
+ export type paths = GeneratedPaths;
4
+ export type operations = GeneratedOperations;
@@ -0,0 +1 @@
1
+ export { PeasantLocalAPIVersion } from "./index.js";