@nimblebrain/api-spec
Advanced tools
@@ -10,3 +10,3 @@ import { z } from "./zodSetup"; | ||
| isSystem: z.ZodBoolean; | ||
| content: z.ZodString; | ||
| text: z.ZodString; | ||
| dateCreated: z.ZodDate; | ||
@@ -16,3 +16,3 @@ }, "strip", z.ZodTypeAny, { | ||
| isSystem: boolean; | ||
| content: string; | ||
| text: string; | ||
| dateCreated: Date; | ||
@@ -22,3 +22,3 @@ }, { | ||
| isSystem: boolean; | ||
| content: string; | ||
| text: string; | ||
| dateCreated: Date; | ||
@@ -34,3 +34,3 @@ }>, "many">>; | ||
| isSystem: boolean; | ||
| content: string; | ||
| text: string; | ||
| dateCreated: Date; | ||
@@ -46,3 +46,3 @@ }[] | undefined; | ||
| isSystem: boolean; | ||
| content: string; | ||
| text: string; | ||
| dateCreated: Date; | ||
@@ -49,0 +49,0 @@ }[] | undefined; |
@@ -5,3 +5,3 @@ import { z } from "./zodSetup"; | ||
| isSystem: z.ZodBoolean; | ||
| content: z.ZodString; | ||
| text: z.ZodString; | ||
| dateCreated: z.ZodDate; | ||
@@ -11,3 +11,3 @@ }, "strip", z.ZodTypeAny, { | ||
| isSystem: boolean; | ||
| content: string; | ||
| text: string; | ||
| dateCreated: Date; | ||
@@ -17,3 +17,3 @@ }, { | ||
| isSystem: boolean; | ||
| content: string; | ||
| text: string; | ||
| dateCreated: Date; | ||
@@ -20,0 +20,0 @@ }>; |
@@ -9,3 +9,3 @@ "use strict"; | ||
| isSystem: zodSetup_1.z.boolean(), | ||
| content: zodSetup_1.z.string(), | ||
| text: zodSetup_1.z.string(), | ||
| dateCreated: zodSetup_1.z.date(), | ||
@@ -12,0 +12,0 @@ }) |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"message.schema.js","sourceRoot":"","sources":["../../src/schemas/message.schema.ts"],"names":[],"mappings":";;;AAAA,yCAA+B;AAElB,QAAA,aAAa,GAAG,YAAC;KAC3B,MAAM,CAAC;IACN,EAAE,EAAE,YAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,QAAQ,EAAE,YAAC,CAAC,OAAO,EAAE;IACrB,OAAO,EAAE,YAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,YAAC,CAAC,IAAI,EAAE;CACtB,CAAC;KACD,OAAO,CAAC,SAAS,CAAC,CAAC"} | ||
| {"version":3,"file":"message.schema.js","sourceRoot":"","sources":["../../src/schemas/message.schema.ts"],"names":[],"mappings":";;;AAAA,yCAA+B;AAElB,QAAA,aAAa,GAAG,YAAC;KAC3B,MAAM,CAAC;IACN,EAAE,EAAE,YAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,QAAQ,EAAE,YAAC,CAAC,OAAO,EAAE;IACrB,IAAI,EAAE,YAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,YAAC,CAAC,IAAI,EAAE;CACtB,CAAC;KACD,OAAO,CAAC,SAAS,CAAC,CAAC"} |
| import { z } from "./zodSetup"; | ||
| export declare const CreateConversationSchema: z.ZodObject<{ | ||
| content: z.ZodString; | ||
| text: z.ZodString; | ||
| }, "strip", z.ZodTypeAny, { | ||
| content: string; | ||
| text: string; | ||
| }, { | ||
| content: string; | ||
| text: string; | ||
| }>; | ||
| export type CreateConversationRequest = z.infer<typeof CreateConversationSchema>; | ||
| export declare const CreateMessageSchema: z.ZodObject<{ | ||
| content: z.ZodString; | ||
| text: z.ZodString; | ||
| }, "strip", z.ZodTypeAny, { | ||
| content: string; | ||
| text: string; | ||
| }, { | ||
| content: string; | ||
| text: string; | ||
| }>; | ||
| export type CreateMessageRequest = z.infer<typeof CreateMessageSchema>; | ||
| //# sourceMappingURL=requests.schema.d.ts.map |
@@ -7,3 +7,3 @@ "use strict"; | ||
| .object({ | ||
| content: zodSetup_1.z.string(), | ||
| text: zodSetup_1.z.string(), | ||
| }) | ||
@@ -13,5 +13,5 @@ .openapi("CreateConversation"); | ||
| .object({ | ||
| content: zodSetup_1.z.string(), | ||
| text: zodSetup_1.z.string(), | ||
| }) | ||
| .openapi("CreateMessage"); | ||
| //# sourceMappingURL=requests.schema.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"requests.schema.js","sourceRoot":"","sources":["../../src/schemas/requests.schema.ts"],"names":[],"mappings":";;;AAAA,yCAA+B;AAElB,QAAA,wBAAwB,GAAG,YAAC;KACtC,MAAM,CAAC;IACN,OAAO,EAAE,YAAC,CAAC,MAAM,EAAE;CACpB,CAAC;KACD,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAIpB,QAAA,mBAAmB,GAAG,YAAC;KACjC,MAAM,CAAC;IACN,OAAO,EAAE,YAAC,CAAC,MAAM,EAAE;CACpB,CAAC;KACD,OAAO,CAAC,eAAe,CAAC,CAAC"} | ||
| {"version":3,"file":"requests.schema.js","sourceRoot":"","sources":["../../src/schemas/requests.schema.ts"],"names":[],"mappings":";;;AAAA,yCAA+B;AAElB,QAAA,wBAAwB,GAAG,YAAC;KACtC,MAAM,CAAC;IACN,IAAI,EAAE,YAAC,CAAC,MAAM,EAAE;CACjB,CAAC;KACD,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAIpB,QAAA,mBAAmB,GAAG,YAAC;KACjC,MAAM,CAAC;IACN,IAAI,EAAE,YAAC,CAAC,MAAM,EAAE;CACjB,CAAC;KACD,OAAO,CAAC,eAAe,CAAC,CAAC"} |
+1
-1
| { | ||
| "name": "@nimblebrain/api-spec", | ||
| "version": "0.0.12", | ||
| "version": "0.0.13", | ||
| "main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
84414
-0.06%