@ourofoundation/ouro-js 3.8.2 → 3.8.4
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-2GABFYUS.cjs +2 -0
- package/dist/chunk-2GABFYUS.cjs.map +1 -0
- package/dist/chunk-4AEKCY33.js +2 -0
- package/dist/chunk-4AEKCY33.js.map +1 -0
- package/dist/chunk-4GP5MIEM.cjs +2 -0
- package/dist/chunk-4GP5MIEM.cjs.map +1 -0
- package/dist/{chunk-DSJ23DIB.cjs → chunk-4UNQYG7I.cjs} +2 -2
- package/dist/{chunk-DSJ23DIB.cjs.map → chunk-4UNQYG7I.cjs.map} +1 -1
- package/dist/{chunk-KU5AWMS5.cjs → chunk-5PWVQ2XA.cjs} +2 -2
- package/dist/{chunk-KU5AWMS5.cjs.map → chunk-5PWVQ2XA.cjs.map} +1 -1
- package/dist/chunk-67Q4RMP6.js +2 -0
- package/dist/chunk-67Q4RMP6.js.map +1 -0
- package/dist/chunk-6KQTA6I7.cjs +2 -0
- package/dist/{chunk-AIIAIQ6L.cjs.map → chunk-6KQTA6I7.cjs.map} +1 -1
- package/dist/chunk-B4OJDZY5.js +2 -0
- package/dist/{chunk-PGCNGDPK.js.map → chunk-B4OJDZY5.js.map} +1 -1
- package/dist/{chunk-OCG3P3PJ.js → chunk-BWUPF76F.js} +2 -2
- package/dist/{chunk-OCG3P3PJ.js.map → chunk-BWUPF76F.js.map} +1 -1
- package/dist/{chunk-RMMMRN4X.cjs → chunk-D2VAJ55Q.cjs} +2 -2
- package/dist/{chunk-RMMMRN4X.cjs.map → chunk-D2VAJ55Q.cjs.map} +1 -1
- package/dist/chunk-D6JWKEY5.cjs +2 -0
- package/dist/chunk-D6JWKEY5.cjs.map +1 -0
- package/dist/chunk-G3IGIXKD.cjs +2 -0
- package/dist/chunk-G3IGIXKD.cjs.map +1 -0
- package/dist/chunk-GS5VFJ22.cjs +2 -0
- package/dist/chunk-GS5VFJ22.cjs.map +1 -0
- package/dist/chunk-GUEHIQ6T.cjs +2 -0
- package/dist/chunk-GUEHIQ6T.cjs.map +1 -0
- package/dist/chunk-HKU6LRRS.js +2 -0
- package/dist/chunk-HKU6LRRS.js.map +1 -0
- package/dist/chunk-IUO6O47I.cjs +2 -0
- package/dist/chunk-IUO6O47I.cjs.map +1 -0
- package/dist/chunk-KTJTOSL2.cjs +2 -0
- package/dist/chunk-KTJTOSL2.cjs.map +1 -0
- package/dist/chunk-KV6R6XC2.cjs +2 -0
- package/dist/chunk-KV6R6XC2.cjs.map +1 -0
- package/dist/chunk-MRUJUIPN.js +2 -0
- package/dist/chunk-MRUJUIPN.js.map +1 -0
- package/dist/{chunk-LXDNBUOU.js → chunk-MV4VXP6M.js} +2 -2
- package/dist/{chunk-LXDNBUOU.js.map → chunk-MV4VXP6M.js.map} +1 -1
- package/dist/chunk-NGPSTYQD.js +2 -0
- package/dist/chunk-NGPSTYQD.js.map +1 -0
- package/dist/chunk-NK4K542Q.js +2 -0
- package/dist/chunk-NK4K542Q.js.map +1 -0
- package/dist/chunk-NLU672VS.js +2 -0
- package/dist/chunk-NLU672VS.js.map +1 -0
- package/dist/chunk-OC34WU3H.cjs +2 -0
- package/dist/chunk-OC34WU3H.cjs.map +1 -0
- package/dist/chunk-OZBQNIKJ.js +2 -0
- package/dist/chunk-OZBQNIKJ.js.map +1 -0
- package/dist/chunk-QVMN2EX4.js +2 -0
- package/dist/chunk-QVMN2EX4.js.map +1 -0
- package/dist/{chunk-E2FDUS3B.cjs → chunk-RCUD47O3.cjs} +2 -2
- package/dist/{chunk-E2FDUS3B.cjs.map → chunk-RCUD47O3.cjs.map} +1 -1
- package/dist/chunk-SB4X4GDQ.js +2 -0
- package/dist/chunk-SB4X4GDQ.js.map +1 -0
- package/dist/chunk-WMCUQQ2Q.cjs +2 -0
- package/dist/chunk-WMCUQQ2Q.cjs.map +1 -0
- package/dist/chunk-XQTA6BNA.js +2 -0
- package/dist/chunk-XQTA6BNA.js.map +1 -0
- package/dist/chunk-XTINLMDO.js +2 -0
- package/dist/{chunk-FGEMQEEM.js.map → chunk-XTINLMDO.js.map} +1 -1
- package/dist/chunk-ZBNLKRMB.js +2 -0
- package/dist/{chunk-MKRXM63S.js.map → chunk-ZBNLKRMB.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.cjs +1 -1
- package/dist/schema/asset-filters.d.cts +4 -2
- package/dist/schema/asset-filters.d.ts +4 -2
- package/dist/schema/asset-filters.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +6 -0
- package/dist/schema/assets.d.ts +6 -0
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +36 -0
- package/dist/schema/comments.d.ts +36 -0
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +12 -0
- package/dist/schema/conversations.d.ts +12 -0
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +13 -5
- package/dist/schema/datasets.d.ts +13 -5
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +168 -1
- package/dist/schema/files.d.ts +168 -1
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +148 -1
- package/dist/schema/notifications.d.ts +148 -1
- 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 +36 -0
- package/dist/schema/posts.d.ts +36 -0
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +88 -15
- package/dist/schema/quests.d.ts +88 -15
- package/dist/schema/quests.js +1 -1
- package/dist/schema/renditions.cjs +2 -0
- package/dist/schema/renditions.cjs.map +1 -0
- package/dist/schema/renditions.d.cts +196 -0
- package/dist/schema/renditions.d.ts +196 -0
- package/dist/schema/renditions.js +2 -0
- package/dist/schema/renditions.js.map +1 -0
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +319 -7
- package/dist/schema/services.d.ts +319 -7
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +25 -0
- package/dist/schema/teams.d.ts +25 -0
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +42 -1
- package/dist/schema/users.d.ts +42 -1
- package/dist/schema/users.js +1 -1
- package/dist/utils/files.cjs +1 -1
- package/dist/utils/files.d.cts +2 -1
- package/dist/utils/files.d.ts +2 -1
- package/dist/utils/files.js +1 -1
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +10 -1
- package/dist/utils/quest-submission.d.ts +10 -1
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/tests/file-classification.test.mjs +19 -0
- package/tests/files.test.mjs +21 -1
- package/tests/renditions.test.mjs +111 -0
- package/dist/chunk-3DGJ27WL.js +0 -2
- package/dist/chunk-3DGJ27WL.js.map +0 -1
- package/dist/chunk-3JPOAQ2M.cjs +0 -2
- package/dist/chunk-3JPOAQ2M.cjs.map +0 -1
- package/dist/chunk-5CPECQKN.js +0 -2
- package/dist/chunk-5CPECQKN.js.map +0 -1
- package/dist/chunk-5SC4M4E3.cjs +0 -2
- package/dist/chunk-5SC4M4E3.cjs.map +0 -1
- package/dist/chunk-AIIAIQ6L.cjs +0 -2
- package/dist/chunk-CDJH4OT5.js +0 -2
- package/dist/chunk-CDJH4OT5.js.map +0 -1
- package/dist/chunk-EC376C5T.js +0 -2
- package/dist/chunk-EC376C5T.js.map +0 -1
- package/dist/chunk-FGEMQEEM.js +0 -2
- package/dist/chunk-KHERHT26.cjs +0 -2
- package/dist/chunk-KHERHT26.cjs.map +0 -1
- package/dist/chunk-KMENBGAB.js +0 -2
- package/dist/chunk-KMENBGAB.js.map +0 -1
- package/dist/chunk-LHCGBWFP.cjs +0 -2
- package/dist/chunk-LHCGBWFP.cjs.map +0 -1
- package/dist/chunk-MKRXM63S.js +0 -2
- package/dist/chunk-O4LSX56P.js +0 -2
- package/dist/chunk-O4LSX56P.js.map +0 -1
- package/dist/chunk-OU4JKY4M.js +0 -2
- package/dist/chunk-OU4JKY4M.js.map +0 -1
- package/dist/chunk-PGCNGDPK.js +0 -2
- package/dist/chunk-PVUBGWOI.cjs +0 -2
- package/dist/chunk-PVUBGWOI.cjs.map +0 -1
- package/dist/chunk-RS5H4XDK.js +0 -2
- package/dist/chunk-RS5H4XDK.js.map +0 -1
- package/dist/chunk-T6UO42TO.cjs +0 -2
- package/dist/chunk-T6UO42TO.cjs.map +0 -1
- package/dist/chunk-U6XOT6XH.cjs +0 -2
- package/dist/chunk-U6XOT6XH.cjs.map +0 -1
- package/dist/chunk-W6KXPYCB.js +0 -2
- package/dist/chunk-W6KXPYCB.js.map +0 -1
- package/dist/chunk-XEA4DDOE.cjs +0 -2
- package/dist/chunk-XEA4DDOE.cjs.map +0 -1
- package/dist/chunk-XL2RQ3DZ.cjs +0 -2
- package/dist/chunk-XL2RQ3DZ.cjs.map +0 -1
- package/dist/chunk-Y6BK75KP.js +0 -2
- package/dist/chunk-Y6BK75KP.js.map +0 -1
- package/dist/chunk-YTCAK2AH.cjs +0 -2
- package/dist/chunk-YTCAK2AH.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{e as extractAssetWikiLinks,g as getReferencesInContent,a as normalizeViewMode,d as parseActionLinkShorthand,c as parseAssetLinkShorthand,f as parseOuroAssetUrl,b as resolveDisplayConfig}from'./chunk-AJ2O7ER6.js';export{a as parseMarkdown}from'./chunk-Q4IXX6KS.js';export{
|
|
1
|
+
export{e as extractAssetWikiLinks,g as getReferencesInContent,a as normalizeViewMode,d as parseActionLinkShorthand,c as parseAssetLinkShorthand,f as parseOuroAssetUrl,b as resolveDisplayConfig}from'./chunk-AJ2O7ER6.js';export{a as parseMarkdown}from'./chunk-Q4IXX6KS.js';export{r as ActionCompleteContentSchema,q as BadgeContentSchema,g as CommentContentSchema,A as ContentDeletedContentSchema,z as ContentMovedContentSchema,p as DepositContentSchema,B as EventContentSchema,m as FollowContentSchema,n as InviteContentSchema,f as MentionContentSchema,b as NotificationAssetRefSchema,c as NotificationContentAssetSchema,d as NotificationParentRefSchema,e as NotificationRootInfoSchema,C as NotificationSchema,a as NotificationTypeSchema,w as OnboardingActionRequiredContentSchema,v as OnboardingCompleteContentSchema,l as OwnershipTransferContentSchema,o as PaymentContentSchema,t as QuestEntryAcceptedContentSchema,s as QuestEntryContentSchema,u as QuestEntryEvalFailedContentSchema,j as ReactionContentSchema,i as ReferenceContentSchema,h as ReplyContentSchema,x as RouteEarningsMilestoneContentSchema,y as RoutePayoutContentSchema,k as ShareContentSchema}from'./chunk-4AEKCY33.js';export{q as CreateEntrySchema,j as CreateQuestItemObjectSchema,k as CreateQuestItemSchema,m as CreateQuestSchema,e as EntryEvalStatusSchema,p as EntrySchema,f as EntryStatusSchema,g as LeaderboardOrderSchema,h as QuestItemBaseSchema,i as QuestItemSchema,c as QuestItemStatusSchema,l as QuestSchema,b as QuestStatusSchema,a as QuestTypeSchema,r as ReviewEntrySchema,d as RewardCurrencySchema,o as UpdateQuestItemSchema,n as UpdateQuestSchema}from'./chunk-NGPSTYQD.js';export{c as AssetRenditionBaseSchema,a as AssetRenditionKindSchema,g as AssetRenditionSchema,b as AssetRenditionStatusSchema,f as SpeechAssetRenditionSchema,e as SpeechAudioSchema,d as TranslationAssetRenditionSchema}from'./chunk-NK4K542Q.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{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'./chunk-ZBNLKRMB.js';export{a as reactionSchema}from'./chunk-WE6CXCEQ.js';export{a as ConversationSchema,b as CreateConversationSchema,e as MessageReactionSchema,d as MessageReactionValueSchema,f as MessageSchema,c as UpdateConversationSchema}from'./chunk-XTINLMDO.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-MV4VXP6M.js';export{h as CreateDatasetFromFileSchema,i as CreateDatasetFromSchemaSchema,c as DatasetEnumColumnsSchema,b as DatasetRefsSchema,g as DatasetSchema,d as EnrichedDatasetSchemaFieldSchema,a as RefKindSchema,e as ResolvedRefSchema,f as ResolvedRefsSchema,j as updateDatasetSchema}from'./chunk-XQTA6BNA.js';export{c as USER_SUBSCRIBABLE_WEBHOOK_EVENTS,a as WEBHOOK_EVENTS,b as WEBHOOK_EVENT_TYPES}from'./chunk-MWNVL2DD.js';export{d as CreateFileSchema,c as FileSchema,b as StructureSummarySchema,a as ZipArchiveMetadataSchema,e as updateFileSchema}from'./chunk-HKU6LRRS.js';export{b as toAssetMetadataFilters,a as toAssetSearchFilters}from'./chunk-LGJ2LLH6.js';export{a as createNameUrlSlug,b as createUrlSlug,c as getAssetUrl}from'./chunk-EY4OFSDP.js';export{a as filterListToString}from'./chunk-OJQM6MWS.js';export{c as KeyedAssetInputSchema,a as KeyedAssetRefsSchema,d as QuestSubmissionAssetDeclarationSchema,k as assetMatchesDeclaration,j as declarationToPickerFilters,f as declarationToSubmissionDeclaration,l as getPrimaryAssetRef,h as getPrimaryDeclarationKey,e as getRouteInputDeclarationsFromRoute,i as getSubmissionAssetShape,g as materializeContributorSubmissionAssets,m as toRouteInputAssets}from'./chunk-OZBQNIKJ.js';export{u as ActionAssetRefSchema,t as ActionSchema,b as CreateServiceSchema,d as ExecutionModeSchema,v as ReadActionRouteSchema,w as ReadActionSchema,e as RouteAssetTypeSchema,f as RouteAssetTypesSchema,l as RouteCacheScopeSchema,q as RouteCapabilitiesSchema,h as RouteInputAssetDeclarationSchema,j as RouteInputAssetsSchema,g as RouteInputFilterSchema,r as RouteMetricsSchema,i as RouteOutputAssetDeclarationSchema,k as RouteOutputAssetsSchema,s as RouteSchema,a as ServiceSchema,p as SpeechTranscribeRouteCapabilitySchema,n as SpeechVoiceSchema,o as TextSpeechRouteCapabilitySchema,m as TextTranslationRouteCapabilitySchema,c as UpdateServiceSchema}from'./chunk-SB4X4GDQ.js';export{a as FILE_FILTERS,b as fileTypes,e as getExtensionFromFileName,f as getExtensionFromMimeType,i as getFileClassification,c as getFileFilterLabel,h as getFileTypeName,g as getSafeFileExtension,d as normalizeExtension}from'./chunk-QVMN2EX4.js';export{b as AssetFilterFileTypeSchema,a as AssetFilterVisibilitySchema,c as AssetFiltersSchema,e as AssetMetadataFiltersSchema,d as AssetSearchFiltersSchema}from'./chunk-MRUJUIPN.js';export{b as AssetMetadataSchema,f as AssetSchema,e as AttributionSchema,d as CitationSchema,h as CreateAssetSchema,g as DEFAULT_ATTRIBUTION,c as RelationTypeSchema,i as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'./chunk-B4OJDZY5.js';export{b as CreateTeamSchema,c as ReadTeamSchema,d as ReadTeamsSchema,a as TeamSchema,e as UpdateTeamSchema}from'./chunk-67Q4RMP6.js';export{b as ActorTypePolicySchema,a as JoinPolicySchema,e as MembershipSchema,d as OrganizationsSchema,c as SourcePolicySchema}from'./chunk-BWUPF76F.js';export{a as ActorTypeSchema,b as LanguageToolsPreferencesSchema,c as PreferencesSchema,d as ProfileSchema,e as ReadProfileSchema,f as UpdateProfileSchema}from'./chunk-NLU672VS.js';export{a as ContentActionRefSchema}from'./chunk-42ADEGDM.js';import'./chunk-DUBPWSCA.js';export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,l as HttpMethodSchema,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-33C7IDRP.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkGUEHIQ6T_cjs=require('../chunk-GUEHIQ6T.cjs');require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"AssetFilterFileTypeSchema",{enumerable:true,get:function(){return chunkGUEHIQ6T_cjs.b}});Object.defineProperty(exports,"AssetFilterVisibilitySchema",{enumerable:true,get:function(){return chunkGUEHIQ6T_cjs.a}});Object.defineProperty(exports,"AssetFiltersSchema",{enumerable:true,get:function(){return chunkGUEHIQ6T_cjs.c}});Object.defineProperty(exports,"AssetMetadataFiltersSchema",{enumerable:true,get:function(){return chunkGUEHIQ6T_cjs.e}});Object.defineProperty(exports,"AssetSearchFiltersSchema",{enumerable:true,get:function(){return chunkGUEHIQ6T_cjs.d}});//# sourceMappingURL=asset-filters.cjs.map
|
|
2
2
|
//# sourceMappingURL=asset-filters.cjs.map
|
|
@@ -9,9 +9,9 @@ declare const AssetFilterVisibilitySchema: z.ZodEnum<{
|
|
|
9
9
|
}>;
|
|
10
10
|
/** UI file-category chips used in the assets filter bar. */
|
|
11
11
|
declare const AssetFilterFileTypeSchema: z.ZodEnum<{
|
|
12
|
+
audio: "audio";
|
|
12
13
|
image: "image";
|
|
13
14
|
video: "video";
|
|
14
|
-
audio: "audio";
|
|
15
15
|
}>;
|
|
16
16
|
/**
|
|
17
17
|
* Client/UI filter state for asset lists and the filter bar.
|
|
@@ -33,9 +33,9 @@ declare const AssetFiltersSchema: z.ZodObject<{
|
|
|
33
33
|
file: "file";
|
|
34
34
|
}>>;
|
|
35
35
|
file_type: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
audio: "audio";
|
|
36
37
|
image: "image";
|
|
37
38
|
video: "video";
|
|
38
|
-
audio: "audio";
|
|
39
39
|
}>>;
|
|
40
40
|
extension: z.ZodOptional<z.ZodString>;
|
|
41
41
|
license: z.ZodOptional<z.ZodString>;
|
|
@@ -126,6 +126,8 @@ declare const AssetSearchFiltersSchema: z.ZodObject<{
|
|
|
126
126
|
}>>;
|
|
127
127
|
exclude_user_id: z.ZodOptional<z.ZodUUID>;
|
|
128
128
|
exclude_org_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
129
|
+
exclude_team_id: z.ZodOptional<z.ZodUUID>;
|
|
130
|
+
exclude_team_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
129
131
|
}, z.core.$strip>;
|
|
130
132
|
/**
|
|
131
133
|
* Wire-format `metadata_filters` for file-oriented search
|
|
@@ -9,9 +9,9 @@ declare const AssetFilterVisibilitySchema: z.ZodEnum<{
|
|
|
9
9
|
}>;
|
|
10
10
|
/** UI file-category chips used in the assets filter bar. */
|
|
11
11
|
declare const AssetFilterFileTypeSchema: z.ZodEnum<{
|
|
12
|
+
audio: "audio";
|
|
12
13
|
image: "image";
|
|
13
14
|
video: "video";
|
|
14
|
-
audio: "audio";
|
|
15
15
|
}>;
|
|
16
16
|
/**
|
|
17
17
|
* Client/UI filter state for asset lists and the filter bar.
|
|
@@ -33,9 +33,9 @@ declare const AssetFiltersSchema: z.ZodObject<{
|
|
|
33
33
|
file: "file";
|
|
34
34
|
}>>;
|
|
35
35
|
file_type: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
audio: "audio";
|
|
36
37
|
image: "image";
|
|
37
38
|
video: "video";
|
|
38
|
-
audio: "audio";
|
|
39
39
|
}>>;
|
|
40
40
|
extension: z.ZodOptional<z.ZodString>;
|
|
41
41
|
license: z.ZodOptional<z.ZodString>;
|
|
@@ -126,6 +126,8 @@ declare const AssetSearchFiltersSchema: z.ZodObject<{
|
|
|
126
126
|
}>>;
|
|
127
127
|
exclude_user_id: z.ZodOptional<z.ZodUUID>;
|
|
128
128
|
exclude_org_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
129
|
+
exclude_team_id: z.ZodOptional<z.ZodUUID>;
|
|
130
|
+
exclude_team_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
129
131
|
}, z.core.$strip>;
|
|
130
132
|
/**
|
|
131
133
|
* Wire-format `metadata_filters` for file-oriented search
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as AssetFilterFileTypeSchema,a as AssetFilterVisibilitySchema,c as AssetFiltersSchema,e as AssetMetadataFiltersSchema,d as AssetSearchFiltersSchema}from'../chunk-
|
|
1
|
+
export{b as AssetFilterFileTypeSchema,a as AssetFilterVisibilitySchema,c as AssetFiltersSchema,e as AssetMetadataFiltersSchema,d as AssetSearchFiltersSchema}from'../chunk-MRUJUIPN.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=asset-filters.js.map
|
|
2
2
|
//# sourceMappingURL=asset-filters.js.map
|
package/dist/schema/assets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkD2VAJ55Q_cjs=require('../chunk-D2VAJ55Q.cjs');require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.f}});Object.defineProperty(exports,"AttributionSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.e}});Object.defineProperty(exports,"CitationSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.d}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.h}});Object.defineProperty(exports,"DEFAULT_ATTRIBUTION",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.g}});Object.defineProperty(exports,"RelationTypeSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.c}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.i}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkD2VAJ55Q_cjs.a}});//# sourceMappingURL=assets.cjs.map
|
|
2
2
|
//# sourceMappingURL=assets.cjs.map
|
package/dist/schema/assets.d.cts
CHANGED
|
@@ -184,6 +184,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
184
184
|
web_only: "web_only";
|
|
185
185
|
api_only: "api_only";
|
|
186
186
|
}>>>>;
|
|
187
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
187
188
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
188
189
|
user_id: z.ZodUUID;
|
|
189
190
|
role: z.ZodEnum<{
|
|
@@ -193,6 +194,11 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
193
194
|
none: "none";
|
|
194
195
|
}>;
|
|
195
196
|
}, z.core.$strip>>>>;
|
|
197
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
198
|
+
id: z.ZodUUID;
|
|
199
|
+
status: z.ZodString;
|
|
200
|
+
created_at: z.ZodString;
|
|
201
|
+
}, z.core.$strip>>>>;
|
|
196
202
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
197
203
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
204
|
user_id: z.ZodUUID;
|
package/dist/schema/assets.d.ts
CHANGED
|
@@ -184,6 +184,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
184
184
|
web_only: "web_only";
|
|
185
185
|
api_only: "api_only";
|
|
186
186
|
}>>>>;
|
|
187
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
187
188
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
188
189
|
user_id: z.ZodUUID;
|
|
189
190
|
role: z.ZodEnum<{
|
|
@@ -193,6 +194,11 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
193
194
|
none: "none";
|
|
194
195
|
}>;
|
|
195
196
|
}, z.core.$strip>>>>;
|
|
197
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
198
|
+
id: z.ZodUUID;
|
|
199
|
+
status: z.ZodString;
|
|
200
|
+
created_at: z.ZodString;
|
|
201
|
+
}, z.core.$strip>>>>;
|
|
196
202
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
197
203
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
204
|
user_id: z.ZodUUID;
|
package/dist/schema/assets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as AssetMetadataSchema,f as AssetSchema,e as AttributionSchema,d as CitationSchema,h as CreateAssetSchema,g as DEFAULT_ATTRIBUTION,c as RelationTypeSchema,i as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-
|
|
1
|
+
export{b as AssetMetadataSchema,f as AssetSchema,e as AttributionSchema,d as CitationSchema,h as CreateAssetSchema,g as DEFAULT_ATTRIBUTION,c as RelationTypeSchema,i as UpdateAssetSchema,a as normalizeAssetConfigForParsing}from'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=assets.js.map
|
|
2
2
|
//# sourceMappingURL=assets.js.map
|
package/dist/schema/comments.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkRCUD47O3_cjs=require('../chunk-RCUD47O3.cjs');require('../chunk-T4BUMCXS.cjs'),require('../chunk-4UNQYG7I.cjs'),require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"CommentRepliesAggregateSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.b}});Object.defineProperty(exports,"ReadCommentSchema",{enumerable:true,get:function(){return chunkRCUD47O3_cjs.d}});//# sourceMappingURL=comments.cjs.map
|
|
2
2
|
//# sourceMappingURL=comments.cjs.map
|
|
@@ -126,6 +126,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
126
126
|
web_only: "web_only";
|
|
127
127
|
api_only: "api_only";
|
|
128
128
|
}>>>>;
|
|
129
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
129
130
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
131
|
user_id: z.ZodUUID;
|
|
131
132
|
role: z.ZodEnum<{
|
|
@@ -135,6 +136,11 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
135
136
|
none: "none";
|
|
136
137
|
}>;
|
|
137
138
|
}, z.core.$strip>>>>;
|
|
139
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
140
|
+
id: z.ZodUUID;
|
|
141
|
+
status: z.ZodString;
|
|
142
|
+
created_at: z.ZodString;
|
|
143
|
+
}, z.core.$strip>>>>;
|
|
138
144
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
139
145
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
146
|
user_id: z.ZodUUID;
|
|
@@ -386,6 +392,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
386
392
|
web_only: "web_only";
|
|
387
393
|
api_only: "api_only";
|
|
388
394
|
}>>>>;
|
|
395
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
389
396
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
390
397
|
user_id: z.ZodUUID;
|
|
391
398
|
role: z.ZodEnum<{
|
|
@@ -395,6 +402,11 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
395
402
|
none: "none";
|
|
396
403
|
}>;
|
|
397
404
|
}, z.core.$strip>>>>;
|
|
405
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
406
|
+
id: z.ZodUUID;
|
|
407
|
+
status: z.ZodString;
|
|
408
|
+
created_at: z.ZodString;
|
|
409
|
+
}, z.core.$strip>>>>;
|
|
398
410
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
399
411
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
400
412
|
user_id: z.ZodUUID;
|
|
@@ -656,10 +668,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
656
668
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
657
669
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
658
670
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
671
|
+
join_policy?: string | undefined;
|
|
659
672
|
userMembership?: {
|
|
660
673
|
user_id: string;
|
|
661
674
|
role: "admin" | "read" | "write" | "none";
|
|
662
675
|
} | null | undefined;
|
|
676
|
+
userJoinRequest?: {
|
|
677
|
+
id: string;
|
|
678
|
+
status: string;
|
|
679
|
+
created_at: string;
|
|
680
|
+
} | null | undefined;
|
|
663
681
|
memberCount?: number | null | undefined;
|
|
664
682
|
members?: {
|
|
665
683
|
user_id: string;
|
|
@@ -814,10 +832,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
814
832
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
815
833
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
816
834
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
835
|
+
join_policy?: string | undefined;
|
|
817
836
|
userMembership?: {
|
|
818
837
|
user_id: string;
|
|
819
838
|
role: "admin" | "read" | "write" | "none";
|
|
820
839
|
} | null | undefined;
|
|
840
|
+
userJoinRequest?: {
|
|
841
|
+
id: string;
|
|
842
|
+
status: string;
|
|
843
|
+
created_at: string;
|
|
844
|
+
} | null | undefined;
|
|
821
845
|
memberCount?: number | null | undefined;
|
|
822
846
|
members?: {
|
|
823
847
|
user_id: string;
|
|
@@ -1013,6 +1037,7 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1013
1037
|
web_only: "web_only";
|
|
1014
1038
|
api_only: "api_only";
|
|
1015
1039
|
}>>>>;
|
|
1040
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
1016
1041
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1017
1042
|
user_id: z.ZodUUID;
|
|
1018
1043
|
role: z.ZodEnum<{
|
|
@@ -1022,6 +1047,11 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1022
1047
|
none: "none";
|
|
1023
1048
|
}>;
|
|
1024
1049
|
}, z.core.$strip>>>>;
|
|
1050
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1051
|
+
id: z.ZodUUID;
|
|
1052
|
+
status: z.ZodString;
|
|
1053
|
+
created_at: z.ZodString;
|
|
1054
|
+
}, z.core.$strip>>>>;
|
|
1025
1055
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1026
1056
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1027
1057
|
user_id: z.ZodUUID;
|
|
@@ -1283,6 +1313,7 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1283
1313
|
web_only: "web_only";
|
|
1284
1314
|
api_only: "api_only";
|
|
1285
1315
|
}>>>>;
|
|
1316
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
1286
1317
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1287
1318
|
user_id: z.ZodUUID;
|
|
1288
1319
|
role: z.ZodEnum<{
|
|
@@ -1292,6 +1323,11 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1292
1323
|
none: "none";
|
|
1293
1324
|
}>;
|
|
1294
1325
|
}, z.core.$strip>>>>;
|
|
1326
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1327
|
+
id: z.ZodUUID;
|
|
1328
|
+
status: z.ZodString;
|
|
1329
|
+
created_at: z.ZodString;
|
|
1330
|
+
}, z.core.$strip>>>>;
|
|
1295
1331
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1296
1332
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1297
1333
|
user_id: z.ZodUUID;
|
|
@@ -126,6 +126,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
126
126
|
web_only: "web_only";
|
|
127
127
|
api_only: "api_only";
|
|
128
128
|
}>>>>;
|
|
129
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
129
130
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
131
|
user_id: z.ZodUUID;
|
|
131
132
|
role: z.ZodEnum<{
|
|
@@ -135,6 +136,11 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
135
136
|
none: "none";
|
|
136
137
|
}>;
|
|
137
138
|
}, z.core.$strip>>>>;
|
|
139
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
140
|
+
id: z.ZodUUID;
|
|
141
|
+
status: z.ZodString;
|
|
142
|
+
created_at: z.ZodString;
|
|
143
|
+
}, z.core.$strip>>>>;
|
|
138
144
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
139
145
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
146
|
user_id: z.ZodUUID;
|
|
@@ -386,6 +392,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
386
392
|
web_only: "web_only";
|
|
387
393
|
api_only: "api_only";
|
|
388
394
|
}>>>>;
|
|
395
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
389
396
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
390
397
|
user_id: z.ZodUUID;
|
|
391
398
|
role: z.ZodEnum<{
|
|
@@ -395,6 +402,11 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
395
402
|
none: "none";
|
|
396
403
|
}>;
|
|
397
404
|
}, z.core.$strip>>>>;
|
|
405
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
406
|
+
id: z.ZodUUID;
|
|
407
|
+
status: z.ZodString;
|
|
408
|
+
created_at: z.ZodString;
|
|
409
|
+
}, z.core.$strip>>>>;
|
|
398
410
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
399
411
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
400
412
|
user_id: z.ZodUUID;
|
|
@@ -656,10 +668,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
656
668
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
657
669
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
658
670
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
671
|
+
join_policy?: string | undefined;
|
|
659
672
|
userMembership?: {
|
|
660
673
|
user_id: string;
|
|
661
674
|
role: "admin" | "read" | "write" | "none";
|
|
662
675
|
} | null | undefined;
|
|
676
|
+
userJoinRequest?: {
|
|
677
|
+
id: string;
|
|
678
|
+
status: string;
|
|
679
|
+
created_at: string;
|
|
680
|
+
} | null | undefined;
|
|
663
681
|
memberCount?: number | null | undefined;
|
|
664
682
|
members?: {
|
|
665
683
|
user_id: string;
|
|
@@ -814,10 +832,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
814
832
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
815
833
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
816
834
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
835
|
+
join_policy?: string | undefined;
|
|
817
836
|
userMembership?: {
|
|
818
837
|
user_id: string;
|
|
819
838
|
role: "admin" | "read" | "write" | "none";
|
|
820
839
|
} | null | undefined;
|
|
840
|
+
userJoinRequest?: {
|
|
841
|
+
id: string;
|
|
842
|
+
status: string;
|
|
843
|
+
created_at: string;
|
|
844
|
+
} | null | undefined;
|
|
821
845
|
memberCount?: number | null | undefined;
|
|
822
846
|
members?: {
|
|
823
847
|
user_id: string;
|
|
@@ -1013,6 +1037,7 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1013
1037
|
web_only: "web_only";
|
|
1014
1038
|
api_only: "api_only";
|
|
1015
1039
|
}>>>>;
|
|
1040
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
1016
1041
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1017
1042
|
user_id: z.ZodUUID;
|
|
1018
1043
|
role: z.ZodEnum<{
|
|
@@ -1022,6 +1047,11 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1022
1047
|
none: "none";
|
|
1023
1048
|
}>;
|
|
1024
1049
|
}, z.core.$strip>>>>;
|
|
1050
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1051
|
+
id: z.ZodUUID;
|
|
1052
|
+
status: z.ZodString;
|
|
1053
|
+
created_at: z.ZodString;
|
|
1054
|
+
}, z.core.$strip>>>>;
|
|
1025
1055
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1026
1056
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1027
1057
|
user_id: z.ZodUUID;
|
|
@@ -1283,6 +1313,7 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1283
1313
|
web_only: "web_only";
|
|
1284
1314
|
api_only: "api_only";
|
|
1285
1315
|
}>>>>;
|
|
1316
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
1286
1317
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1287
1318
|
user_id: z.ZodUUID;
|
|
1288
1319
|
role: z.ZodEnum<{
|
|
@@ -1292,6 +1323,11 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1292
1323
|
none: "none";
|
|
1293
1324
|
}>;
|
|
1294
1325
|
}, z.core.$strip>>>>;
|
|
1326
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1327
|
+
id: z.ZodUUID;
|
|
1328
|
+
status: z.ZodString;
|
|
1329
|
+
created_at: z.ZodString;
|
|
1330
|
+
}, z.core.$strip>>>>;
|
|
1295
1331
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1296
1332
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1297
1333
|
user_id: z.ZodUUID;
|
package/dist/schema/comments.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-
|
|
1
|
+
export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-ZBNLKRMB.js';import'../chunk-WE6CXCEQ.js';import'../chunk-MV4VXP6M.js';import'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=comments.js.map
|
|
2
2
|
//# sourceMappingURL=comments.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk6KQTA6I7_cjs=require('../chunk-6KQTA6I7.cjs');require('../chunk-4UNQYG7I.cjs'),require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.b}});Object.defineProperty(exports,"MessageReactionSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.e}});Object.defineProperty(exports,"MessageReactionValueSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.d}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.f}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunk6KQTA6I7_cjs.c}});//# sourceMappingURL=conversations.cjs.map
|
|
2
2
|
//# sourceMappingURL=conversations.cjs.map
|
|
@@ -126,6 +126,7 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
126
126
|
web_only: "web_only";
|
|
127
127
|
api_only: "api_only";
|
|
128
128
|
}>>>>;
|
|
129
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
129
130
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
131
|
user_id: z.ZodUUID;
|
|
131
132
|
role: z.ZodEnum<{
|
|
@@ -135,6 +136,11 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
135
136
|
none: "none";
|
|
136
137
|
}>;
|
|
137
138
|
}, z.core.$strip>>>>;
|
|
139
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
140
|
+
id: z.ZodUUID;
|
|
141
|
+
status: z.ZodString;
|
|
142
|
+
created_at: z.ZodString;
|
|
143
|
+
}, z.core.$strip>>>>;
|
|
138
144
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
139
145
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
146
|
user_id: z.ZodUUID;
|
|
@@ -938,6 +944,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
938
944
|
web_only: "web_only";
|
|
939
945
|
api_only: "api_only";
|
|
940
946
|
}>>>>;
|
|
947
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
941
948
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
942
949
|
user_id: z.ZodUUID;
|
|
943
950
|
role: z.ZodEnum<{
|
|
@@ -947,6 +954,11 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
947
954
|
none: "none";
|
|
948
955
|
}>;
|
|
949
956
|
}, z.core.$strip>>>>;
|
|
957
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
958
|
+
id: z.ZodUUID;
|
|
959
|
+
status: z.ZodString;
|
|
960
|
+
created_at: z.ZodString;
|
|
961
|
+
}, z.core.$strip>>>>;
|
|
950
962
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
951
963
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
952
964
|
user_id: z.ZodUUID;
|
|
@@ -126,6 +126,7 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
126
126
|
web_only: "web_only";
|
|
127
127
|
api_only: "api_only";
|
|
128
128
|
}>>>>;
|
|
129
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
129
130
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
131
|
user_id: z.ZodUUID;
|
|
131
132
|
role: z.ZodEnum<{
|
|
@@ -135,6 +136,11 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
135
136
|
none: "none";
|
|
136
137
|
}>;
|
|
137
138
|
}, z.core.$strip>>>>;
|
|
139
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
140
|
+
id: z.ZodUUID;
|
|
141
|
+
status: z.ZodString;
|
|
142
|
+
created_at: z.ZodString;
|
|
143
|
+
}, z.core.$strip>>>>;
|
|
138
144
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
139
145
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
146
|
user_id: z.ZodUUID;
|
|
@@ -938,6 +944,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
938
944
|
web_only: "web_only";
|
|
939
945
|
api_only: "api_only";
|
|
940
946
|
}>>>>;
|
|
947
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
941
948
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
942
949
|
user_id: z.ZodUUID;
|
|
943
950
|
role: z.ZodEnum<{
|
|
@@ -947,6 +954,11 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
947
954
|
none: "none";
|
|
948
955
|
}>;
|
|
949
956
|
}, z.core.$strip>>>>;
|
|
957
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
958
|
+
id: z.ZodUUID;
|
|
959
|
+
status: z.ZodString;
|
|
960
|
+
created_at: z.ZodString;
|
|
961
|
+
}, z.core.$strip>>>>;
|
|
950
962
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
951
963
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
952
964
|
user_id: z.ZodUUID;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ConversationSchema,b as CreateConversationSchema,e as MessageReactionSchema,d as MessageReactionValueSchema,f as MessageSchema,c as UpdateConversationSchema}from'../chunk-
|
|
1
|
+
export{a as ConversationSchema,b as CreateConversationSchema,e as MessageReactionSchema,d as MessageReactionValueSchema,f as MessageSchema,c as UpdateConversationSchema}from'../chunk-XTINLMDO.js';import'../chunk-MV4VXP6M.js';import'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=conversations.js.map
|
|
2
2
|
//# sourceMappingURL=conversations.js.map
|
package/dist/schema/datasets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkKTJTOSL2_cjs=require('../chunk-KTJTOSL2.cjs');require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkKTJTOSL2_cjs.j}});//# sourceMappingURL=datasets.cjs.map
|
|
2
2
|
//# sourceMappingURL=datasets.cjs.map
|
|
@@ -47,16 +47,18 @@ declare const DatasetEnumColumnsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
47
47
|
/**
|
|
48
48
|
* A single column from GET /datasets/:id/schema, enriched server-side.
|
|
49
49
|
*
|
|
50
|
-
* The FK fields come straight from get_table_schema. `
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* `
|
|
54
|
-
*
|
|
50
|
+
* The FK fields come straight from get_table_schema. `is_nullable` is the
|
|
51
|
+
* Postgres nullability of the column. `semantic_type` is pure inference:
|
|
52
|
+
* "reference" when the column has an FK to a referenceable table, with
|
|
53
|
+
* `ref_kind` naming which one ("asset" | "action"). The optional `asset_type`
|
|
54
|
+
* is the declared target-type hint from metadata.refs (display + soft
|
|
55
|
+
* validation only, asset kind only). `semantic_type: "enum"` comes from
|
|
55
56
|
* metadata.enum_columns and exposes its known values.
|
|
56
57
|
*/
|
|
57
58
|
declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
58
59
|
column_name: z.ZodString;
|
|
59
60
|
data_type: z.ZodString;
|
|
61
|
+
is_nullable: z.ZodOptional<z.ZodBoolean>;
|
|
60
62
|
fk_constraint_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
63
|
foreign_table_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
64
|
foreign_table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -267,6 +269,7 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
267
269
|
web_only: "web_only";
|
|
268
270
|
api_only: "api_only";
|
|
269
271
|
}>>>>;
|
|
272
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
270
273
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
274
|
user_id: z.ZodUUID;
|
|
272
275
|
role: z.ZodEnum<{
|
|
@@ -276,6 +279,11 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
276
279
|
none: "none";
|
|
277
280
|
}>;
|
|
278
281
|
}, z.core.$strip>>>>;
|
|
282
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
|
+
id: z.ZodUUID;
|
|
284
|
+
status: z.ZodString;
|
|
285
|
+
created_at: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>>>;
|
|
279
287
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
280
288
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
289
|
user_id: z.ZodUUID;
|
|
@@ -47,16 +47,18 @@ declare const DatasetEnumColumnsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
47
47
|
/**
|
|
48
48
|
* A single column from GET /datasets/:id/schema, enriched server-side.
|
|
49
49
|
*
|
|
50
|
-
* The FK fields come straight from get_table_schema. `
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* `
|
|
54
|
-
*
|
|
50
|
+
* The FK fields come straight from get_table_schema. `is_nullable` is the
|
|
51
|
+
* Postgres nullability of the column. `semantic_type` is pure inference:
|
|
52
|
+
* "reference" when the column has an FK to a referenceable table, with
|
|
53
|
+
* `ref_kind` naming which one ("asset" | "action"). The optional `asset_type`
|
|
54
|
+
* is the declared target-type hint from metadata.refs (display + soft
|
|
55
|
+
* validation only, asset kind only). `semantic_type: "enum"` comes from
|
|
55
56
|
* metadata.enum_columns and exposes its known values.
|
|
56
57
|
*/
|
|
57
58
|
declare const EnrichedDatasetSchemaFieldSchema: z.ZodObject<{
|
|
58
59
|
column_name: z.ZodString;
|
|
59
60
|
data_type: z.ZodString;
|
|
61
|
+
is_nullable: z.ZodOptional<z.ZodBoolean>;
|
|
60
62
|
fk_constraint_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
63
|
foreign_table_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
64
|
foreign_table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -267,6 +269,7 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
267
269
|
web_only: "web_only";
|
|
268
270
|
api_only: "api_only";
|
|
269
271
|
}>>>>;
|
|
272
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
270
273
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
274
|
user_id: z.ZodUUID;
|
|
272
275
|
role: z.ZodEnum<{
|
|
@@ -276,6 +279,11 @@ declare const DatasetSchema: z.ZodObject<{
|
|
|
276
279
|
none: "none";
|
|
277
280
|
}>;
|
|
278
281
|
}, z.core.$strip>>>>;
|
|
282
|
+
userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
|
+
id: z.ZodUUID;
|
|
284
|
+
status: z.ZodString;
|
|
285
|
+
created_at: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>>>;
|
|
279
287
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
280
288
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
289
|
user_id: z.ZodUUID;
|
package/dist/schema/datasets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{h as CreateDatasetFromFileSchema,i as CreateDatasetFromSchemaSchema,c as DatasetEnumColumnsSchema,b as DatasetRefsSchema,g as DatasetSchema,d as EnrichedDatasetSchemaFieldSchema,a as RefKindSchema,e as ResolvedRefSchema,f as ResolvedRefsSchema,j as updateDatasetSchema}from'../chunk-
|
|
1
|
+
export{h as CreateDatasetFromFileSchema,i as CreateDatasetFromSchemaSchema,c as DatasetEnumColumnsSchema,b as DatasetRefsSchema,g as DatasetSchema,d as EnrichedDatasetSchemaFieldSchema,a as RefKindSchema,e as ResolvedRefSchema,f as ResolvedRefsSchema,j as updateDatasetSchema}from'../chunk-XQTA6BNA.js';import'../chunk-B4OJDZY5.js';import'../chunk-67Q4RMP6.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-42ADEGDM.js';import'../chunk-DUBPWSCA.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=datasets.js.map
|
|
2
2
|
//# sourceMappingURL=datasets.js.map
|