@ourofoundation/ouro-js 3.2.1 → 3.2.3
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.
- package/dist/{chunk-MKMFDR3M.cjs → chunk-3ZHWBPGA.cjs} +2 -2
- package/dist/chunk-3ZHWBPGA.cjs.map +1 -0
- package/dist/{chunk-SRHZ5S5N.cjs → chunk-6AK3RVZR.cjs} +2 -2
- package/dist/{chunk-SRHZ5S5N.cjs.map → chunk-6AK3RVZR.cjs.map} +1 -1
- package/dist/{chunk-MFRUMVY6.cjs → chunk-6TOGDJKP.cjs} +2 -2
- package/dist/{chunk-MFRUMVY6.cjs.map → chunk-6TOGDJKP.cjs.map} +1 -1
- package/dist/{chunk-3EK6Q2YF.js → chunk-7ABFUHWW.js} +2 -2
- package/dist/chunk-7ABFUHWW.js.map +1 -0
- package/dist/{chunk-6VIPPUJT.cjs → chunk-7RF362MN.cjs} +2 -2
- package/dist/{chunk-6VIPPUJT.cjs.map → chunk-7RF362MN.cjs.map} +1 -1
- package/dist/{chunk-KOFLISSG.js → chunk-7SSENGQL.js} +2 -2
- package/dist/{chunk-KOFLISSG.js.map → chunk-7SSENGQL.js.map} +1 -1
- package/dist/{chunk-5ZISONMU.js → chunk-BU2S7UEL.js} +2 -2
- package/dist/{chunk-5ZISONMU.js.map → chunk-BU2S7UEL.js.map} +1 -1
- package/dist/chunk-CVFVOARW.cjs +2 -0
- package/dist/chunk-CVFVOARW.cjs.map +1 -0
- package/dist/chunk-DE2Z5AOM.js +8 -0
- package/dist/chunk-DE2Z5AOM.js.map +1 -0
- package/dist/{chunk-6MSNL636.cjs → chunk-FNW6DDNP.cjs} +2 -2
- package/dist/chunk-FNW6DDNP.cjs.map +1 -0
- package/dist/{chunk-4JJ6JLXK.cjs → chunk-FQ4F7DQH.cjs} +2 -2
- package/dist/{chunk-4JJ6JLXK.cjs.map → chunk-FQ4F7DQH.cjs.map} +1 -1
- package/dist/chunk-IW4MZW5P.cjs +2 -0
- package/dist/{chunk-BDVKX5EB.cjs.map → chunk-IW4MZW5P.cjs.map} +1 -1
- package/dist/{chunk-AL7O4IAB.js → chunk-JPCZIGX2.js} +2 -2
- package/dist/{chunk-AL7O4IAB.js.map → chunk-JPCZIGX2.js.map} +1 -1
- package/dist/{chunk-CZ53CZIQ.cjs → chunk-KYK27OHG.cjs} +2 -2
- package/dist/{chunk-CZ53CZIQ.cjs.map → chunk-KYK27OHG.cjs.map} +1 -1
- package/dist/{chunk-XIDYDUVH.js → chunk-KZOOYWQ7.js} +2 -2
- package/dist/{chunk-XIDYDUVH.js.map → chunk-KZOOYWQ7.js.map} +1 -1
- package/dist/chunk-L2EAP5SJ.cjs +2 -0
- package/dist/chunk-L2EAP5SJ.cjs.map +1 -0
- package/dist/{chunk-7XHIK5BY.js → chunk-MB4EEZKP.js} +2 -2
- package/dist/{chunk-7XHIK5BY.js.map → chunk-MB4EEZKP.js.map} +1 -1
- package/dist/chunk-N6AJDETI.cjs +8 -0
- package/dist/chunk-N6AJDETI.cjs.map +1 -0
- package/dist/{chunk-OILLE36G.cjs → chunk-OFSSOFOC.cjs} +2 -2
- package/dist/{chunk-OILLE36G.cjs.map → chunk-OFSSOFOC.cjs.map} +1 -1
- package/dist/{chunk-LAMEJFKJ.cjs → chunk-OIPOIY6M.cjs} +2 -2
- package/dist/{chunk-LAMEJFKJ.cjs.map → chunk-OIPOIY6M.cjs.map} +1 -1
- package/dist/{chunk-J6IXOTYT.cjs → chunk-P5JYABNP.cjs} +2 -2
- package/dist/{chunk-J6IXOTYT.cjs.map → chunk-P5JYABNP.cjs.map} +1 -1
- package/dist/chunk-PONEAJK7.js +2 -0
- package/dist/chunk-PONEAJK7.js.map +1 -0
- package/dist/chunk-Q34MIANF.js +2 -0
- package/dist/chunk-Q34MIANF.js.map +1 -0
- package/dist/{chunk-6PR63E3C.js → chunk-SKQ6BRPY.js} +2 -2
- package/dist/{chunk-6PR63E3C.js.map → chunk-SKQ6BRPY.js.map} +1 -1
- package/dist/{chunk-B75WL6RS.js → chunk-TGAK4B5M.js} +2 -2
- package/dist/{chunk-B75WL6RS.js.map → chunk-TGAK4B5M.js.map} +1 -1
- package/dist/{chunk-C5CSA2IE.cjs → chunk-V5DSXK34.cjs} +2 -2
- package/dist/{chunk-C5CSA2IE.cjs.map → chunk-V5DSXK34.cjs.map} +1 -1
- package/dist/{chunk-7GATZDKH.js → chunk-WYHO26N6.js} +2 -2
- package/dist/{chunk-7GATZDKH.js.map → chunk-WYHO26N6.js.map} +1 -1
- package/dist/{chunk-S2CP6IGR.js → chunk-XIH622YH.js} +2 -2
- package/dist/{chunk-S2CP6IGR.js.map → chunk-XIH622YH.js.map} +1 -1
- package/dist/chunk-XMYZV7TD.js +2 -0
- package/dist/chunk-XMYZV7TD.js.map +1 -0
- package/dist/{chunk-QMVYPQP3.js → chunk-XWUYZSVO.js} +2 -2
- package/dist/{chunk-QMVYPQP3.js.map → chunk-XWUYZSVO.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +5 -2
- package/dist/schema/assets.d.ts +5 -2
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +4 -2
- package/dist/schema/blueprints.d.ts +4 -2
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +4 -2
- package/dist/schema/comments.d.ts +4 -2
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +1 -0
- package/dist/schema/common.d.ts +1 -0
- package/dist/schema/common.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +8 -4
- package/dist/schema/conversations.d.ts +8 -4
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +10 -6
- package/dist/schema/datasets.d.ts +10 -6
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +4 -2
- package/dist/schema/files.d.ts +4 -2
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +10 -4
- package/dist/schema/posts.d.ts +10 -4
- package/dist/schema/posts.js +1 -1
- package/dist/schema/replications.cjs +1 -1
- package/dist/schema/replications.d.cts +4 -2
- package/dist/schema/replications.d.ts +4 -2
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +11 -5
- package/dist/schema/services.d.ts +11 -5
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +41 -1
- package/dist/utils/air/index.d.ts +41 -1
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/air/markdown-parser.cjs +1 -1
- package/dist/utils/air/markdown-parser.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-2NJRZN2A.js +0 -2
- package/dist/chunk-2NJRZN2A.js.map +0 -1
- package/dist/chunk-3EK6Q2YF.js.map +0 -1
- package/dist/chunk-6MSNL636.cjs.map +0 -1
- package/dist/chunk-BDVKX5EB.cjs +0 -2
- package/dist/chunk-BSSU5PNI.js +0 -8
- package/dist/chunk-BSSU5PNI.js.map +0 -1
- package/dist/chunk-MKMFDR3M.cjs.map +0 -1
- package/dist/chunk-U5WHESJR.js +0 -2
- package/dist/chunk-U5WHESJR.js.map +0 -1
- package/dist/chunk-W3XNHFD6.cjs +0 -2
- package/dist/chunk-W3XNHFD6.cjs.map +0 -1
- package/dist/chunk-Y7MYLO3W.js +0 -2
- package/dist/chunk-Y7MYLO3W.js.map +0 -1
- package/dist/chunk-YB33F7QJ.cjs +0 -8
- package/dist/chunk-YB33F7QJ.cjs.map +0 -1
- package/dist/chunk-Z37VUR4P.cjs +0 -2
- package/dist/chunk-Z37VUR4P.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/schema/services.ts"],"names":["AuthType","zodEnum","BaseServiceMetadataSchema","object","string","optional","nullable","ServiceMetadataSchema","AssetMetadataSchema","ServiceSchema","AssetSchema","AssetTypeSchema","x","CreateServiceSchema","CreateAssetSchema","value","normalizeAssetConfigForParsing","UpdateServiceSchema","RouteDetailSchema","array","record","any","number","RouteSchema","ActionSchema","uuid","boolean","StatusSchema"],"mappings":"4LAuBMA,IAAAA,CAAAA,CAAWC,MAAQ,CAAC,uBAAA,CAAyB,OAAQ,MAAQ,CAAA,WAAW,CAAC,CAEzEC,CAAAA,CAAAA,CAA4BC,MAAO,CAAA,CACvC,cAAgBH,CAAAA,CAAAA,CAChB,SAAUI,MAAO,EAAA,CACjB,OAASC,CAAAA,QAAAA,CAASC,QAASF,CAAAA,MAAAA,EAAQ,CAAC,CAAA,CACpC,SAAWC,CAAAA,QAAAA,CAASC,QAASF,CAAAA,MAAAA,EAAQ,CAAC,CAAA,CACtC,SAAUC,QAASC,CAAAA,QAAAA,CAASF,QAAQ,CAAC,CACrC,CAAA,QAAA,CAAUC,QAASC,CAAAA,QAAAA,CAASF,QAAQ,CAAC,CACvC,CAAC,CAEKG,CAAAA,CAAAA,CAAwBL,EAA0B,MACtDM,CAAAA,CAAAA,CAAoB,OAAQ,EAAA,CAAE,KAChC,CAAA,CAEMC,EAAgBC,CAAY,CAAA,MAAA,CAAO,CACvC,UAAYC,CAAAA,CAAAA,CAAgB,OAAQC,CAAoBA,EAAAA,CAAAA,GAAd,SAAe,CAAA,CACzD,QAAUL,CAAAA,CACZ,CAAC,CAEKM,CAAAA,CAAAA,CAAsBC,CAAkB,CAAA,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C,CAAC,EACpD,QAAUhB,CAAAA,QAAAA,CAASC,SAASc,MAAOhB,CAAAA,MAAAA,GAAUiB,GAAI,EAAC,CAAC,CAAC,CACpD,CAAA,YAAA,CAAcK,SAAU,CAAA,OAAA,CAAQ,IAAI,CAAA,CACpC,cAAgBrB,CAAAA,QAAAA,CAASC,SAASmB,IAAK,EAAC,CAAC,CAAA,CACzC,eAAiBpB,CAAAA,QAAAA,CAASC,SAASmB,IAAK,EAAC,CAAC,CAC1C,CAAA,WAAA,CAAapB,SAASC,QAASI,CAAAA,CAAW,CAAC,CAAA,CAC3C,YAAcL,CAAAA,QAAAA,CAASC,SAASI,CAAW,CAAC,CAC5C,CAAA,WAAA,CAAaL,QAASC,CAAAA,QAAAA,CAASF,QAAQ,CAAC,CACxC,CAAA,aAAA,CAAeC,QAASC,CAAAA,QAAAA,CAASF,QAAQ,CAAC,CAC1C,CAAA,MAAA,CAAQuB,CACR,CAAA,UAAA,CAAYvB,QACZ,CAAA,YAAA,CAAcA,MAAO,EAAA,CACrB,UAAYC,CAAAA,QAAAA,CAASC,SAASF,MAAO,EAAC,CAAC,CAAA,CACvC,WAAaC,CAAAA,QAAAA,CAASC,SAASF,MAAO,EAAC,CAAC,CAC1C,CAAC","file":"chunk-XMYZV7TD.js","sourcesContent":["import {\n object,\n string,\n uuid,\n number,\n array,\n type z,\n record,\n any,\n enum as zodEnum,\n optional,\n nullable,\n boolean\n} from \"zod\";\n\nimport { AssetTypeSchema, StatusSchema } from \"./common\";\nimport {\n AssetMetadataSchema,\n AssetSchema,\n CreateAssetSchema,\n normalizeAssetConfigForParsing,\n} from \"./assets\";\n\nconst AuthType = zodEnum([\"Personal Access Token\", \"Ouro\", \"None\", \"OAuth 2.0\"]);\n\nconst BaseServiceMetadataSchema = object({\n authentication: AuthType,\n base_url: string(),\n version: optional(nullable(string())),\n spec_path: optional(nullable(string())),\n spec_url: optional(nullable(string())),\n auth_url: optional(nullable(string())),\n});\n\nconst ServiceMetadataSchema = BaseServiceMetadataSchema.extend(\n AssetMetadataSchema.partial().shape\n);\n\nconst ServiceSchema = AssetSchema.extend({\n asset_type: AssetTypeSchema.refine((x) => \"service\" === x),\n metadata: ServiceMetadataSchema,\n});\n\nconst CreateServiceSchema = CreateAssetSchema.extend({\n asset_type: AssetTypeSchema.refine((x) => \"service\" === x),\n metadata: ServiceMetadataSchema,\n}).transform((value) => normalizeAssetConfigForParsing(value));\n\nconst UpdateServiceSchema = ServiceSchema.partial()\n .omit({\n user_id: true,\n id: true,\n created_at: true,\n last_updated: true,\n organization: true,\n user: true,\n team: true,\n slug: true,\n })\n .extend({\n last_updated: string().default(() => new Date().toISOString()),\n })\n .transform((value) => normalizeAssetConfigForParsing(value));\n\nconst RouteDetailSchema = object({\n id: string(),\n user_id: string(),\n service_id: string(),\n path: string(),\n method: zodEnum([\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\"]),\n summary: optional(nullable(string())),\n parameters: optional(nullable(array(record(string(), any())))),\n request_body: optional(nullable(record(string(), any()))),\n responses: optional(nullable(array(record(string(), any())))),\n input_type: optional(nullable(zodEnum([\"file\", \"dataset\", \"post\"]))),\n input_filter: optional(nullable(zodEnum([\"audio\", \"video\", \"image\", \"pdf\", \"3d model\", \"atomic structure\"]))),\n input_file_extension: optional(nullable(string())),\n input_file_extensions: optional(nullable(array(string()))),\n output_type: optional(nullable(zodEnum([\"file\", \"dataset\", \"post\"]))),\n output_file_extension: optional(nullable(string())),\n security: optional(nullable(record(string(), any()))),\n rate_limit: optional(nullable(number())),\n last_updated: string(),\n});\n\nconst RouteSchema = AssetSchema.extend({\n asset_type: AssetTypeSchema.refine((x) => \"route\" === x),\n route: RouteDetailSchema,\n});\n\nconst ActionSchema = object({\n id: uuid(),\n user_id: uuid(),\n route_id: uuid(),\n metadata: optional(nullable(record(string(), any()))),\n response: optional(nullable(record(string(), any()))),\n side_effects: boolean().default(true),\n input_asset_id: optional(nullable(uuid())),\n output_asset_id: optional(nullable(uuid())),\n input_asset: optional(nullable(AssetSchema)),\n output_asset: optional(nullable(AssetSchema)),\n webhook_url: optional(nullable(string())),\n webhook_token: optional(nullable(string())),\n status: StatusSchema,\n created_at: string(),\n last_updated: string(),\n started_at: optional(nullable(string())),\n finished_at: optional(nullable(string())),\n});\n\nexport { RouteSchema, ServiceSchema, CreateServiceSchema, UpdateServiceSchema, ActionSchema };\nexport type Service = z.infer<typeof ServiceSchema>;\nexport type Route = z.infer<typeof RouteSchema>;\nexport type RouteDetail = z.infer<typeof RouteDetailSchema>;\nexport type AuthType = z.infer<typeof AuthType>;\nexport type Action = z.infer<typeof ActionSchema>;\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {b,c as c$1,d as d$1,a as a$1}from'./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {b,c as c$1,d as d$1,a as a$1}from'./chunk-KZOOYWQ7.js';import {a}from'./chunk-7ABFUHWW.js';import {lazy,object,optional,string,array,record,any,literal,nullable,boolean,number}from'zod';var h=lazy(()=>object({type:string(),content:optional(array(h)),attrs:optional(record(string(),any())),marks:optional(array(object({type:string(),attrs:optional(record(string(),any()))}))),text:optional(string())})),c=object({type:literal("doc"),content:array(h)}),P=object({json:c,text:string()}).default({json:{type:"doc",content:[]},text:""}),T=object({}),C=T.extend(b.partial().shape),d=c$1.extend({name:nullable(string()),asset_type:a.refine(t=>["post","comment"].includes(t)),metadata:C,preview:c.default({type:"doc",content:[]}),content:P}),A=d$1.extend({asset_type:literal("post").default("post"),name:string().optional().nullable().default("").transform(t=>t==null?void 0:t.trim()).transform(t=>t||null),preview:c}).transform(t=>a$1(t)),g=d.extend({content:optional(nullable(P.default({json:{type:"doc",content:[]},text:""}))),reactions:array(record(string(),any())).default([]),views:number().default(0),commentCount:number().default(0),pinned:boolean().default(false)}),j=array(g),w=array(d),v=d.partial().omit({user_id:true,id:true,created_at:true,last_updated:true,content:true,organization:true,user:true,team:true,slug:true}).extend({last_updated:string().default(()=>new Date().toISOString())}).transform(t=>a$1(t));export{c as a,P as b,d as c,A as d,g as e,j as f,w as g,v as h};//# sourceMappingURL=chunk-XWUYZSVO.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-XWUYZSVO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/schema/posts.ts"],"names":["TipTapNode","lazy","object","string","optional","array","record","any","TipTapSchema","literal","ContentSchema","BasePostMetadataSchema","PostMetadataSchema","AssetMetadataSchema","PostSchema","AssetSchema","nullable","AssetTypeSchema","x","CreatePostSchema","CreateAssetSchema","value","normalizeAssetConfigForParsing","ReadPostSchema","number","boolean","ReadPostsSchema","ListPostsSchema","UpdatePostSchema"],"mappings":"kMAwBMA,IAAAA,CAAAA,CAA2BC,KAAK,IACpCC,MAAAA,CAAO,CACL,IAAA,CAAMC,QACN,CAAA,OAAA,CAASC,QAASC,CAAAA,KAAAA,CAAML,CAAU,CAAC,CAAA,CACnC,KAAOI,CAAAA,QAAAA,CAASE,OAAOH,MAAO,EAAA,CAAGI,GAAI,EAAC,CAAC,CACvC,CAAA,KAAA,CAAOH,QACLC,CAAAA,KAAAA,CACEH,OAAO,CACL,IAAA,CAAMC,MAAO,EAAA,CACb,MAAOC,QAASE,CAAAA,MAAAA,CAAOH,MAAO,EAAA,CAAGI,KAAK,CAAC,CACzC,CAAC,CACH,CACF,CAAA,CACA,IAAMH,CAAAA,QAAAA,CAASD,QAAQ,CACzB,CAAC,CACH,EAEMK,CAAeN,CAAAA,MAAAA,CAAO,CAC1B,IAAA,CAAMO,QAAQ,KAAK,CAAA,CACnB,OAASJ,CAAAA,KAAAA,CAAML,CAAU,CAC3B,CAAC,CAEKU,CAAAA,CAAAA,CAAgBR,OAAO,CAC3B,IAAA,CAAMM,CACN,CAAA,IAAA,CAAML,QACR,CAAC,CAAE,CAAA,OAAA,CAAQ,CAAE,IAAM,CAAA,CAAE,IAAM,CAAA,KAAA,CAAO,QAAS,EAAG,CAAG,CAAA,IAAA,CAAM,EAA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AAUI,GAAI,EAAC,CAAC,CAAA,CAAE,QAAQ,EAAE,CACpD,CAAA,KAAA,CAAOiB,QAAS,CAAA,OAAA,CAAQ,CAAC,CAAA,CACzB,aAAcA,MAAO,EAAA,CAAE,OAAQ,CAAA,CAAC,EAGhC,MAAQC,CAAAA,OAAAA,EAAU,CAAA,OAAA,CAAQ,KAAK,CACjC,CAAC,CAEKC,CAAAA,CAAAA,CAAkBrB,MAAMkB,CAAc,CAAA,CAEtCI,CAAkBtB,CAAAA,KAAAA,CAAMS,CAAU,CAElCc,CAAAA,CAAAA,CAAmBd,CAAW,CAAA,OAAA,GACjC,IAAK,CAAA,CACJ,OAAS,CAAA,IAAA,CACT,GAAI,IACJ,CAAA,UAAA,CAAY,IACZ,CAAA,YAAA,CAAc,KACd,OAAS,CAAA,IAAA,CACT,YAAc,CAAA,IAAA,CACd,KAAM,IACN,CAAA,IAAA,CAAM,IACN,CAAA,IAAA,CAAM,IACR,CAAC,CAAA,CACA,MAAO,CAAA,CACN,aAAcX,MAAO,EAAA,CAAE,OAAQ,CAAA,IAAM,IAAI,IAAK,EAAA,CAAE,WAAY,EAAC,CAC/D,CAAC,CAAA,CACA,UAAWkB,CAAUC,EAAAA,GAAAA,CAA+BD,CAAK,CAAC","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/schema/posts.ts"],"names":["TipTapNode","lazy","object","string","optional","array","record","any","TipTapSchema","literal","ContentSchema","BasePostMetadataSchema","PostMetadataSchema","AssetMetadataSchema","PostSchema","AssetSchema","nullable","AssetTypeSchema","x","CreatePostSchema","CreateAssetSchema","value","normalizeAssetConfigForParsing","ReadPostSchema","number","boolean","ReadPostsSchema","ListPostsSchema","UpdatePostSchema"],"mappings":"kMAwBMA,IAAAA,CAAAA,CAA2BC,KAAK,IACpCC,MAAAA,CAAO,CACL,IAAA,CAAMC,QACN,CAAA,OAAA,CAASC,QAASC,CAAAA,KAAAA,CAAML,CAAU,CAAC,CAAA,CACnC,KAAOI,CAAAA,QAA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A,MAAO,CAAA,CACN,aAAcX,MAAO,EAAA,CAAE,OAAQ,CAAA,IAAM,IAAI,IAAK,EAAA,CAAE,WAAY,EAAC,CAC/D,CAAC,CAAA,CACA,UAAWkB,CAAUC,EAAAA,GAAAA,CAA+BD,CAAK,CAAC","file":"chunk-XWUYZSVO.js","sourcesContent":["import {\n object,\n string,\n number,\n array,\n lazy,\n literal,\n record,\n type z,\n any,\n optional,\n nullable,\n boolean,\n type ZodType\n} from \"zod\";\n\nimport {\n AssetMetadataSchema,\n AssetSchema,\n CreateAssetSchema,\n normalizeAssetConfigForParsing,\n} from \"./assets\";\nimport { AssetTypeSchema } from \"./common\";\n\nconst TipTapNode: ZodType<any> = lazy(() =>\n object({\n type: string(),\n content: optional(array(TipTapNode)),\n attrs: optional(record(string(), any())),\n marks: optional(\n array(\n object({\n type: string(),\n attrs: optional(record(string(), any())),\n })\n )\n ),\n text: optional(string()), // For text nodes\n })\n);\n\nconst TipTapSchema = object({\n type: literal(\"doc\"),\n content: array(TipTapNode),\n});\n\nconst ContentSchema = object({\n json: TipTapSchema,\n text: string(),\n}).default({ json: { type: \"doc\", content: [] }, text: \"\" });\n\nconst BasePostMetadataSchema = object({})\n\nconst PostMetadataSchema = BasePostMetadataSchema.extend(\n AssetMetadataSchema.partial().shape\n);\n\nconst PostSchema = AssetSchema.extend({\n name: nullable(string()),\n asset_type: AssetTypeSchema.refine((x) => [\"post\", \"comment\"].includes(x)),\n metadata: PostMetadataSchema,\n // TODO: make this ContentSchema\n preview: TipTapSchema.default({ type: \"doc\", content: [] }),\n content: ContentSchema,\n\n});\n\nconst CreatePostSchema = CreateAssetSchema.extend({\n asset_type: literal(\"post\").default(\"post\"),\n name: string()\n .optional()\n .nullable()\n .default(\"\")\n .transform((x) => x?.trim())\n .transform((x) => x || null),\n preview: TipTapSchema,\n}).transform((value) => normalizeAssetConfigForParsing(value));\n\nconst ReadPostSchema = PostSchema.extend({\n content: optional(\n nullable(\n ContentSchema.default({\n json: { type: \"doc\", content: [] },\n text: \"\",\n })\n )\n ),\n reactions: array(record(string(), any())).default([]),\n views: number().default(0),\n commentCount: number().default(0),\n // We have this on asset now\n // parent: ConnectionSchema.optional().nullable(),\n pinned: boolean().default(false),\n});\n\nconst ReadPostsSchema = array(ReadPostSchema);\n\nconst ListPostsSchema = array(PostSchema);\n\nconst UpdatePostSchema = PostSchema.partial()\n .omit({\n user_id: true,\n id: true,\n created_at: true,\n last_updated: true,\n content: true,\n organization: true,\n user: true,\n team: true,\n slug: true,\n })\n .extend({\n last_updated: string().default(() => new Date().toISOString()),\n })\n .transform((value) => normalizeAssetConfigForParsing(value));\n\nexport {\n TipTapSchema,\n ContentSchema,\n PostSchema,\n CreatePostSchema,\n ListPostsSchema,\n ReadPostSchema,\n ReadPostsSchema,\n UpdatePostSchema,\n};\nexport type Post = z.infer<typeof PostSchema>;\nexport type CreatePost = z.infer<typeof CreatePostSchema>;\nexport type ListPosts = z.infer<typeof ListPostsSchema>;\nexport type ReadPost = z.infer<typeof ReadPostSchema>;\nexport type ReadPosts = z.infer<typeof ReadPostsSchema>;\nexport type UpdatePost = z.infer<typeof UpdatePostSchema>;\nexport type Content = z.infer<typeof ContentSchema>;\nexport type TipTap = z.infer<typeof TipTapSchema>;\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkDHQJ2FCF_cjs=require('./chunk-DHQJ2FCF.cjs'),chunkVGNECRJJ_cjs=require('./chunk-VGNECRJJ.cjs'),chunkW3XNHFD6_cjs=require('./chunk-W3XNHFD6.cjs'),chunkYB33F7QJ_cjs=require('./chunk-YB33F7QJ.cjs'),chunkOILLE36G_cjs=require('./chunk-OILLE36G.cjs'),chunk6VIPPUJT_cjs=require('./chunk-6VIPPUJT.cjs'),chunkT4BUMCXS_cjs=require('./chunk-T4BUMCXS.cjs'),chunkMFRUMVY6_cjs=require('./chunk-MFRUMVY6.cjs'),chunk6MSNL636_cjs=require('./chunk-6MSNL636.cjs'),chunkUORCDNEC_cjs=require('./chunk-UORCDNEC.cjs'),chunkSRHZ5S5N_cjs=require('./chunk-SRHZ5S5N.cjs'),chunkJ6IXOTYT_cjs=require('./chunk-J6IXOTYT.cjs'),chunkZ37VUR4P_cjs=require('./chunk-Z37VUR4P.cjs'),chunkC5CSA2IE_cjs=require('./chunk-C5CSA2IE.cjs'),chunkCZ53CZIQ_cjs=require('./chunk-CZ53CZIQ.cjs'),chunk4JJ6JLXK_cjs=require('./chunk-4JJ6JLXK.cjs'),chunkBDVKX5EB_cjs=require('./chunk-BDVKX5EB.cjs'),chunkLAMEJFKJ_cjs=require('./chunk-LAMEJFKJ.cjs'),chunkGY6SLMMJ_cjs=require('./chunk-GY6SLMMJ.cjs'),chunkMKMFDR3M_cjs=require('./chunk-MKMFDR3M.cjs');require('./chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"createNameUrlSlug",{enumerable:true,get:function(){return chunkDHQJ2FCF_cjs.a}});Object.defineProperty(exports,"createUrlSlug",{enumerable:true,get:function(){return chunkDHQJ2FCF_cjs.b}});Object.defineProperty(exports,"getAssetUrl",{enumerable:true,get:function(){return chunkDHQJ2FCF_cjs.c}});Object.defineProperty(exports,"filterListToString",{enumerable:true,get:function(){return chunkVGNECRJJ_cjs.a}});Object.defineProperty(exports,"getReferencesInContent",{enumerable:true,get:function(){return chunkW3XNHFD6_cjs.c}});Object.defineProperty(exports,"parseAssetLinkShorthand",{enumerable:true,get:function(){return chunkW3XNHFD6_cjs.a}});Object.defineProperty(exports,"parseOuroAssetUrl",{enumerable:true,get:function(){return chunkW3XNHFD6_cjs.b}});Object.defineProperty(exports,"parseMarkdown",{enumerable:true,get:function(){return chunkYB33F7QJ_cjs.a}});Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkOILLE36G_cjs.b}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkOILLE36G_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkOILLE36G_cjs.c}});Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunk6VIPPUJT_cjs.a}});Object.defineProperty(exports,"reactionSchema",{enumerable:true,get:function(){return chunkT4BUMCXS_cjs.a}});Object.defineProperty(exports,"CreateReplicationSchema",{enumerable:true,get:function(){return chunkMFRUMVY6_cjs.b}});Object.defineProperty(exports,"ReplicationSchema",{enumerable:true,get:function(){return chunkMFRUMVY6_cjs.a}});Object.defineProperty(exports,"UpdateReplicationSchema",{enumerable:true,get:function(){return chunkMFRUMVY6_cjs.c}});Object.defineProperty(exports,"ActionSchema",{enumerable:true,get:function(){return chunk6MSNL636_cjs.e}});Object.defineProperty(exports,"CreateServiceSchema",{enumerable:true,get:function(){return chunk6MSNL636_cjs.b}});Object.defineProperty(exports,"RouteSchema",{enumerable:true,get:function(){return chunk6MSNL636_cjs.d}});Object.defineProperty(exports,"ServiceSchema",{enumerable:true,get:function(){return chunk6MSNL636_cjs.a}});Object.defineProperty(exports,"UpdateServiceSchema",{enumerable:true,get:function(){return chunk6MSNL636_cjs.c}});Object.defineProperty(exports,"AssetTagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.e}});Object.defineProperty(exports,"AssetTagWithTagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.f}});Object.defineProperty(exports,"CreateAssetTagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.g}});Object.defineProperty(exports,"TagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.c}});Object.defineProperty(exports,"TagSourceSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.b}});Object.defineProperty(exports,"TagTypeSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.a}});Object.defineProperty(exports,"TagWithParentSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.d}});Object.defineProperty(exports,"TagsByTypeSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.h}});Object.defineProperty(exports,"BlueprintSchema",{enumerable:true,get:function(){return chunkSRHZ5S5N_cjs.a}});Object.defineProperty(exports,"CreateBlueprintSchema",{enumerable:true,get:function(){return chunkSRHZ5S5N_cjs.b}});Object.defineProperty(exports,"UpdateBlueprintSchema",{enumerable:true,get:function(){return chunkSRHZ5S5N_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkJ6IXOTYT_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkJ6IXOTYT_cjs.b}});Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkZ37VUR4P_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkZ37VUR4P_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkZ37VUR4P_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkZ37VUR4P_cjs.c}});Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkC5CSA2IE_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.b}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.c}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.a}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.d}});Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunk4JJ6JLXK_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunk4JJ6JLXK_cjs.c}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunk4JJ6JLXK_cjs.d}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunk4JJ6JLXK_cjs.e}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunk4JJ6JLXK_cjs.a}});Object.defineProperty(exports,"CreateTeamSchema",{enumerable:true,get:function(){return chunkBDVKX5EB_cjs.b}});Object.defineProperty(exports,"ReadTeamSchema",{enumerable:true,get:function(){return chunkBDVKX5EB_cjs.c}});Object.defineProperty(exports,"ReadTeamsSchema",{enumerable:true,get:function(){return chunkBDVKX5EB_cjs.d}});Object.defineProperty(exports,"TeamSchema",{enumerable:true,get:function(){return chunkBDVKX5EB_cjs.a}});Object.defineProperty(exports,"UpdateTeamSchema",{enumerable:true,get:function(){return chunkBDVKX5EB_cjs.e}});Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunkLAMEJFKJ_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunkLAMEJFKJ_cjs.d}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunkLAMEJFKJ_cjs.c}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunkLAMEJFKJ_cjs.b}});Object.defineProperty(exports,"ActorTypeSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.a}});Object.defineProperty(exports,"ProfileSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.b}});Object.defineProperty(exports,"ReadProfileSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.c}});Object.defineProperty(exports,"UpdateProfileSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.d}});Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.f}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunkMKMFDR3M_cjs.b}});//# sourceMappingURL=index.cjs.map
|
|
1
|
+
'use strict';var chunkDHQJ2FCF_cjs=require('./chunk-DHQJ2FCF.cjs'),chunkVGNECRJJ_cjs=require('./chunk-VGNECRJJ.cjs'),chunkL2EAP5SJ_cjs=require('./chunk-L2EAP5SJ.cjs'),chunkN6AJDETI_cjs=require('./chunk-N6AJDETI.cjs'),chunkOFSSOFOC_cjs=require('./chunk-OFSSOFOC.cjs'),chunk7RF362MN_cjs=require('./chunk-7RF362MN.cjs'),chunkT4BUMCXS_cjs=require('./chunk-T4BUMCXS.cjs'),chunk6TOGDJKP_cjs=require('./chunk-6TOGDJKP.cjs'),chunkFNW6DDNP_cjs=require('./chunk-FNW6DDNP.cjs'),chunkUORCDNEC_cjs=require('./chunk-UORCDNEC.cjs'),chunk6AK3RVZR_cjs=require('./chunk-6AK3RVZR.cjs'),chunkP5JYABNP_cjs=require('./chunk-P5JYABNP.cjs'),chunkCVFVOARW_cjs=require('./chunk-CVFVOARW.cjs'),chunkV5DSXK34_cjs=require('./chunk-V5DSXK34.cjs'),chunkKYK27OHG_cjs=require('./chunk-KYK27OHG.cjs'),chunkFQ4F7DQH_cjs=require('./chunk-FQ4F7DQH.cjs'),chunkIW4MZW5P_cjs=require('./chunk-IW4MZW5P.cjs'),chunkOIPOIY6M_cjs=require('./chunk-OIPOIY6M.cjs'),chunkGY6SLMMJ_cjs=require('./chunk-GY6SLMMJ.cjs'),chunk3ZHWBPGA_cjs=require('./chunk-3ZHWBPGA.cjs');require('./chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"createNameUrlSlug",{enumerable:true,get:function(){return chunkDHQJ2FCF_cjs.a}});Object.defineProperty(exports,"createUrlSlug",{enumerable:true,get:function(){return chunkDHQJ2FCF_cjs.b}});Object.defineProperty(exports,"getAssetUrl",{enumerable:true,get:function(){return chunkDHQJ2FCF_cjs.c}});Object.defineProperty(exports,"filterListToString",{enumerable:true,get:function(){return chunkVGNECRJJ_cjs.a}});Object.defineProperty(exports,"getReferencesInContent",{enumerable:true,get:function(){return chunkL2EAP5SJ_cjs.e}});Object.defineProperty(exports,"normalizeViewMode",{enumerable:true,get:function(){return chunkL2EAP5SJ_cjs.a}});Object.defineProperty(exports,"parseAssetLinkShorthand",{enumerable:true,get:function(){return chunkL2EAP5SJ_cjs.c}});Object.defineProperty(exports,"parseOuroAssetUrl",{enumerable:true,get:function(){return chunkL2EAP5SJ_cjs.d}});Object.defineProperty(exports,"resolveDisplayConfig",{enumerable:true,get:function(){return chunkL2EAP5SJ_cjs.b}});Object.defineProperty(exports,"parseMarkdown",{enumerable:true,get:function(){return chunkN6AJDETI_cjs.a}});Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkOFSSOFOC_cjs.b}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkOFSSOFOC_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkOFSSOFOC_cjs.c}});Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunk7RF362MN_cjs.a}});Object.defineProperty(exports,"reactionSchema",{enumerable:true,get:function(){return chunkT4BUMCXS_cjs.a}});Object.defineProperty(exports,"CreateReplicationSchema",{enumerable:true,get:function(){return chunk6TOGDJKP_cjs.b}});Object.defineProperty(exports,"ReplicationSchema",{enumerable:true,get:function(){return chunk6TOGDJKP_cjs.a}});Object.defineProperty(exports,"UpdateReplicationSchema",{enumerable:true,get:function(){return chunk6TOGDJKP_cjs.c}});Object.defineProperty(exports,"ActionSchema",{enumerable:true,get:function(){return chunkFNW6DDNP_cjs.e}});Object.defineProperty(exports,"CreateServiceSchema",{enumerable:true,get:function(){return chunkFNW6DDNP_cjs.b}});Object.defineProperty(exports,"RouteSchema",{enumerable:true,get:function(){return chunkFNW6DDNP_cjs.d}});Object.defineProperty(exports,"ServiceSchema",{enumerable:true,get:function(){return chunkFNW6DDNP_cjs.a}});Object.defineProperty(exports,"UpdateServiceSchema",{enumerable:true,get:function(){return chunkFNW6DDNP_cjs.c}});Object.defineProperty(exports,"AssetTagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.e}});Object.defineProperty(exports,"AssetTagWithTagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.f}});Object.defineProperty(exports,"CreateAssetTagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.g}});Object.defineProperty(exports,"TagSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.c}});Object.defineProperty(exports,"TagSourceSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.b}});Object.defineProperty(exports,"TagTypeSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.a}});Object.defineProperty(exports,"TagWithParentSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.d}});Object.defineProperty(exports,"TagsByTypeSchema",{enumerable:true,get:function(){return chunkUORCDNEC_cjs.h}});Object.defineProperty(exports,"BlueprintSchema",{enumerable:true,get:function(){return chunk6AK3RVZR_cjs.a}});Object.defineProperty(exports,"CreateBlueprintSchema",{enumerable:true,get:function(){return chunk6AK3RVZR_cjs.b}});Object.defineProperty(exports,"UpdateBlueprintSchema",{enumerable:true,get:function(){return chunk6AK3RVZR_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkP5JYABNP_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkP5JYABNP_cjs.b}});Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.c}});Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkV5DSXK34_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkKYK27OHG_cjs.b}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkKYK27OHG_cjs.c}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkKYK27OHG_cjs.a}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkKYK27OHG_cjs.d}});Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.c}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.d}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.e}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.a}});Object.defineProperty(exports,"CreateTeamSchema",{enumerable:true,get:function(){return chunkIW4MZW5P_cjs.b}});Object.defineProperty(exports,"ReadTeamSchema",{enumerable:true,get:function(){return chunkIW4MZW5P_cjs.c}});Object.defineProperty(exports,"ReadTeamsSchema",{enumerable:true,get:function(){return chunkIW4MZW5P_cjs.d}});Object.defineProperty(exports,"TeamSchema",{enumerable:true,get:function(){return chunkIW4MZW5P_cjs.a}});Object.defineProperty(exports,"UpdateTeamSchema",{enumerable:true,get:function(){return chunkIW4MZW5P_cjs.e}});Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunkOIPOIY6M_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunkOIPOIY6M_cjs.d}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunkOIPOIY6M_cjs.c}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunkOIPOIY6M_cjs.b}});Object.defineProperty(exports,"ActorTypeSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.a}});Object.defineProperty(exports,"ProfileSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.b}});Object.defineProperty(exports,"ReadProfileSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.c}});Object.defineProperty(exports,"UpdateProfileSchema",{enumerable:true,get:function(){return chunkGY6SLMMJ_cjs.d}});Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.f}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.b}});//# sourceMappingURL=index.cjs.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -17,5 +17,5 @@ export { AssetTag, AssetTagSchema, AssetTagWithTag, AssetTagWithTagSchema, Creat
|
|
|
17
17
|
export { filterListToString } from './utils/dataset.cjs';
|
|
18
18
|
export { createNameUrlSlug, createUrlSlug, getAssetUrl } from './utils/navigate.cjs';
|
|
19
19
|
export { parseMarkdown } from './utils/air/markdown-parser.cjs';
|
|
20
|
-
export { ExtractedContentAsset, getReferencesInContent, parseAssetLinkShorthand, parseOuroAssetUrl } from './utils/air/index.cjs';
|
|
20
|
+
export { DataFilter, DisplayConfig, ExtractedContentAsset, InlineAssetAttrs, getReferencesInContent, normalizeViewMode, parseAssetLinkShorthand, parseOuroAssetUrl, resolveDisplayConfig } from './utils/air/index.cjs';
|
|
21
21
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -17,5 +17,5 @@ export { AssetTag, AssetTagSchema, AssetTagWithTag, AssetTagWithTagSchema, Creat
|
|
|
17
17
|
export { filterListToString } from './utils/dataset.js';
|
|
18
18
|
export { createNameUrlSlug, createUrlSlug, getAssetUrl } from './utils/navigate.js';
|
|
19
19
|
export { parseMarkdown } from './utils/air/markdown-parser.js';
|
|
20
|
-
export { ExtractedContentAsset, getReferencesInContent, parseAssetLinkShorthand, parseOuroAssetUrl } from './utils/air/index.js';
|
|
20
|
+
export { DataFilter, DisplayConfig, ExtractedContentAsset, InlineAssetAttrs, getReferencesInContent, normalizeViewMode, parseAssetLinkShorthand, parseOuroAssetUrl, resolveDisplayConfig } from './utils/air/index.js';
|
|
21
21
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as createNameUrlSlug,b as createUrlSlug,c as getAssetUrl}from'./chunk-6RGIIOOP.js';export{a as filterListToString}from'./chunk-OJQM6MWS.js';export{
|
|
1
|
+
export{a as createNameUrlSlug,b as createUrlSlug,c as getAssetUrl}from'./chunk-6RGIIOOP.js';export{a as filterListToString}from'./chunk-OJQM6MWS.js';export{e as getReferencesInContent,a as normalizeViewMode,c as parseAssetLinkShorthand,d as parseOuroAssetUrl,b as resolveDisplayConfig}from'./chunk-PONEAJK7.js';export{a as parseMarkdown}from'./chunk-DE2Z5AOM.js';export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'./chunk-TGAK4B5M.js';export{a as NotificationSchema}from'./chunk-XIH622YH.js';export{a as reactionSchema}from'./chunk-WE6CXCEQ.js';export{b as CreateReplicationSchema,a as ReplicationSchema,c as UpdateReplicationSchema}from'./chunk-BU2S7UEL.js';export{e as ActionSchema,b as CreateServiceSchema,d as RouteSchema,a as ServiceSchema,c as UpdateServiceSchema}from'./chunk-XMYZV7TD.js';export{e as AssetTagSchema,f as AssetTagWithTagSchema,g as CreateAssetTagSchema,c as TagSchema,b as TagSourceSchema,a as TagTypeSchema,d as TagWithParentSchema,h as TagsByTypeSchema}from'./chunk-EEXD7LGK.js';export{a as BlueprintSchema,b as CreateBlueprintSchema,c as UpdateBlueprintSchema}from'./chunk-JPCZIGX2.js';export{a as CommentSchema,b as CreateCommentSchema}from'./chunk-SKQ6BRPY.js';export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'./chunk-Q34MIANF.js';export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'./chunk-XWUYZSVO.js';export{b as CreateDatasetFromFileSchema,c as CreateDatasetFromSchemaSchema,a as DatasetSchema,d as updateDatasetSchema}from'./chunk-7SSENGQL.js';export{b as AssetMetadataSchema,c as AssetSchema,d as CreateAssetSchema,e as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'./chunk-KZOOYWQ7.js';export{b as CreateTeamSchema,c as ReadTeamSchema,d as ReadTeamsSchema,a as TeamSchema,e as UpdateTeamSchema}from'./chunk-WYHO26N6.js';export{a as ActorTypePolicySchema,d as MembershipSchema,c as OrganizationsSchema,b as SourcePolicySchema}from'./chunk-MB4EEZKP.js';export{a as ActorTypeSchema,b as ProfileSchema,c as ReadProfileSchema,d as UpdateProfileSchema}from'./chunk-3N56ERWF.js';export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,d as MonetizationSchema,i as PermissionSchema,e as PriceCurrencySchema,h as PurchaseAssetSchema,c as RoleSchema,k as SourceSchema,j as StatusSchema,b as VisibilitySchema}from'./chunk-7ABFUHWW.js';import'./chunk-DUBPWSCA.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/schema/assets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkFQ4F7DQH_cjs=require('../chunk-FQ4F7DQH.cjs');require('../chunk-IW4MZW5P.cjs'),require('../chunk-OIPOIY6M.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-3ZHWBPGA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.c}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.d}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.e}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkFQ4F7DQH_cjs.a}});//# sourceMappingURL=assets.cjs.map
|
|
2
2
|
//# sourceMappingURL=assets.cjs.map
|
package/dist/schema/assets.d.cts
CHANGED
|
@@ -259,6 +259,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
259
259
|
success: "success";
|
|
260
260
|
queued: "queued";
|
|
261
261
|
"in-progress": "in-progress";
|
|
262
|
+
"timed-out": "timed-out";
|
|
262
263
|
error: "error";
|
|
263
264
|
}>;
|
|
264
265
|
source: z.ZodEnum<{
|
|
@@ -333,6 +334,7 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
333
334
|
success: "success";
|
|
334
335
|
queued: "queued";
|
|
335
336
|
"in-progress": "in-progress";
|
|
337
|
+
"timed-out": "timed-out";
|
|
336
338
|
error: "error";
|
|
337
339
|
}>>>;
|
|
338
340
|
source: z.ZodDefault<z.ZodEnum<{
|
|
@@ -407,6 +409,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
407
409
|
success: "success";
|
|
408
410
|
queued: "queued";
|
|
409
411
|
"in-progress": "in-progress";
|
|
412
|
+
"timed-out": "timed-out";
|
|
410
413
|
error: "error";
|
|
411
414
|
}>>;
|
|
412
415
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
@@ -451,7 +454,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
451
454
|
} | null | undefined;
|
|
452
455
|
source?: "api" | "web" | undefined;
|
|
453
456
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
454
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
457
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
455
458
|
parent_id?: string | null | undefined;
|
|
456
459
|
license_id?: string | undefined;
|
|
457
460
|
license?: Record<string, any> | undefined;
|
|
@@ -488,7 +491,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
488
491
|
} | null | undefined;
|
|
489
492
|
source?: "api" | "web" | undefined;
|
|
490
493
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
491
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
494
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
492
495
|
parent_id?: string | null | undefined;
|
|
493
496
|
license_id?: string | undefined;
|
|
494
497
|
license?: Record<string, any> | undefined;
|
package/dist/schema/assets.d.ts
CHANGED
|
@@ -259,6 +259,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
259
259
|
success: "success";
|
|
260
260
|
queued: "queued";
|
|
261
261
|
"in-progress": "in-progress";
|
|
262
|
+
"timed-out": "timed-out";
|
|
262
263
|
error: "error";
|
|
263
264
|
}>;
|
|
264
265
|
source: z.ZodEnum<{
|
|
@@ -333,6 +334,7 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
333
334
|
success: "success";
|
|
334
335
|
queued: "queued";
|
|
335
336
|
"in-progress": "in-progress";
|
|
337
|
+
"timed-out": "timed-out";
|
|
336
338
|
error: "error";
|
|
337
339
|
}>>>;
|
|
338
340
|
source: z.ZodDefault<z.ZodEnum<{
|
|
@@ -407,6 +409,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
407
409
|
success: "success";
|
|
408
410
|
queued: "queued";
|
|
409
411
|
"in-progress": "in-progress";
|
|
412
|
+
"timed-out": "timed-out";
|
|
410
413
|
error: "error";
|
|
411
414
|
}>>;
|
|
412
415
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
@@ -451,7 +454,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
451
454
|
} | null | undefined;
|
|
452
455
|
source?: "api" | "web" | undefined;
|
|
453
456
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
454
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
457
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
455
458
|
parent_id?: string | null | undefined;
|
|
456
459
|
license_id?: string | undefined;
|
|
457
460
|
license?: Record<string, any> | undefined;
|
|
@@ -488,7 +491,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
488
491
|
} | null | undefined;
|
|
489
492
|
source?: "api" | "web" | undefined;
|
|
490
493
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
491
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
494
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
492
495
|
parent_id?: string | null | undefined;
|
|
493
496
|
license_id?: string | undefined;
|
|
494
497
|
license?: Record<string, any> | undefined;
|
package/dist/schema/assets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as AssetMetadataSchema,c as AssetSchema,d as CreateAssetSchema,e as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-
|
|
1
|
+
export{b as AssetMetadataSchema,c as AssetSchema,d as CreateAssetSchema,e as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-KZOOYWQ7.js';import'../chunk-WYHO26N6.js';import'../chunk-MB4EEZKP.js';import'../chunk-3N56ERWF.js';import'../chunk-7ABFUHWW.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=assets.js.map
|
|
2
2
|
//# sourceMappingURL=assets.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk6AK3RVZR_cjs=require('../chunk-6AK3RVZR.cjs');require('../chunk-FQ4F7DQH.cjs'),require('../chunk-IW4MZW5P.cjs'),require('../chunk-OIPOIY6M.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-3ZHWBPGA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"BlueprintSchema",{enumerable:true,get:function(){return chunk6AK3RVZR_cjs.a}});Object.defineProperty(exports,"CreateBlueprintSchema",{enumerable:true,get:function(){return chunk6AK3RVZR_cjs.b}});Object.defineProperty(exports,"UpdateBlueprintSchema",{enumerable:true,get:function(){return chunk6AK3RVZR_cjs.c}});//# sourceMappingURL=blueprints.cjs.map
|
|
2
2
|
//# sourceMappingURL=blueprints.cjs.map
|
|
@@ -212,6 +212,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
212
212
|
success: "success";
|
|
213
213
|
queued: "queued";
|
|
214
214
|
"in-progress": "in-progress";
|
|
215
|
+
"timed-out": "timed-out";
|
|
215
216
|
error: "error";
|
|
216
217
|
}>;
|
|
217
218
|
source: z.ZodEnum<{
|
|
@@ -474,6 +475,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
|
474
475
|
success: "success";
|
|
475
476
|
queued: "queued";
|
|
476
477
|
"in-progress": "in-progress";
|
|
478
|
+
"timed-out": "timed-out";
|
|
477
479
|
error: "error";
|
|
478
480
|
}>>;
|
|
479
481
|
source: z.ZodOptional<z.ZodEnum<{
|
|
@@ -637,7 +639,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
|
637
639
|
stripe_price_id?: string | null | undefined;
|
|
638
640
|
stripe_meter_id?: string | null | undefined;
|
|
639
641
|
preview?: Record<string, any>[] | null | undefined;
|
|
640
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
642
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
641
643
|
source?: "api" | "web" | undefined;
|
|
642
644
|
created_at?: string | undefined;
|
|
643
645
|
last_updated?: string | undefined;
|
|
@@ -777,7 +779,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
|
777
779
|
stripe_price_id?: string | null | undefined;
|
|
778
780
|
stripe_meter_id?: string | null | undefined;
|
|
779
781
|
preview?: Record<string, any>[] | null | undefined;
|
|
780
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
782
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
781
783
|
source?: "api" | "web" | undefined;
|
|
782
784
|
created_at?: string | undefined;
|
|
783
785
|
last_updated?: string | undefined;
|
|
@@ -212,6 +212,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
212
212
|
success: "success";
|
|
213
213
|
queued: "queued";
|
|
214
214
|
"in-progress": "in-progress";
|
|
215
|
+
"timed-out": "timed-out";
|
|
215
216
|
error: "error";
|
|
216
217
|
}>;
|
|
217
218
|
source: z.ZodEnum<{
|
|
@@ -474,6 +475,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
|
474
475
|
success: "success";
|
|
475
476
|
queued: "queued";
|
|
476
477
|
"in-progress": "in-progress";
|
|
478
|
+
"timed-out": "timed-out";
|
|
477
479
|
error: "error";
|
|
478
480
|
}>>;
|
|
479
481
|
source: z.ZodOptional<z.ZodEnum<{
|
|
@@ -637,7 +639,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
|
637
639
|
stripe_price_id?: string | null | undefined;
|
|
638
640
|
stripe_meter_id?: string | null | undefined;
|
|
639
641
|
preview?: Record<string, any>[] | null | undefined;
|
|
640
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
642
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
641
643
|
source?: "api" | "web" | undefined;
|
|
642
644
|
created_at?: string | undefined;
|
|
643
645
|
last_updated?: string | undefined;
|
|
@@ -777,7 +779,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
|
777
779
|
stripe_price_id?: string | null | undefined;
|
|
778
780
|
stripe_meter_id?: string | null | undefined;
|
|
779
781
|
preview?: Record<string, any>[] | null | undefined;
|
|
780
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
782
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
781
783
|
source?: "api" | "web" | undefined;
|
|
782
784
|
created_at?: string | undefined;
|
|
783
785
|
last_updated?: string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as BlueprintSchema,b as CreateBlueprintSchema,c as UpdateBlueprintSchema}from'../chunk-
|
|
1
|
+
export{a as BlueprintSchema,b as CreateBlueprintSchema,c as UpdateBlueprintSchema}from'../chunk-JPCZIGX2.js';import'../chunk-KZOOYWQ7.js';import'../chunk-WYHO26N6.js';import'../chunk-MB4EEZKP.js';import'../chunk-3N56ERWF.js';import'../chunk-7ABFUHWW.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=blueprints.js.map
|
|
2
2
|
//# sourceMappingURL=blueprints.js.map
|
package/dist/schema/comments.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkP5JYABNP_cjs=require('../chunk-P5JYABNP.cjs');require('../chunk-FQ4F7DQH.cjs'),require('../chunk-IW4MZW5P.cjs'),require('../chunk-OIPOIY6M.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-3ZHWBPGA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkP5JYABNP_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkP5JYABNP_cjs.b}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|
|
@@ -224,6 +224,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
224
224
|
success: "success";
|
|
225
225
|
queued: "queued";
|
|
226
226
|
"in-progress": "in-progress";
|
|
227
|
+
"timed-out": "timed-out";
|
|
227
228
|
error: "error";
|
|
228
229
|
}>;
|
|
229
230
|
source: z.ZodEnum<{
|
|
@@ -444,6 +445,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
444
445
|
success: "success";
|
|
445
446
|
queued: "queued";
|
|
446
447
|
"in-progress": "in-progress";
|
|
448
|
+
"timed-out": "timed-out";
|
|
447
449
|
error: "error";
|
|
448
450
|
}>>;
|
|
449
451
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
@@ -595,7 +597,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
595
597
|
} | null | undefined;
|
|
596
598
|
source?: "api" | "web" | undefined;
|
|
597
599
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
598
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
600
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
599
601
|
parent_id?: string | null | undefined;
|
|
600
602
|
license_id?: string | undefined;
|
|
601
603
|
license?: Record<string, any> | undefined;
|
|
@@ -734,7 +736,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
734
736
|
} | null | undefined;
|
|
735
737
|
source?: "api" | "web" | undefined;
|
|
736
738
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
737
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
739
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
738
740
|
parent_id?: string | null | undefined;
|
|
739
741
|
license_id?: string | undefined;
|
|
740
742
|
license?: Record<string, any> | undefined;
|
|
@@ -224,6 +224,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
224
224
|
success: "success";
|
|
225
225
|
queued: "queued";
|
|
226
226
|
"in-progress": "in-progress";
|
|
227
|
+
"timed-out": "timed-out";
|
|
227
228
|
error: "error";
|
|
228
229
|
}>;
|
|
229
230
|
source: z.ZodEnum<{
|
|
@@ -444,6 +445,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
444
445
|
success: "success";
|
|
445
446
|
queued: "queued";
|
|
446
447
|
"in-progress": "in-progress";
|
|
448
|
+
"timed-out": "timed-out";
|
|
447
449
|
error: "error";
|
|
448
450
|
}>>;
|
|
449
451
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
@@ -595,7 +597,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
595
597
|
} | null | undefined;
|
|
596
598
|
source?: "api" | "web" | undefined;
|
|
597
599
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
598
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
600
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
599
601
|
parent_id?: string | null | undefined;
|
|
600
602
|
license_id?: string | undefined;
|
|
601
603
|
license?: Record<string, any> | undefined;
|
|
@@ -734,7 +736,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
734
736
|
} | null | undefined;
|
|
735
737
|
source?: "api" | "web" | undefined;
|
|
736
738
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
737
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
739
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
738
740
|
parent_id?: string | null | undefined;
|
|
739
741
|
license_id?: string | undefined;
|
|
740
742
|
license?: Record<string, any> | undefined;
|
package/dist/schema/comments.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-
|
|
1
|
+
export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-SKQ6BRPY.js';import'../chunk-KZOOYWQ7.js';import'../chunk-WYHO26N6.js';import'../chunk-MB4EEZKP.js';import'../chunk-3N56ERWF.js';import'../chunk-7ABFUHWW.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=comments.js.map
|
|
2
2
|
//# sourceMappingURL=comments.js.map
|
package/dist/schema/common.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk3ZHWBPGA_cjs=require('../chunk-3ZHWBPGA.cjs');Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.f}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.b}});//# sourceMappingURL=common.cjs.map
|
|
2
2
|
//# sourceMappingURL=common.cjs.map
|
package/dist/schema/common.d.cts
CHANGED
package/dist/schema/common.d.ts
CHANGED
package/dist/schema/common.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,d as MonetizationSchema,i as PermissionSchema,e as PriceCurrencySchema,h as PurchaseAssetSchema,c as RoleSchema,k as SourceSchema,j as StatusSchema,b as VisibilitySchema}from'../chunk-
|
|
1
|
+
export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,d as MonetizationSchema,i as PermissionSchema,e as PriceCurrencySchema,h as PurchaseAssetSchema,c as RoleSchema,k as SourceSchema,j as StatusSchema,b as VisibilitySchema}from'../chunk-7ABFUHWW.js';//# sourceMappingURL=common.js.map
|
|
2
2
|
//# sourceMappingURL=common.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkCVFVOARW_cjs=require('../chunk-CVFVOARW.cjs');require('../chunk-V5DSXK34.cjs'),require('../chunk-FQ4F7DQH.cjs'),require('../chunk-IW4MZW5P.cjs'),require('../chunk-OIPOIY6M.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-3ZHWBPGA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.c}});//# sourceMappingURL=conversations.cjs.map
|
|
2
2
|
//# sourceMappingURL=conversations.cjs.map
|
|
@@ -212,6 +212,7 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
212
212
|
success: "success";
|
|
213
213
|
queued: "queued";
|
|
214
214
|
"in-progress": "in-progress";
|
|
215
|
+
"timed-out": "timed-out";
|
|
215
216
|
error: "error";
|
|
216
217
|
}>;
|
|
217
218
|
source: z.ZodEnum<{
|
|
@@ -306,6 +307,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
306
307
|
success: "success";
|
|
307
308
|
queued: "queued";
|
|
308
309
|
"in-progress": "in-progress";
|
|
310
|
+
"timed-out": "timed-out";
|
|
309
311
|
error: "error";
|
|
310
312
|
}>>>;
|
|
311
313
|
source: z.ZodDefault<z.ZodEnum<{
|
|
@@ -346,7 +348,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
346
348
|
team_id: string | null;
|
|
347
349
|
org_id: string | null;
|
|
348
350
|
name: string;
|
|
349
|
-
state: "success" | "queued" | "in-progress" | "error";
|
|
351
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
350
352
|
source: "api" | "web";
|
|
351
353
|
created_at: string;
|
|
352
354
|
last_updated: string;
|
|
@@ -385,7 +387,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
385
387
|
team_id: string | null;
|
|
386
388
|
org_id: string | null;
|
|
387
389
|
name: string;
|
|
388
|
-
state: "success" | "queued" | "in-progress" | "error";
|
|
390
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
389
391
|
source: "api" | "web";
|
|
390
392
|
created_at: string;
|
|
391
393
|
last_updated: string;
|
|
@@ -464,6 +466,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
464
466
|
success: "success";
|
|
465
467
|
queued: "queued";
|
|
466
468
|
"in-progress": "in-progress";
|
|
469
|
+
"timed-out": "timed-out";
|
|
467
470
|
error: "error";
|
|
468
471
|
}>>>>;
|
|
469
472
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
|
|
@@ -507,7 +510,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
507
510
|
} | null | undefined;
|
|
508
511
|
source?: "api" | "web" | undefined;
|
|
509
512
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
510
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
513
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
511
514
|
parent_id?: string | null | undefined;
|
|
512
515
|
license_id?: string | undefined;
|
|
513
516
|
name_url_slug?: string | null | undefined;
|
|
@@ -543,7 +546,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
543
546
|
} | null | undefined;
|
|
544
547
|
source?: "api" | "web" | undefined;
|
|
545
548
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
546
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
549
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
547
550
|
parent_id?: string | null | undefined;
|
|
548
551
|
license_id?: string | undefined;
|
|
549
552
|
name_url_slug?: string | null | undefined;
|
|
@@ -585,6 +588,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
585
588
|
}>;
|
|
586
589
|
last_active: z.ZodString;
|
|
587
590
|
}, z.core.$strip>>>;
|
|
591
|
+
type: z.ZodDefault<z.ZodString>;
|
|
588
592
|
created_at: z.ZodString;
|
|
589
593
|
last_updated: z.ZodString;
|
|
590
594
|
viewers: z.ZodArray<z.ZodUUID>;
|
|
@@ -212,6 +212,7 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
212
212
|
success: "success";
|
|
213
213
|
queued: "queued";
|
|
214
214
|
"in-progress": "in-progress";
|
|
215
|
+
"timed-out": "timed-out";
|
|
215
216
|
error: "error";
|
|
216
217
|
}>;
|
|
217
218
|
source: z.ZodEnum<{
|
|
@@ -306,6 +307,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
306
307
|
success: "success";
|
|
307
308
|
queued: "queued";
|
|
308
309
|
"in-progress": "in-progress";
|
|
310
|
+
"timed-out": "timed-out";
|
|
309
311
|
error: "error";
|
|
310
312
|
}>>>;
|
|
311
313
|
source: z.ZodDefault<z.ZodEnum<{
|
|
@@ -346,7 +348,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
346
348
|
team_id: string | null;
|
|
347
349
|
org_id: string | null;
|
|
348
350
|
name: string;
|
|
349
|
-
state: "success" | "queued" | "in-progress" | "error";
|
|
351
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
350
352
|
source: "api" | "web";
|
|
351
353
|
created_at: string;
|
|
352
354
|
last_updated: string;
|
|
@@ -385,7 +387,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
385
387
|
team_id: string | null;
|
|
386
388
|
org_id: string | null;
|
|
387
389
|
name: string;
|
|
388
|
-
state: "success" | "queued" | "in-progress" | "error";
|
|
390
|
+
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
389
391
|
source: "api" | "web";
|
|
390
392
|
created_at: string;
|
|
391
393
|
last_updated: string;
|
|
@@ -464,6 +466,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
464
466
|
success: "success";
|
|
465
467
|
queued: "queued";
|
|
466
468
|
"in-progress": "in-progress";
|
|
469
|
+
"timed-out": "timed-out";
|
|
467
470
|
error: "error";
|
|
468
471
|
}>>>>;
|
|
469
472
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
|
|
@@ -507,7 +510,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
507
510
|
} | null | undefined;
|
|
508
511
|
source?: "api" | "web" | undefined;
|
|
509
512
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
510
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
513
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
511
514
|
parent_id?: string | null | undefined;
|
|
512
515
|
license_id?: string | undefined;
|
|
513
516
|
name_url_slug?: string | null | undefined;
|
|
@@ -543,7 +546,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
543
546
|
} | null | undefined;
|
|
544
547
|
source?: "api" | "web" | undefined;
|
|
545
548
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
546
|
-
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
549
|
+
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
547
550
|
parent_id?: string | null | undefined;
|
|
548
551
|
license_id?: string | undefined;
|
|
549
552
|
name_url_slug?: string | null | undefined;
|
|
@@ -585,6 +588,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
585
588
|
}>;
|
|
586
589
|
last_active: z.ZodString;
|
|
587
590
|
}, z.core.$strip>>>;
|
|
591
|
+
type: z.ZodDefault<z.ZodString>;
|
|
588
592
|
created_at: z.ZodString;
|
|
589
593
|
last_updated: z.ZodString;
|
|
590
594
|
viewers: z.ZodArray<z.ZodUUID>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-
|
|
1
|
+
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-Q34MIANF.js';import'../chunk-XWUYZSVO.js';import'../chunk-KZOOYWQ7.js';import'../chunk-WYHO26N6.js';import'../chunk-MB4EEZKP.js';import'../chunk-3N56ERWF.js';import'../chunk-7ABFUHWW.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=conversations.js.map
|
|
2
2
|
//# sourceMappingURL=conversations.js.map
|