@handlebar/governance-schema 0.0.4 → 0.0.5

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.
@@ -1,4 +1,31 @@
1
1
  import { z } from "zod";
2
+ export declare const AuditEnvelopeSchema: z.ZodObject<{
3
+ schema: z.ZodLiteral<"handlebar.audit.v1">;
4
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDate>;
5
+ runId: z.ZodString;
6
+ stepIndex: z.ZodOptional<z.ZodNumber>;
7
+ decisionId: z.ZodOptional<z.ZodString>;
8
+ user: z.ZodOptional<z.ZodObject<{
9
+ userId: z.ZodOptional<z.ZodString>;
10
+ userCategory: z.ZodOptional<z.ZodString>;
11
+ sessionId: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ otel: z.ZodOptional<z.ZodObject<{
14
+ traceId: z.ZodOptional<z.ZodString>;
15
+ spanId: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ sample: z.ZodOptional<z.ZodObject<{
18
+ rate: z.ZodOptional<z.ZodNumber>;
19
+ reason: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ redaction: z.ZodOptional<z.ZodObject<{
22
+ level: z.ZodOptional<z.ZodEnum<{
23
+ none: "none";
24
+ partial: "partial";
25
+ strict: "strict";
26
+ }>>;
27
+ }, z.core.$strip>>;
28
+ }, z.core.$strip>;
2
29
  export declare const RunStartedEventSchema: z.ZodObject<{
3
30
  schema: z.ZodLiteral<"handlebar.audit.v1">;
4
31
  ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDate>;
package/dist/index.js CHANGED
@@ -12741,6 +12741,7 @@ export {
12741
12741
  GovernanceDecisionSchema,
12742
12742
  ErrorEventSchema,
12743
12743
  AuditEventSchema,
12744
+ AuditEnvelopeSchema,
12744
12745
  AppliedActionSchema
12745
12746
  };
12746
12747
  // 🚲
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handlebar/governance-schema",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",