@aventurevc/api-schemas 0.8.457 → 0.8.458
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.
|
@@ -48,4 +48,17 @@ export declare const OpenApiWriteReadbackSchema: z.ZodObject<{
|
|
|
48
48
|
}, z.core.$strict>>;
|
|
49
49
|
}, z.core.$strict>;
|
|
50
50
|
export type OpenApiWriteReadback = z.infer<typeof OpenApiWriteReadbackSchema>;
|
|
51
|
+
/**
|
|
52
|
+
* @usedByEndpoint none:external-root
|
|
53
|
+
* @shared primitive:multi OpenAPI read postcondition metadata; not direct because consumers interpret source-owned extension values rather than endpoint payloads
|
|
54
|
+
* @contractShape http.openapi-read-postcondition
|
|
55
|
+
* @contractRole canonical
|
|
56
|
+
* @ownerModule http/openapi-metadata.ts
|
|
57
|
+
*/
|
|
58
|
+
export declare const OpenApiReadPostconditionSchema: z.ZodObject<{
|
|
59
|
+
readPointer: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
60
|
+
equals: z.ZodBoolean;
|
|
61
|
+
omittedIn: z.ZodLiteral<"public">;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
export type OpenApiReadPostcondition = z.infer<typeof OpenApiReadPostconditionSchema>;
|
|
51
64
|
//# sourceMappingURL=openapi-metadata.d.ts.map
|
|
@@ -52,4 +52,16 @@ export const OpenApiWriteReadbackSchema = z.strictObject({
|
|
|
52
52
|
})
|
|
53
53
|
.optional(),
|
|
54
54
|
});
|
|
55
|
+
/**
|
|
56
|
+
* @usedByEndpoint none:external-root
|
|
57
|
+
* @shared primitive:multi OpenAPI read postcondition metadata; not direct because consumers interpret source-owned extension values rather than endpoint payloads
|
|
58
|
+
* @contractShape http.openapi-read-postcondition
|
|
59
|
+
* @contractRole canonical
|
|
60
|
+
* @ownerModule http/openapi-metadata.ts
|
|
61
|
+
*/
|
|
62
|
+
export const OpenApiReadPostconditionSchema = z.strictObject({
|
|
63
|
+
readPointer: OpenApiJsonPointerSchema,
|
|
64
|
+
equals: z.boolean(),
|
|
65
|
+
omittedIn: z.literal("public"),
|
|
66
|
+
});
|
|
55
67
|
//# sourceMappingURL=openapi-metadata.js.map
|