@ourofoundation/ouro-js 3.1.0 → 3.2.1
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-2NJRZN2A.js +2 -0
- package/dist/chunk-2NJRZN2A.js.map +1 -0
- package/dist/chunk-3EK6Q2YF.js +2 -0
- package/dist/chunk-3EK6Q2YF.js.map +1 -0
- package/dist/chunk-3N56ERWF.js +2 -0
- package/dist/chunk-3N56ERWF.js.map +1 -0
- package/dist/chunk-4JJ6JLXK.cjs +2 -0
- package/dist/chunk-4JJ6JLXK.cjs.map +1 -0
- package/dist/{chunk-J2SVE52E.js → chunk-5ZISONMU.js} +2 -2
- package/dist/{chunk-J2SVE52E.js.map → chunk-5ZISONMU.js.map} +1 -1
- package/dist/chunk-6MSNL636.cjs +2 -0
- package/dist/chunk-6MSNL636.cjs.map +1 -0
- package/dist/{chunk-BDFRHJD4.js → chunk-6PR63E3C.js} +2 -2
- package/dist/{chunk-BDFRHJD4.js.map → chunk-6PR63E3C.js.map} +1 -1
- package/dist/chunk-6VIPPUJT.cjs +2 -0
- package/dist/chunk-6VIPPUJT.cjs.map +1 -0
- package/dist/{chunk-QZ3AAXO5.js → chunk-7GATZDKH.js} +2 -2
- package/dist/{chunk-QZ3AAXO5.js.map → chunk-7GATZDKH.js.map} +1 -1
- package/dist/{chunk-63BUDJ7V.js → chunk-7XHIK5BY.js} +2 -2
- package/dist/{chunk-63BUDJ7V.js.map → chunk-7XHIK5BY.js.map} +1 -1
- package/dist/{chunk-VBRZ227O.js → chunk-AL7O4IAB.js} +2 -2
- package/dist/{chunk-VBRZ227O.js.map → chunk-AL7O4IAB.js.map} +1 -1
- package/dist/{chunk-332F74RS.js → chunk-B75WL6RS.js} +2 -2
- package/dist/{chunk-332F74RS.js.map → chunk-B75WL6RS.js.map} +1 -1
- package/dist/chunk-BDVKX5EB.cjs +2 -0
- package/dist/{chunk-6XNV6B6L.cjs.map → chunk-BDVKX5EB.cjs.map} +1 -1
- package/dist/chunk-BSSU5PNI.js +8 -0
- package/dist/chunk-BSSU5PNI.js.map +1 -0
- package/dist/{chunk-Z2GTDYQ6.cjs → chunk-C5CSA2IE.cjs} +2 -2
- package/dist/{chunk-Z2GTDYQ6.cjs.map → chunk-C5CSA2IE.cjs.map} +1 -1
- package/dist/{chunk-DAN33Z3Q.cjs → chunk-CZ53CZIQ.cjs} +2 -2
- package/dist/{chunk-DAN33Z3Q.cjs.map → chunk-CZ53CZIQ.cjs.map} +1 -1
- package/dist/chunk-GY6SLMMJ.cjs +2 -0
- package/dist/chunk-GY6SLMMJ.cjs.map +1 -0
- package/dist/{chunk-D4SCLCSO.cjs → chunk-J6IXOTYT.cjs} +2 -2
- package/dist/{chunk-D4SCLCSO.cjs.map → chunk-J6IXOTYT.cjs.map} +1 -1
- package/dist/{chunk-BULBWSNF.js → chunk-KOFLISSG.js} +2 -2
- package/dist/{chunk-BULBWSNF.js.map → chunk-KOFLISSG.js.map} +1 -1
- package/dist/{chunk-6UH4ZK6D.cjs → chunk-LAMEJFKJ.cjs} +2 -2
- package/dist/{chunk-6UH4ZK6D.cjs.map → chunk-LAMEJFKJ.cjs.map} +1 -1
- package/dist/{chunk-PX6OZKCX.cjs → chunk-MFRUMVY6.cjs} +2 -2
- package/dist/{chunk-PX6OZKCX.cjs.map → chunk-MFRUMVY6.cjs.map} +1 -1
- package/dist/chunk-MKMFDR3M.cjs +2 -0
- package/dist/chunk-MKMFDR3M.cjs.map +1 -0
- package/dist/{chunk-P4VD5SVM.cjs → chunk-OILLE36G.cjs} +2 -2
- package/dist/{chunk-P4VD5SVM.cjs.map → chunk-OILLE36G.cjs.map} +1 -1
- package/dist/{chunk-ICU37YVV.js → chunk-QMVYPQP3.js} +2 -2
- package/dist/{chunk-ICU37YVV.js.map → chunk-QMVYPQP3.js.map} +1 -1
- package/dist/chunk-S2CP6IGR.js +2 -0
- package/dist/chunk-S2CP6IGR.js.map +1 -0
- package/dist/{chunk-JANLRWLU.cjs → chunk-SRHZ5S5N.cjs} +2 -2
- package/dist/{chunk-JANLRWLU.cjs.map → chunk-SRHZ5S5N.cjs.map} +1 -1
- package/dist/chunk-U5WHESJR.js +2 -0
- package/dist/chunk-U5WHESJR.js.map +1 -0
- package/dist/chunk-W3XNHFD6.cjs +2 -0
- package/dist/chunk-W3XNHFD6.cjs.map +1 -0
- package/dist/chunk-XIDYDUVH.js +2 -0
- package/dist/chunk-XIDYDUVH.js.map +1 -0
- package/dist/{chunk-XPQVPGJX.js → chunk-Y7MYLO3W.js} +2 -2
- package/dist/{chunk-XPQVPGJX.js.map → chunk-Y7MYLO3W.js.map} +1 -1
- package/dist/chunk-YB33F7QJ.cjs +8 -0
- package/dist/chunk-YB33F7QJ.cjs.map +1 -0
- package/dist/chunk-Z37VUR4P.cjs +2 -0
- package/dist/{chunk-OD7M3RFZ.cjs.map → chunk-Z37VUR4P.cjs.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 +91 -81
- package/dist/schema/assets.d.ts +91 -81
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +45 -25
- package/dist/schema/blueprints.d.ts +45 -25
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +146 -126
- package/dist/schema/comments.d.ts +146 -126
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +17 -16
- package/dist/schema/common.d.ts +17 -16
- package/dist/schema/common.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +82 -67
- package/dist/schema/conversations.d.ts +82 -67
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +119 -105
- package/dist/schema/datasets.d.ts +119 -105
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +113 -99
- package/dist/schema/files.d.ts +113 -99
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +3 -2
- package/dist/schema/notifications.d.ts +3 -2
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +3 -1
- package/dist/schema/organizations.d.ts +3 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +148 -122
- package/dist/schema/posts.d.ts +148 -122
- package/dist/schema/posts.js +1 -1
- package/dist/schema/replications.cjs +1 -1
- package/dist/schema/replications.d.cts +45 -25
- package/dist/schema/replications.d.ts +45 -25
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +147 -124
- package/dist/schema/services.d.ts +147 -124
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +30 -18
- package/dist/schema/teams.d.ts +30 -18
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +4 -0
- package/dist/schema/users.d.ts +4 -0
- package/dist/schema/users.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +44 -7
- package/dist/utils/air/index.d.ts +44 -7
- 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 +1 -1
- package/dist/chunk-25FGGQFY.cjs +0 -2
- package/dist/chunk-25FGGQFY.cjs.map +0 -1
- package/dist/chunk-47E5TCNF.js +0 -3
- package/dist/chunk-47E5TCNF.js.map +0 -1
- package/dist/chunk-4KUHOXA5.cjs +0 -2
- package/dist/chunk-4KUHOXA5.cjs.map +0 -1
- package/dist/chunk-6XNV6B6L.cjs +0 -2
- package/dist/chunk-B7NJYI4N.cjs +0 -2
- package/dist/chunk-B7NJYI4N.cjs.map +0 -1
- package/dist/chunk-CBWCC3NJ.js +0 -2
- package/dist/chunk-CBWCC3NJ.js.map +0 -1
- package/dist/chunk-FS5P754F.js +0 -2
- package/dist/chunk-FS5P754F.js.map +0 -1
- package/dist/chunk-JNBXFB5P.cjs +0 -2
- package/dist/chunk-JNBXFB5P.cjs.map +0 -1
- package/dist/chunk-LDAPPQXR.js +0 -2
- package/dist/chunk-LDAPPQXR.js.map +0 -1
- package/dist/chunk-MAHNRYUV.cjs +0 -2
- package/dist/chunk-MAHNRYUV.cjs.map +0 -1
- package/dist/chunk-MQYRINJ5.cjs +0 -2
- package/dist/chunk-MQYRINJ5.cjs.map +0 -1
- package/dist/chunk-OD7M3RFZ.cjs +0 -2
- package/dist/chunk-S5TPBKS6.js +0 -2
- package/dist/chunk-S5TPBKS6.js.map +0 -1
- package/dist/chunk-SE3HKRJM.cjs +0 -3
- package/dist/chunk-SE3HKRJM.cjs.map +0 -1
- package/dist/chunk-XJH3EC3E.js +0 -2
- package/dist/chunk-XJH3EC3E.js.map +0 -1
- package/dist/chunk-ZQAXMMR2.js +0 -2
- package/dist/chunk-ZQAXMMR2.js.map +0 -1
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'),
|
|
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
|
|
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 { getReferencesInContent } from './utils/air/index.cjs';
|
|
20
|
+
export { ExtractedContentAsset, getReferencesInContent, parseAssetLinkShorthand, parseOuroAssetUrl } 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 { getReferencesInContent } from './utils/air/index.js';
|
|
20
|
+
export { ExtractedContentAsset, getReferencesInContent, parseAssetLinkShorthand, parseOuroAssetUrl } 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{a as
|
|
1
|
+
export{a as createNameUrlSlug,b as createUrlSlug,c as getAssetUrl}from'./chunk-6RGIIOOP.js';export{a as filterListToString}from'./chunk-OJQM6MWS.js';export{c as getReferencesInContent,a as parseAssetLinkShorthand,b as parseOuroAssetUrl}from'./chunk-U5WHESJR.js';export{a as parseMarkdown}from'./chunk-BSSU5PNI.js';export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'./chunk-B75WL6RS.js';export{a as NotificationSchema}from'./chunk-S2CP6IGR.js';export{a as reactionSchema}from'./chunk-WE6CXCEQ.js';export{b as CreateReplicationSchema,a as ReplicationSchema,c as UpdateReplicationSchema}from'./chunk-5ZISONMU.js';export{e as ActionSchema,b as CreateServiceSchema,d as RouteSchema,a as ServiceSchema,c as UpdateServiceSchema}from'./chunk-2NJRZN2A.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-AL7O4IAB.js';export{a as CommentSchema,b as CreateCommentSchema}from'./chunk-6PR63E3C.js';export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'./chunk-Y7MYLO3W.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-QMVYPQP3.js';export{b as CreateDatasetFromFileSchema,c as CreateDatasetFromSchemaSchema,a as DatasetSchema,d as updateDatasetSchema}from'./chunk-KOFLISSG.js';export{b as AssetMetadataSchema,c as AssetSchema,d as CreateAssetSchema,e as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'./chunk-XIDYDUVH.js';export{b as CreateTeamSchema,c as ReadTeamSchema,d as ReadTeamsSchema,a as TeamSchema,e as UpdateTeamSchema}from'./chunk-7GATZDKH.js';export{a as ActorTypePolicySchema,d as MembershipSchema,c as OrganizationsSchema,b as SourcePolicySchema}from'./chunk-7XHIK5BY.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-3EK6Q2YF.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 chunk4JJ6JLXK_cjs=require('../chunk-4JJ6JLXK.cjs');require('../chunk-BDVKX5EB.cjs'),require('../chunk-LAMEJFKJ.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-MKMFDR3M.cjs'),require('../chunk-7HF5VHUN.cjs');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}});//# sourceMappingURL=assets.cjs.map
|
|
2
2
|
//# sourceMappingURL=assets.cjs.map
|
package/dist/schema/assets.d.cts
CHANGED
|
@@ -17,6 +17,7 @@ declare const AssetMetadataSchema: z.ZodObject<{
|
|
|
17
17
|
"third-party": "third-party";
|
|
18
18
|
}>;
|
|
19
19
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
21
|
}, z.core.$strip>;
|
|
21
22
|
declare const AssetSchema: z.ZodObject<{
|
|
22
23
|
id: z.ZodUUID;
|
|
@@ -28,6 +29,8 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
28
29
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
29
30
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
30
31
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
32
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
33
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
31
34
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
35
|
value: z.ZodString;
|
|
33
36
|
}, z.core.$strip>>>>;
|
|
@@ -124,9 +127,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
124
127
|
none: "none";
|
|
125
128
|
}>>;
|
|
126
129
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
organization: "organization";
|
|
127
131
|
public: "public";
|
|
128
132
|
private: "private";
|
|
129
|
-
organization: "organization";
|
|
130
133
|
monetized: "monetized";
|
|
131
134
|
inherit: "inherit";
|
|
132
135
|
}>>;
|
|
@@ -166,6 +169,8 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
166
169
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
167
170
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
168
171
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
172
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
173
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
169
174
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
170
175
|
value: z.ZodString;
|
|
171
176
|
}, z.core.$strip>>>>;
|
|
@@ -189,11 +194,11 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
189
194
|
license_id: z.ZodString;
|
|
190
195
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
191
196
|
asset_type: z.ZodEnum<{
|
|
192
|
-
organization: "organization";
|
|
193
|
-
file: "file";
|
|
194
197
|
user: "user";
|
|
198
|
+
organization: "organization";
|
|
195
199
|
team: "team";
|
|
196
200
|
dataset: "dataset";
|
|
201
|
+
file: "file";
|
|
197
202
|
service: "service";
|
|
198
203
|
route: "route";
|
|
199
204
|
post: "post";
|
|
@@ -211,9 +216,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
211
216
|
text: z.ZodString;
|
|
212
217
|
}, z.core.$strip>>>;
|
|
213
218
|
visibility: z.ZodEnum<{
|
|
219
|
+
organization: "organization";
|
|
214
220
|
public: "public";
|
|
215
221
|
private: "private";
|
|
216
|
-
organization: "organization";
|
|
217
222
|
monetized: "monetized";
|
|
218
223
|
inherit: "inherit";
|
|
219
224
|
}>;
|
|
@@ -247,29 +252,29 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
247
252
|
"third-party": "third-party";
|
|
248
253
|
}>;
|
|
249
254
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
255
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
250
256
|
}, z.core.$strip>>>;
|
|
251
257
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
252
258
|
state: z.ZodEnum<{
|
|
253
259
|
success: "success";
|
|
254
|
-
error: "error";
|
|
255
260
|
queued: "queued";
|
|
256
261
|
"in-progress": "in-progress";
|
|
262
|
+
error: "error";
|
|
257
263
|
}>;
|
|
258
264
|
source: z.ZodEnum<{
|
|
259
|
-
web: "web";
|
|
260
265
|
api: "api";
|
|
266
|
+
web: "web";
|
|
261
267
|
}>;
|
|
262
268
|
created_at: z.ZodString;
|
|
263
269
|
last_updated: z.ZodString;
|
|
264
270
|
}, z.core.$strip>;
|
|
265
271
|
declare const CreateAssetSchema: z.ZodObject<{
|
|
266
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
267
272
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
268
|
-
organization: "organization";
|
|
269
|
-
file: "file";
|
|
270
273
|
user: "user";
|
|
274
|
+
organization: "organization";
|
|
271
275
|
team: "team";
|
|
272
276
|
dataset: "dataset";
|
|
277
|
+
file: "file";
|
|
273
278
|
service: "service";
|
|
274
279
|
route: "route";
|
|
275
280
|
post: "post";
|
|
@@ -279,15 +284,29 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
279
284
|
blueprint: "blueprint";
|
|
280
285
|
replication: "replication";
|
|
281
286
|
}>>;
|
|
287
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
288
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
289
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
290
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
292
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
293
|
+
originality: z.ZodEnum<{
|
|
294
|
+
original: "original";
|
|
295
|
+
derivative: "derivative";
|
|
296
|
+
"third-party": "third-party";
|
|
297
|
+
}>;
|
|
298
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
299
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
300
|
+
}, z.core.$strip>>>>;
|
|
301
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
302
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
303
|
+
text: z.ZodString;
|
|
304
|
+
}, z.core.$strip>>>>;
|
|
282
305
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
283
306
|
none: "none";
|
|
284
307
|
"pay-to-unlock": "pay-to-unlock";
|
|
285
308
|
"pay-per-use": "pay-per-use";
|
|
286
309
|
}>>;
|
|
287
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
288
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
289
|
-
text: z.ZodString;
|
|
290
|
-
}, z.core.$strip>>>>;
|
|
291
310
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
292
311
|
license_id: z.ZodOptional<z.ZodString>;
|
|
293
312
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -304,18 +323,6 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
304
323
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
305
324
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
306
325
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
307
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
308
|
-
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
309
|
-
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
310
|
-
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
311
|
-
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
312
|
-
originality: z.ZodEnum<{
|
|
313
|
-
original: "original";
|
|
314
|
-
derivative: "derivative";
|
|
315
|
-
"third-party": "third-party";
|
|
316
|
-
}>;
|
|
317
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
-
}, z.core.$strip>>>>;
|
|
319
326
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
320
327
|
id: z.ZodDefault<z.ZodUUID>;
|
|
321
328
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -324,18 +331,18 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
324
331
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
332
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
326
333
|
success: "success";
|
|
327
|
-
error: "error";
|
|
328
334
|
queued: "queued";
|
|
329
335
|
"in-progress": "in-progress";
|
|
336
|
+
error: "error";
|
|
330
337
|
}>>>;
|
|
331
338
|
source: z.ZodDefault<z.ZodEnum<{
|
|
332
|
-
web: "web";
|
|
333
339
|
api: "api";
|
|
340
|
+
web: "web";
|
|
334
341
|
}>>;
|
|
335
342
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
343
|
+
organization: "organization";
|
|
336
344
|
public: "public";
|
|
337
345
|
private: "private";
|
|
338
|
-
organization: "organization";
|
|
339
346
|
monetized: "monetized";
|
|
340
347
|
inherit: "inherit";
|
|
341
348
|
}>>>;
|
|
@@ -343,17 +350,12 @@ declare const CreateAssetSchema: z.ZodObject<{
|
|
|
343
350
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
344
351
|
}, z.core.$strip>;
|
|
345
352
|
declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
346
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
347
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
348
|
-
web: "web";
|
|
349
|
-
api: "api";
|
|
350
|
-
}>>;
|
|
351
353
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
352
|
-
organization: "organization";
|
|
353
|
-
file: "file";
|
|
354
354
|
user: "user";
|
|
355
|
+
organization: "organization";
|
|
355
356
|
team: "team";
|
|
356
357
|
dataset: "dataset";
|
|
358
|
+
file: "file";
|
|
357
359
|
service: "service";
|
|
358
360
|
route: "route";
|
|
359
361
|
post: "post";
|
|
@@ -363,13 +365,39 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
363
365
|
blueprint: "blueprint";
|
|
364
366
|
replication: "replication";
|
|
365
367
|
}>>;
|
|
368
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
369
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
370
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
371
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
372
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
373
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
374
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
originality: z.ZodEnum<{
|
|
376
|
+
original: "original";
|
|
377
|
+
derivative: "derivative";
|
|
378
|
+
"third-party": "third-party";
|
|
379
|
+
}>;
|
|
380
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
381
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
382
|
+
}, z.core.$strip>>>>;
|
|
383
|
+
last_updated: z.ZodOptional<z.ZodString>;
|
|
384
|
+
name: z.ZodOptional<z.ZodString>;
|
|
385
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
366
386
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
387
|
+
organization: "organization";
|
|
367
388
|
public: "public";
|
|
368
389
|
private: "private";
|
|
369
|
-
organization: "organization";
|
|
370
390
|
monetized: "monetized";
|
|
371
391
|
inherit: "inherit";
|
|
372
392
|
}>>;
|
|
393
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
394
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
395
|
+
text: z.ZodString;
|
|
396
|
+
}, z.core.$strip>>>>;
|
|
397
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
398
|
+
api: "api";
|
|
399
|
+
web: "web";
|
|
400
|
+
}>>;
|
|
373
401
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
374
402
|
none: "none";
|
|
375
403
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -377,17 +405,10 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
377
405
|
}>>;
|
|
378
406
|
state: z.ZodOptional<z.ZodEnum<{
|
|
379
407
|
success: "success";
|
|
380
|
-
error: "error";
|
|
381
408
|
queued: "queued";
|
|
382
409
|
"in-progress": "in-progress";
|
|
410
|
+
error: "error";
|
|
383
411
|
}>>;
|
|
384
|
-
name: z.ZodOptional<z.ZodString>;
|
|
385
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
386
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
387
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
388
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
389
|
-
text: z.ZodString;
|
|
390
|
-
}, z.core.$strip>>>>;
|
|
391
412
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
392
413
|
license_id: z.ZodOptional<z.ZodString>;
|
|
393
414
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -406,34 +427,31 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
406
427
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
407
428
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
408
429
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
409
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
410
|
-
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
|
-
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
412
|
-
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
-
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
-
originality: z.ZodEnum<{
|
|
415
|
-
original: "original";
|
|
416
|
-
derivative: "derivative";
|
|
417
|
-
"third-party": "third-party";
|
|
418
|
-
}>;
|
|
419
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
|
-
}, z.core.$strip>>>>;
|
|
421
430
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
422
|
-
last_updated: z.ZodOptional<z.ZodString>;
|
|
423
431
|
}, z.core.$strip>, z.ZodTransform<{
|
|
432
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
433
|
+
org_id?: string | undefined;
|
|
424
434
|
parent?: Record<string, any> | undefined;
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
435
|
+
metadata?: {
|
|
436
|
+
originality: "original" | "derivative" | "third-party";
|
|
437
|
+
doi_url?: string | null | undefined;
|
|
438
|
+
external_url?: string | null | undefined;
|
|
439
|
+
paper_url?: string | null | undefined;
|
|
440
|
+
github_url?: string | null | undefined;
|
|
441
|
+
source?: string | null | undefined;
|
|
442
|
+
reply_to_comment_id?: string | null | undefined;
|
|
443
|
+
} | null | undefined;
|
|
444
|
+
last_updated?: string | undefined;
|
|
430
445
|
name?: string | undefined;
|
|
431
|
-
org_id?: string | undefined;
|
|
432
446
|
team_id?: string | undefined;
|
|
447
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
433
448
|
description?: {
|
|
434
449
|
json: Record<string, any>;
|
|
435
450
|
text: string;
|
|
436
451
|
} | null | undefined;
|
|
452
|
+
source?: "api" | "web" | undefined;
|
|
453
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
454
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
437
455
|
parent_id?: string | null | undefined;
|
|
438
456
|
license_id?: string | undefined;
|
|
439
457
|
license?: Record<string, any> | undefined;
|
|
@@ -446,6 +464,11 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
446
464
|
stripe_product_id?: string | null | undefined;
|
|
447
465
|
stripe_price_id?: string | null | undefined;
|
|
448
466
|
stripe_meter_id?: string | null | undefined;
|
|
467
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
468
|
+
}, {
|
|
469
|
+
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
470
|
+
org_id?: string | undefined;
|
|
471
|
+
parent?: Record<string, any> | undefined;
|
|
449
472
|
metadata?: {
|
|
450
473
|
originality: "original" | "derivative" | "third-party";
|
|
451
474
|
doi_url?: string | null | undefined;
|
|
@@ -453,23 +476,19 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
453
476
|
paper_url?: string | null | undefined;
|
|
454
477
|
github_url?: string | null | undefined;
|
|
455
478
|
source?: string | null | undefined;
|
|
479
|
+
reply_to_comment_id?: string | null | undefined;
|
|
456
480
|
} | null | undefined;
|
|
457
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
458
481
|
last_updated?: string | undefined;
|
|
459
|
-
}, {
|
|
460
|
-
parent?: Record<string, any> | undefined;
|
|
461
|
-
source?: "web" | "api" | undefined;
|
|
462
|
-
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
463
|
-
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
464
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
465
|
-
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
466
482
|
name?: string | undefined;
|
|
467
|
-
org_id?: string | undefined;
|
|
468
483
|
team_id?: string | undefined;
|
|
484
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
469
485
|
description?: {
|
|
470
486
|
json: Record<string, any>;
|
|
471
487
|
text: string;
|
|
472
488
|
} | null | undefined;
|
|
489
|
+
source?: "api" | "web" | undefined;
|
|
490
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
491
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
473
492
|
parent_id?: string | null | undefined;
|
|
474
493
|
license_id?: string | undefined;
|
|
475
494
|
license?: Record<string, any> | undefined;
|
|
@@ -482,16 +501,7 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
|
|
|
482
501
|
stripe_product_id?: string | null | undefined;
|
|
483
502
|
stripe_price_id?: string | null | undefined;
|
|
484
503
|
stripe_meter_id?: string | null | undefined;
|
|
485
|
-
metadata?: {
|
|
486
|
-
originality: "original" | "derivative" | "third-party";
|
|
487
|
-
doi_url?: string | null | undefined;
|
|
488
|
-
external_url?: string | null | undefined;
|
|
489
|
-
paper_url?: string | null | undefined;
|
|
490
|
-
github_url?: string | null | undefined;
|
|
491
|
-
source?: string | null | undefined;
|
|
492
|
-
} | null | undefined;
|
|
493
504
|
preview?: Record<string, any>[] | null | undefined;
|
|
494
|
-
last_updated?: string | undefined;
|
|
495
505
|
}>>;
|
|
496
506
|
|
|
497
507
|
type AssetMetadata = z.infer<typeof AssetMetadataSchema>;
|