@ourofoundation/ouro-js 3.8.2 → 3.8.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-64ZUBBP7.js +2 -0
- package/dist/chunk-64ZUBBP7.js.map +1 -0
- package/dist/chunk-ADLJ3UUW.cjs +2 -0
- package/dist/chunk-ADLJ3UUW.cjs.map +1 -0
- package/dist/{chunk-T6UO42TO.cjs → chunk-CIEATF7M.cjs} +2 -2
- package/dist/{chunk-T6UO42TO.cjs.map → chunk-CIEATF7M.cjs.map} +1 -1
- package/dist/chunk-GUEHIQ6T.cjs +2 -0
- package/dist/chunk-GUEHIQ6T.cjs.map +1 -0
- package/dist/chunk-LMRFVO4I.cjs +2 -0
- package/dist/chunk-LMRFVO4I.cjs.map +1 -0
- package/dist/chunk-MRUJUIPN.js +2 -0
- package/dist/chunk-MRUJUIPN.js.map +1 -0
- package/dist/chunk-XXFKHRNE.js +2 -0
- package/dist/chunk-XXFKHRNE.js.map +1 -0
- package/dist/{chunk-5CPECQKN.js → chunk-ZFARY5F4.js} +2 -2
- package/dist/{chunk-5CPECQKN.js.map → chunk-ZFARY5F4.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/asset-filters.cjs +1 -1
- package/dist/schema/asset-filters.d.cts +2 -0
- package/dist/schema/asset-filters.d.ts +2 -0
- package/dist/schema/asset-filters.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +128 -1
- package/dist/schema/notifications.d.ts +128 -1
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.js +1 -1
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5SC4M4E3.cjs +0 -2
- package/dist/chunk-5SC4M4E3.cjs.map +0 -1
- package/dist/chunk-EC376C5T.js +0 -2
- package/dist/chunk-EC376C5T.js.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-O4LSX56P.js +0 -2
- package/dist/chunk-O4LSX56P.js.map +0 -1
- package/dist/chunk-U6XOT6XH.cjs +0 -2
- package/dist/chunk-U6XOT6XH.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/schema/quests.ts"],"names":["QuestTypeSchema","zodEnum","QuestStatusSchema","QuestItemStatusSchema","RewardCurrencySchema","EntryEvalStatusSchema","EntryStatusSchema","LeaderboardOrderSchema","TipTapNode","object","string","optional","array","any","record","ContentSchema","literal","QuestItemBaseSchema","uuid","nullable","number","AssetTypeSchema","zodBoolean","QuestSubmissionAssetDeclarationSchema","KeyedAssetRefsSchema","QuestItemSchema","CreateQuestItemObjectSchema","union","CreateQuestItemSchema","description","QuestSpecificsSchema","QuestSchema","AssetSchema","AssetMetadataSchema","CreateQuestSchema","CreateAssetSchema","value","normalizeAssetConfigForParsing","UpdateQuestSchema","UpdateQuestItemSchema","EntrySchema","CreateEntrySchema","KeyedAssetInputSchema","ReviewEntrySchema"],"mappings":"8PAkCA,IAAMA,EAAkBC,KAAQ,CAAA,CAAC,UAAY,CAAA,YAAY,CAAC,CAAA,CACpDC,CAAoBD,CAAAA,KAAAA,CAAQ,CAAC,OAAA,CAAS,MAAQ,CAAA,QAAA,CAAU,WAAW,CAAC,EAEpEE,CAAwBF,CAAAA,KAAAA,CAAQ,CACpC,SAAA,CACA,aACA,CAAA,MAAA,CACA,SACF,CAAC,CAEKG,CAAAA,CAAAA,CAAuBH,KAAQ,CAAA,CAAC,KAAO,CAAA,KAAK,CAAC,CAE7CI,CAAAA,CAAAA,CAAwBJ,KAAQ,CAAA,CACpC,SACA,CAAA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AC,CAAA,CACrD,UAAYK,CAAAA,MAAAA,EACZ,CAAA,UAAA,CAAYA,MAAO,EACrB,CAAC,CAAA,CAEK+B,CAAoBhC,CAAAA,MAAAA,CAAO,CAC/B,OAAA,CAASS,MACT,CAAA,MAAA,CAAQP,QAASQ,CAAAA,QAAAA,CAASuB,CAAqB,CAAC,CAChD,CAAA,WAAA,CAAa/B,QAASQ,CAAAA,QAAAA,CAASQ,KAAM,CAAA,CAACjB,MAAO,EAAA,CAAGK,CAAa,CAAC,CAAC,CAAC,CAClE,CAAC,CAAA,CAEK4B,CAAoBlC,CAAAA,MAAAA,CAAO,CAC/B,MAAA,CAAQR,KAAQ,CAAA,CAAC,UAAY,CAAA,UAAU,CAAC,CAAA,CACxC,MAAQU,CAAAA,QAAAA,CAASQ,QAASQ,CAAAA,KAAAA,CAAM,CAACjB,MAAAA,EAAUK,CAAAA,CAAa,CAAC,CAAC,CAAC,CAC7D,CAAC","file":"chunk-5CPECQKN.js","sourcesContent":["import {\n object,\n string,\n number,\n array,\n literal,\n record,\n type z,\n any,\n optional,\n nullable,\n union,\n uuid,\n boolean as zodBoolean,\n enum as zodEnum,\n type ZodType,\n} from \"zod\";\n\nimport {\n AssetSchema,\n AssetMetadataSchema,\n CreateAssetSchema,\n normalizeAssetConfigForParsing,\n} from \"./assets\";\nimport { AssetTypeSchema } from \"./common\";\nimport {\n KeyedAssetRefsSchema,\n KeyedAssetInputSchema,\n QuestSubmissionAssetDeclarationSchema,\n} from \"../utils/quest-submission\";\n\n// ── Enums ──────────────────────────────────────────────────────────────\n\n/** closable: one active entry per item per user; continuous: unlimited per item */\nconst QuestTypeSchema = zodEnum([\"closable\", \"continuous\"]);\nconst QuestStatusSchema = zodEnum([\"draft\", \"open\", \"closed\", \"cancelled\"]);\n\nconst QuestItemStatusSchema = zodEnum([\n \"pending\",\n \"in_progress\",\n \"done\",\n \"skipped\",\n]);\n\nconst RewardCurrencySchema = zodEnum([\"btc\", \"usd\"]);\n\nconst EntryEvalStatusSchema = zodEnum([\n \"skipped\",\n \"running\",\n \"passed\",\n \"failed\",\n \"errored\",\n]);\n\nconst EntryStatusSchema = zodEnum([\"submitted\", \"accepted\", \"rejected\"]);\n\n/** desc = higher scores rank first; asc = lower scores rank first */\nconst LeaderboardOrderSchema = zodEnum([\"desc\", \"asc\"]);\n\n// ── Content (TipTap) ───────────────────────────────────────────────────\n// Posts/quests share the same rich description shape: { json, text }.\n// We mirror it locally here so the quest schema doesn't depend on posts.\n\nconst TipTapNode: ZodType<any> = object({\n type: string(),\n content: optional(array(any())),\n attrs: optional(record(string(), any())),\n marks: optional(array(any())),\n text: optional(string()),\n});\n\nconst ContentSchema = object({\n json: object({\n type: literal(\"doc\"),\n content: array(TipTapNode),\n }),\n text: string(),\n});\n\n// ── Quest items ────────────────────────────────────────────────────────\n\nconst QuestItemBaseSchema = object({\n id: uuid(),\n quest_id: uuid(),\n description: ContentSchema,\n status: QuestItemStatusSchema.default(\"pending\"),\n auto_skipped: optional(nullable(string().or(any()))),\n status_before_auto_skip: optional(nullable(QuestItemStatusSchema)),\n sort_order: number().default(0),\n type: string().default(\"task\"),\n created_by: uuid(),\n assignee_id: optional(nullable(uuid())),\n expected_asset_type: optional(nullable(AssetTypeSchema)),\n reward_xp: number().int().nonnegative().default(0),\n reward_currency: RewardCurrencySchema.default(\"btc\"),\n reward_amount: number().int().nonnegative().default(0),\n child_quest_id: optional(nullable(uuid())),\n eval_route_id: optional(nullable(uuid())),\n eval_score_path: optional(nullable(string())),\n eval_categories_path: optional(nullable(string())),\n eval_pass_min: optional(nullable(number())),\n eval_pass_max: optional(nullable(number())),\n leaderboard_enabled: optional(zodBoolean()).default(false),\n leaderboard_order: optional(LeaderboardOrderSchema).default(\"desc\"),\n submission_assets: optional(\n nullable(record(string(), QuestSubmissionAssetDeclarationSchema)),\n ),\n eval_static_inputs: optional(nullable(KeyedAssetRefsSchema)),\n notes: optional(nullable(string())),\n contributor_keys: optional(\n nullable(\n array(\n object({\n key: string(),\n required: zodBoolean().default(true),\n filters: object({\n assetType: optional(string()),\n fileType: optional(string()),\n extensions: optional(array(string())),\n hasConstraints: zodBoolean().default(false),\n }),\n }),\n ),\n ),\n ),\n created_at: string(),\n updated_at: string(),\n});\n\nconst QuestItemSchema = QuestItemBaseSchema;\n\n/**\n * Shape used by `POST /quests/create` (inline items) and\n * `POST /quests/:id/items` (batch add). The controller fills in\n * `quest_id`, `created_by`, and lifecycle-derived fields\n * (`auto_skipped`, `status_before_auto_skip`).\n *\n * Accepts a plain description string or TipTap Content as a convenience —\n * a bare string is lifted into `{ description }` by the `union` below.\n * The backend normalizes either shape with `toContentFromMaybeMarkdown`.\n */\nconst CreateQuestItemObjectSchema = object({\n description: union([\n string().min(1, { message: \"Item description cannot be empty\" }),\n ContentSchema,\n ]),\n type: optional(string()).default(\"task\"),\n sort_order: optional(number().int()),\n assignee_id: optional(nullable(uuid())),\n expected_asset_type: optional(nullable(AssetTypeSchema)),\n reward_xp: optional(number().int().nonnegative()).default(0),\n reward_currency: optional(RewardCurrencySchema).default(\"btc\"),\n // Amount is in minor units of `reward_currency`: sats for BTC, cents\n // for USD. Both fit in JS numbers comfortably for our reward sizes;\n // the underlying column is `bigint`.\n reward_amount: optional(number().int().nonnegative()).default(0),\n child_quest_id: optional(nullable(uuid())),\n eval_route_id: optional(nullable(uuid())),\n eval_score_path: optional(nullable(string())),\n eval_categories_path: optional(nullable(string())),\n eval_pass_min: optional(nullable(number())),\n eval_pass_max: optional(nullable(number())),\n leaderboard_enabled: optional(zodBoolean()).default(false),\n leaderboard_order: optional(LeaderboardOrderSchema).default(\"desc\"),\n submission_assets: optional(\n nullable(record(string(), QuestSubmissionAssetDeclarationSchema)),\n ),\n eval_static_inputs: optional(nullable(KeyedAssetRefsSchema)),\n notes: optional(nullable(string())),\n});\n\nconst CreateQuestItemSchema = union([\n string()\n .min(1, { message: \"Item description cannot be empty\" })\n .transform((description) =>\n CreateQuestItemObjectSchema.parse({ description })\n ),\n CreateQuestItemObjectSchema,\n]);\n\n// ── Quest ──────────────────────────────────────────────────────────────\n\nconst QuestSpecificsSchema = object({\n type: QuestTypeSchema.default(\"closable\"),\n status: QuestStatusSchema.default(\"open\"),\n max_xp_per_contributor: optional(nullable(number().int().nonnegative())),\n closed_at: optional(nullable(string())),\n});\n\nconst QuestSchema = AssetSchema.extend({\n asset_type: literal(\"quest\").default(\"quest\"),\n metadata: optional(nullable(AssetMetadataSchema.partial())),\n // List and detail both nest specifics under `quest`. Detail also hoists\n // full items to the top level. Progress (counts + bar segments) is always\n // top-level `progress` on list and detail responses.\n quest: optional(QuestSpecificsSchema.partial()),\n items: optional(array(QuestItemSchema.partial())),\n progress: optional(\n object({\n total: number(),\n resolved: number(),\n remaining: number(),\n // Lightweight per-item segments for progress bars (list + detail).\n items: optional(\n array(\n object({\n id: string(),\n status: QuestItemStatusSchema,\n waiting_on: optional(nullable(string())),\n waiting_until: optional(nullable(string())),\n waiting_check_every: optional(nullable(string())),\n }).partial()\n )\n ),\n })\n ),\n});\n\n/**\n * Schema used by the backend controller and SDK clients to validate /\n * default the body of `POST /quests/create`. Mirrors how\n * `CreatePostSchema` defaults `org_id`/`team_id` so non-frontend callers\n * don't have to know about `GLOBAL_ORG_ID`.\n *\n * The `items` field accepts either plain strings, TipTap Content objects, or\n * full item objects — the backend `createQuestItems`/`createQuest` paths\n * already handle both shapes, and `CreateQuestItemSchema` normalizes strings\n * into `{ description }`.\n */\nconst CreateQuestSchema = CreateAssetSchema.extend({\n asset_type: literal(\"quest\").default(\"quest\"),\n name: optional(nullable(string())).default(null),\n description: optional(nullable(ContentSchema)),\n type: QuestTypeSchema.default(\"closable\"),\n status: QuestStatusSchema.default(\"open\"),\n max_xp_per_contributor: optional(nullable(number().int().nonnegative())),\n items: optional(array(CreateQuestItemSchema)).default([]),\n}).transform((value) => normalizeAssetConfigForParsing(value));\n\nconst UpdateQuestSchema = QuestSchema.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 items: true,\n progress: true,\n is_pinned_in_team: true,\n })\n .extend({\n asset_type: literal(\"quest\").default(\"quest\"),\n last_updated: string().default(() => new Date().toISOString()),\n })\n .transform((value) => normalizeAssetConfigForParsing(value));\n\nconst UpdateQuestItemSchema = CreateQuestItemObjectSchema.partial().extend({\n status: optional(QuestItemStatusSchema),\n});\n\n// ── Entries ────────────────────────────────────────────────────────────\n\nconst EntrySchema = object({\n id: uuid(),\n quest_id: uuid(),\n user_id: uuid(),\n item_id: optional(nullable(uuid())),\n asset_id: optional(nullable(uuid())),\n asset_type: optional(nullable(AssetTypeSchema)),\n assets: optional(nullable(KeyedAssetRefsSchema)),\n description: optional(nullable(ContentSchema)),\n review: optional(nullable(ContentSchema)),\n status: EntryStatusSchema,\n reviewer_id: optional(nullable(uuid())),\n reviewed_at: optional(nullable(string())),\n eval_action_id: optional(nullable(uuid())),\n eval_score: optional(nullable(number())),\n eval_category_scores: optional(nullable(record(string(), number()))),\n eval_status: optional(nullable(EntryEvalStatusSchema)),\n created_at: string(),\n updated_at: string(),\n});\n\nconst CreateEntrySchema = object({\n item_id: uuid(),\n assets: optional(nullable(KeyedAssetInputSchema)),\n description: optional(nullable(union([string(), ContentSchema]))),\n});\n\nconst ReviewEntrySchema = object({\n status: zodEnum([\"accepted\", \"rejected\"]),\n review: optional(nullable(union([string(), ContentSchema]))),\n});\n\n// ── Exports ────────────────────────────────────────────────────────────\n\nexport {\n KeyedAssetRefsSchema,\n KeyedAssetInputSchema,\n QuestSubmissionAssetDeclarationSchema,\n QuestTypeSchema,\n QuestStatusSchema,\n QuestItemStatusSchema,\n RewardCurrencySchema,\n EntryEvalStatusSchema,\n EntryStatusSchema,\n LeaderboardOrderSchema,\n QuestSchema,\n QuestItemSchema,\n QuestItemBaseSchema,\n CreateQuestSchema,\n CreateQuestItemSchema,\n CreateQuestItemObjectSchema,\n UpdateQuestSchema,\n UpdateQuestItemSchema,\n EntrySchema,\n CreateEntrySchema,\n ReviewEntrySchema,\n};\n\nexport type QuestType = z.infer<typeof QuestTypeSchema>;\nexport type QuestStatus = z.infer<typeof QuestStatusSchema>;\nexport type QuestItemStatus = z.infer<typeof QuestItemStatusSchema>;\nexport type RewardCurrency = z.infer<typeof RewardCurrencySchema>;\nexport type EntryEvalStatus = z.infer<typeof EntryEvalStatusSchema>;\nexport type EntryStatus = z.infer<typeof EntryStatusSchema>;\nexport type LeaderboardOrder = z.infer<typeof LeaderboardOrderSchema>;\nexport type Quest = z.infer<typeof QuestSchema>;\nexport type QuestItem = z.infer<typeof QuestItemSchema>;\nexport type CreateQuest = z.infer<typeof CreateQuestSchema>;\nexport type CreateQuestItem = z.infer<typeof CreateQuestItemSchema>;\nexport type UpdateQuest = z.infer<typeof UpdateQuestSchema>;\nexport type UpdateQuestItem = z.infer<typeof UpdateQuestItemSchema>;\nexport type Entry = z.infer<typeof EntrySchema>;\nexport type CreateEntry = z.infer<typeof CreateEntrySchema>;\nexport type ReviewEntry = z.infer<typeof ReviewEntrySchema>;\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/schema/quests.ts"],"names":["QuestTypeSchema","zodEnum","QuestStatusSchema","QuestItemStatusSchema","RewardCurrencySchema","EntryEvalStatusSchema","EntryStatusSchema","LeaderboardOrderSchema","TipTapNode","object","string","optional","array","any","record","ContentSchema","literal","QuestItemBaseSchema","uuid","nullable","number","AssetTypeSchema","zodBoolean","QuestSubmissionAssetDeclarationSchema","KeyedAssetRefsSchema","QuestItemSchema","CreateQuestItemObjectSchema","union","CreateQuestItemSchema","description","QuestSpecificsSchema","QuestSchema","AssetSchema","AssetMetadataSchema","CreateQuestSchema","CreateAssetSchema","value","normalizeAssetConfigForParsing","UpdateQuestSchema","UpdateQuestItemSchema","EntrySchema","CreateEntrySchema","KeyedAssetInputSchema","ReviewEntrySchema"],"mappings":"8PAkCA,IAAMA,EAAkBC,KAAQ,CAAA,CAAC,UAAY,CAAA,YAAY,CAAC,CAAA,CACpDC,CAAoBD,CAA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BC,QAASQ,CAAAA,QAAAA,CAASD,IAAK,EAAC,CAAC,CAAA,CACzC,UAAYP,CAAAA,QAAAA,CAASQ,QAASC,CAAAA,MAAAA,EAAQ,CAAC,EACvC,oBAAsBT,CAAAA,QAAAA,CAASQ,QAASL,CAAAA,MAAAA,CAAOJ,MAAO,EAAA,CAAGU,MAAO,EAAC,CAAC,CAAC,CACnE,CAAA,WAAA,CAAaT,QAASQ,CAAAA,QAAAA,CAASd,CAAqB,CAAC,CAAA,CACrD,UAAYK,CAAAA,MAAAA,EACZ,CAAA,UAAA,CAAYA,MAAO,EACrB,CAAC,CAAA,CAEK+B,CAAoBhC,CAAAA,MAAAA,CAAO,CAC/B,OAAA,CAASS,MACT,CAAA,MAAA,CAAQP,QAASQ,CAAAA,QAAAA,CAASuB,CAAqB,CAAC,CAChD,CAAA,WAAA,CAAa/B,QAASQ,CAAAA,QAAAA,CAASQ,KAAM,CAAA,CAACjB,MAAO,EAAA,CAAGK,CAAa,CAAC,CAAC,CAAC,CAClE,CAAC,CAAA,CAEK4B,CAAoBlC,CAAAA,MAAAA,CAAO,CAC/B,MAAA,CAAQR,KAAQ,CAAA,CAAC,UAAY,CAAA,UAAU,CAAC,CAAA,CACxC,MAAQU,CAAAA,QAAAA,CAASQ,QAASQ,CAAAA,KAAAA,CAAM,CAACjB,MAAAA,EAAUK,CAAAA,CAAa,CAAC,CAAC,CAAC,CAC7D,CAAC","file":"chunk-ZFARY5F4.js","sourcesContent":["import {\n object,\n string,\n number,\n array,\n literal,\n record,\n type z,\n any,\n optional,\n nullable,\n union,\n uuid,\n boolean as zodBoolean,\n enum as zodEnum,\n type ZodType,\n} from \"zod\";\n\nimport {\n AssetSchema,\n AssetMetadataSchema,\n CreateAssetSchema,\n normalizeAssetConfigForParsing,\n} from \"./assets\";\nimport { AssetTypeSchema } from \"./common\";\nimport {\n KeyedAssetRefsSchema,\n KeyedAssetInputSchema,\n QuestSubmissionAssetDeclarationSchema,\n} from \"../utils/quest-submission\";\n\n// ── Enums ──────────────────────────────────────────────────────────────\n\n/** closable: one active entry per item per user; continuous: unlimited per item */\nconst QuestTypeSchema = zodEnum([\"closable\", \"continuous\"]);\nconst QuestStatusSchema = zodEnum([\"draft\", \"open\", \"closed\", \"cancelled\"]);\n\nconst QuestItemStatusSchema = zodEnum([\n \"pending\",\n \"in_progress\",\n \"done\",\n \"skipped\",\n]);\n\nconst RewardCurrencySchema = zodEnum([\"btc\", \"usd\"]);\n\nconst EntryEvalStatusSchema = zodEnum([\n \"skipped\",\n \"running\",\n \"passed\",\n \"failed\",\n \"errored\",\n]);\n\nconst EntryStatusSchema = zodEnum([\"submitted\", \"accepted\", \"rejected\"]);\n\n/** desc = higher scores rank first; asc = lower scores rank first */\nconst LeaderboardOrderSchema = zodEnum([\"desc\", \"asc\"]);\n\n// ── Content (TipTap) ───────────────────────────────────────────────────\n// Posts/quests share the same rich description shape: { json, text }.\n// We mirror it locally here so the quest schema doesn't depend on posts.\n\nconst TipTapNode: ZodType<any> = object({\n type: string(),\n content: optional(array(any())),\n attrs: optional(record(string(), any())),\n marks: optional(array(any())),\n text: optional(string()),\n});\n\nconst ContentSchema = object({\n json: object({\n type: literal(\"doc\"),\n content: array(TipTapNode),\n }),\n text: string(),\n});\n\n// ── Quest items ────────────────────────────────────────────────────────\n\nconst QuestItemBaseSchema = object({\n id: uuid(),\n quest_id: uuid(),\n description: ContentSchema,\n status: QuestItemStatusSchema.default(\"pending\"),\n auto_skipped: optional(nullable(string().or(any()))),\n status_before_auto_skip: optional(nullable(QuestItemStatusSchema)),\n sort_order: number().default(0),\n type: string().default(\"task\"),\n created_by: uuid(),\n assignee_id: optional(nullable(uuid())),\n expected_asset_type: optional(nullable(AssetTypeSchema)),\n reward_xp: number().int().nonnegative().default(0),\n reward_currency: RewardCurrencySchema.default(\"btc\"),\n reward_amount: number().int().nonnegative().default(0),\n child_quest_id: optional(nullable(uuid())),\n eval_route_id: optional(nullable(uuid())),\n eval_score_path: optional(nullable(string())),\n eval_categories_path: optional(nullable(string())),\n eval_pass_min: optional(nullable(number())),\n eval_pass_max: optional(nullable(number())),\n leaderboard_enabled: optional(zodBoolean()).default(false),\n leaderboard_order: optional(LeaderboardOrderSchema).default(\"desc\"),\n submission_assets: optional(\n nullable(record(string(), QuestSubmissionAssetDeclarationSchema)),\n ),\n eval_static_inputs: optional(nullable(KeyedAssetRefsSchema)),\n notes: optional(nullable(string())),\n contributor_keys: optional(\n nullable(\n array(\n object({\n key: string(),\n required: zodBoolean().default(true),\n filters: object({\n assetType: optional(string()),\n fileType: optional(string()),\n extensions: optional(array(string())),\n hasConstraints: zodBoolean().default(false),\n }),\n }),\n ),\n ),\n ),\n created_at: string(),\n updated_at: string(),\n});\n\nconst QuestItemSchema = QuestItemBaseSchema;\n\n/**\n * Shape used by `POST /quests/create` (inline items) and\n * `POST /quests/:id/items` (batch add). The controller fills in\n * `quest_id`, `created_by`, and lifecycle-derived fields\n * (`auto_skipped`, `status_before_auto_skip`).\n *\n * Accepts a plain description string or TipTap Content as a convenience —\n * a bare string is lifted into `{ description }` by the `union` below.\n * The backend normalizes either shape with `toContentFromMaybeMarkdown`.\n */\nconst CreateQuestItemObjectSchema = object({\n description: union([\n string().min(1, { message: \"Item description cannot be empty\" }),\n ContentSchema,\n ]),\n type: optional(string()).default(\"task\"),\n sort_order: optional(number().int()),\n assignee_id: optional(nullable(uuid())),\n expected_asset_type: optional(nullable(AssetTypeSchema)),\n reward_xp: optional(number().int().nonnegative()).default(0),\n reward_currency: optional(RewardCurrencySchema).default(\"btc\"),\n // Amount is in minor units of `reward_currency`: sats for BTC, cents\n // for USD. Both fit in JS numbers comfortably for our reward sizes;\n // the underlying column is `bigint`.\n reward_amount: optional(number().int().nonnegative()).default(0),\n child_quest_id: optional(nullable(uuid())),\n eval_route_id: optional(nullable(uuid())),\n eval_score_path: optional(nullable(string())),\n eval_categories_path: optional(nullable(string())),\n eval_pass_min: optional(nullable(number())),\n eval_pass_max: optional(nullable(number())),\n leaderboard_enabled: optional(zodBoolean()).default(false),\n leaderboard_order: optional(LeaderboardOrderSchema).default(\"desc\"),\n submission_assets: optional(\n nullable(record(string(), QuestSubmissionAssetDeclarationSchema)),\n ),\n eval_static_inputs: optional(nullable(KeyedAssetRefsSchema)),\n notes: optional(nullable(string())),\n});\n\nconst CreateQuestItemSchema = union([\n string()\n .min(1, { message: \"Item description cannot be empty\" })\n .transform((description) =>\n CreateQuestItemObjectSchema.parse({ description })\n ),\n CreateQuestItemObjectSchema,\n]);\n\n// ── Quest ──────────────────────────────────────────────────────────────\n\nconst QuestSpecificsSchema = object({\n type: QuestTypeSchema.default(\"closable\"),\n status: QuestStatusSchema.default(\"open\"),\n max_xp_per_contributor: optional(nullable(number().int().nonnegative())),\n closed_at: optional(nullable(string())),\n});\n\nconst QuestSchema = AssetSchema.extend({\n asset_type: literal(\"quest\").default(\"quest\"),\n metadata: optional(nullable(AssetMetadataSchema.partial())),\n // List and detail both nest specifics under `quest`. Detail also hoists\n // full items to the top level. Progress (counts + bar segments) is always\n // top-level `progress` on list and detail responses.\n quest: optional(QuestSpecificsSchema.partial()),\n items: optional(array(QuestItemSchema.partial())),\n progress: optional(\n object({\n total: number(),\n resolved: number(),\n remaining: number(),\n // Lightweight per-item segments for progress bars (list + detail).\n items: optional(\n array(\n object({\n id: string(),\n status: QuestItemStatusSchema,\n waiting_on: optional(nullable(string())),\n waiting_until: optional(nullable(string())),\n waiting_check_every: optional(nullable(string())),\n }).partial()\n )\n ),\n })\n ),\n});\n\n/**\n * Schema used by the backend controller and SDK clients to validate /\n * default the body of `POST /quests/create`. Mirrors how\n * `CreatePostSchema` defaults `org_id`/`team_id` so non-frontend callers\n * don't have to know about `GLOBAL_ORG_ID`.\n *\n * The `items` field accepts either plain strings, TipTap Content objects, or\n * full item objects — the backend `createQuestItems`/`createQuest` paths\n * already handle both shapes, and `CreateQuestItemSchema` normalizes strings\n * into `{ description }`.\n */\nconst CreateQuestSchema = CreateAssetSchema.extend({\n asset_type: literal(\"quest\").default(\"quest\"),\n name: optional(nullable(string())).default(null),\n description: optional(nullable(ContentSchema)),\n type: QuestTypeSchema.default(\"closable\"),\n status: QuestStatusSchema.default(\"open\"),\n max_xp_per_contributor: optional(nullable(number().int().nonnegative())),\n items: optional(array(CreateQuestItemSchema)).default([]),\n}).transform((value) => normalizeAssetConfigForParsing(value));\n\nconst UpdateQuestSchema = QuestSchema.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 items: true,\n progress: true,\n is_pinned_in_team: true,\n })\n .extend({\n asset_type: literal(\"quest\").default(\"quest\"),\n last_updated: string().default(() => new Date().toISOString()),\n })\n .transform((value) => normalizeAssetConfigForParsing(value));\n\nconst UpdateQuestItemSchema = CreateQuestItemObjectSchema.partial().extend({\n status: optional(QuestItemStatusSchema),\n});\n\n// ── Entries ────────────────────────────────────────────────────────────\n\nconst EntrySchema = object({\n id: uuid(),\n quest_id: uuid(),\n user_id: uuid(),\n item_id: optional(nullable(uuid())),\n asset_id: optional(nullable(uuid())),\n asset_type: optional(nullable(AssetTypeSchema)),\n assets: optional(nullable(KeyedAssetRefsSchema)),\n description: optional(nullable(ContentSchema)),\n review: optional(nullable(ContentSchema)),\n status: EntryStatusSchema,\n reviewer_id: optional(nullable(uuid())),\n reviewed_at: optional(nullable(string())),\n eval_action_id: optional(nullable(uuid())),\n eval_score: optional(nullable(number())),\n eval_category_scores: optional(nullable(record(string(), number()))),\n eval_status: optional(nullable(EntryEvalStatusSchema)),\n created_at: string(),\n updated_at: string(),\n});\n\nconst CreateEntrySchema = object({\n item_id: uuid(),\n assets: optional(nullable(KeyedAssetInputSchema)),\n description: optional(nullable(union([string(), ContentSchema]))),\n});\n\nconst ReviewEntrySchema = object({\n status: zodEnum([\"accepted\", \"rejected\"]),\n review: optional(nullable(union([string(), ContentSchema]))),\n});\n\n// ── Exports ────────────────────────────────────────────────────────────\n\nexport {\n KeyedAssetRefsSchema,\n KeyedAssetInputSchema,\n QuestSubmissionAssetDeclarationSchema,\n QuestTypeSchema,\n QuestStatusSchema,\n QuestItemStatusSchema,\n RewardCurrencySchema,\n EntryEvalStatusSchema,\n EntryStatusSchema,\n LeaderboardOrderSchema,\n QuestSchema,\n QuestItemSchema,\n QuestItemBaseSchema,\n CreateQuestSchema,\n CreateQuestItemSchema,\n CreateQuestItemObjectSchema,\n UpdateQuestSchema,\n UpdateQuestItemSchema,\n EntrySchema,\n CreateEntrySchema,\n ReviewEntrySchema,\n};\n\nexport type QuestType = z.infer<typeof QuestTypeSchema>;\nexport type QuestStatus = z.infer<typeof QuestStatusSchema>;\nexport type QuestItemStatus = z.infer<typeof QuestItemStatusSchema>;\nexport type RewardCurrency = z.infer<typeof RewardCurrencySchema>;\nexport type EntryEvalStatus = z.infer<typeof EntryEvalStatusSchema>;\nexport type EntryStatus = z.infer<typeof EntryStatusSchema>;\nexport type LeaderboardOrder = z.infer<typeof LeaderboardOrderSchema>;\nexport type Quest = z.infer<typeof QuestSchema>;\nexport type QuestItem = z.infer<typeof QuestItemSchema>;\nexport type CreateQuest = z.infer<typeof CreateQuestSchema>;\nexport type CreateQuestItem = z.infer<typeof CreateQuestItemSchema>;\nexport type UpdateQuest = z.infer<typeof UpdateQuestSchema>;\nexport type UpdateQuestItem = z.infer<typeof UpdateQuestItemSchema>;\nexport type Entry = z.infer<typeof EntrySchema>;\nexport type CreateEntry = z.infer<typeof CreateEntrySchema>;\nexport type ReviewEntry = z.infer<typeof ReviewEntrySchema>;\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkOCMBP3U7_cjs=require('./chunk-OCMBP3U7.cjs'),chunkPJLIO4PA_cjs=require('./chunk-PJLIO4PA.cjs'),chunkUORCDNEC_cjs=require('./chunk-UORCDNEC.cjs'),chunkNAISOUTE_cjs=require('./chunk-NAISOUTE.cjs'),chunkMOEVC3KD_cjs=require('./chunk-MOEVC3KD.cjs'),chunkVGNECRJJ_cjs=require('./chunk-VGNECRJJ.cjs'),chunkPVUBGWOI_cjs=require('./chunk-PVUBGWOI.cjs'),chunkCPA7CZ7T_cjs=require('./chunk-CPA7CZ7T.cjs'),chunkXL2RQ3DZ_cjs=require('./chunk-XL2RQ3DZ.cjs'),chunkLHCGBWFP_cjs=require('./chunk-LHCGBWFP.cjs'),chunkT6UO42TO_cjs=require('./chunk-T6UO42TO.cjs'),chunkU6XOT6XH_cjs=require('./chunk-U6XOT6XH.cjs'),chunkXEA4DDOE_cjs=require('./chunk-XEA4DDOE.cjs'),chunkKHERHT26_cjs=require('./chunk-KHERHT26.cjs'),chunk5SC4M4E3_cjs=require('./chunk-5SC4M4E3.cjs'),chunkE2FDUS3B_cjs=require('./chunk-E2FDUS3B.cjs'),chunkT4BUMCXS_cjs=require('./chunk-T4BUMCXS.cjs'),chunkAIIAIQ6L_cjs=require('./chunk-AIIAIQ6L.cjs'),chunkDSJ23DIB_cjs=require('./chunk-DSJ23DIB.cjs'),chunkRMMMRN4X_cjs=require('./chunk-RMMMRN4X.cjs'),chunk3JPOAQ2M_cjs=require('./chunk-3JPOAQ2M.cjs'),chunkKU5AWMS5_cjs=require('./chunk-KU5AWMS5.cjs'),chunkYTCAK2AH_cjs=require('./chunk-YTCAK2AH.cjs'),chunkYFEGRZXL_cjs=require('./chunk-YFEGRZXL.cjs');require('./chunk-7HF5VHUN.cjs');var chunkJRBBNFFI_cjs=require('./chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"extractAssetWikiLinks",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.e}});Object.defineProperty(exports,"getReferencesInContent",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.g}});Object.defineProperty(exports,"normalizeViewMode",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.a}});Object.defineProperty(exports,"parseActionLinkShorthand",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.d}});Object.defineProperty(exports,"parseAssetLinkShorthand",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.c}});Object.defineProperty(exports,"parseOuroAssetUrl",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.f}});Object.defineProperty(exports,"resolveDisplayConfig",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.b}});Object.defineProperty(exports,"parseMarkdown",{enumerable:true,get:function(){return chunkPJLIO4PA_cjs.a}});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,"toAssetMetadataFilters",{enumerable:true,get:function(){return chunkNAISOUTE_cjs.b}});Object.defineProperty(exports,"toAssetSearchFilters",{enumerable:true,get:function(){return chunkNAISOUTE_cjs.a}});Object.defineProperty(exports,"createNameUrlSlug",{enumerable:true,get:function(){return chunkMOEVC3KD_cjs.a}});Object.defineProperty(exports,"createUrlSlug",{enumerable:true,get:function(){return chunkMOEVC3KD_cjs.b}});Object.defineProperty(exports,"getAssetUrl",{enumerable:true,get:function(){return chunkMOEVC3KD_cjs.c}});Object.defineProperty(exports,"filterListToString",{enumerable:true,get:function(){return chunkVGNECRJJ_cjs.a}});Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.j}});Object.defineProperty(exports,"USER_SUBSCRIBABLE_WEBHOOK_EVENTS",{enumerable:true,get:function(){return chunkCPA7CZ7T_cjs.c}});Object.defineProperty(exports,"WEBHOOK_EVENTS",{enumerable:true,get:function(){return chunkCPA7CZ7T_cjs.a}});Object.defineProperty(exports,"WEBHOOK_EVENT_TYPES",{enumerable:true,get:function(){return chunkCPA7CZ7T_cjs.b}});Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.c}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.b}});Object.defineProperty(exports,"ZipArchiveMetadataSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.d}});Object.defineProperty(exports,"ActionCompleteContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.r}});Object.defineProperty(exports,"BadgeContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.q}});Object.defineProperty(exports,"CommentContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.g}});Object.defineProperty(exports,"ContentDeletedContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.z}});Object.defineProperty(exports,"ContentMovedContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.y}});Object.defineProperty(exports,"DepositContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.p}});Object.defineProperty(exports,"EventContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.A}});Object.defineProperty(exports,"FollowContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.m}});Object.defineProperty(exports,"InviteContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.n}});Object.defineProperty(exports,"MentionContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.f}});Object.defineProperty(exports,"NotificationAssetRefSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.b}});Object.defineProperty(exports,"NotificationContentAssetSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.c}});Object.defineProperty(exports,"NotificationParentRefSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.d}});Object.defineProperty(exports,"NotificationRootInfoSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.e}});Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.B}});Object.defineProperty(exports,"NotificationTypeSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.a}});Object.defineProperty(exports,"OnboardingActionRequiredContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.v}});Object.defineProperty(exports,"OnboardingCompleteContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.u}});Object.defineProperty(exports,"OwnershipTransferContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.l}});Object.defineProperty(exports,"PaymentContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.o}});Object.defineProperty(exports,"QuestEntryAcceptedContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.t}});Object.defineProperty(exports,"QuestEntryContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.s}});Object.defineProperty(exports,"ReactionContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.j}});Object.defineProperty(exports,"ReferenceContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.i}});Object.defineProperty(exports,"ReplyContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.h}});Object.defineProperty(exports,"RouteEarningsMilestoneContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.w}});Object.defineProperty(exports,"RoutePayoutContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.x}});Object.defineProperty(exports,"ShareContentSchema",{enumerable:true,get:function(){return chunkLHCGBWFP_cjs.k}});Object.defineProperty(exports,"CreateEntrySchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.q}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.j}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.k}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.m}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.p}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.f}});Object.defineProperty(exports,"LeaderboardOrderSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.g}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.h}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.i}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.l}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.r}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.o}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkT6UO42TO_cjs.n}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.d}});Object.defineProperty(exports,"assetMatchesDeclaration",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.k}});Object.defineProperty(exports,"declarationToPickerFilters",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.j}});Object.defineProperty(exports,"declarationToSubmissionDeclaration",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.f}});Object.defineProperty(exports,"getPrimaryAssetRef",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.l}});Object.defineProperty(exports,"getPrimaryDeclarationKey",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.h}});Object.defineProperty(exports,"getRouteInputDeclarationsFromRoute",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.e}});Object.defineProperty(exports,"getSubmissionAssetShape",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.i}});Object.defineProperty(exports,"materializeContributorSubmissionAssets",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.g}});Object.defineProperty(exports,"toRouteInputAssets",{enumerable:true,get:function(){return chunkU6XOT6XH_cjs.m}});Object.defineProperty(exports,"ActionAssetRefSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.l}});Object.defineProperty(exports,"ActionSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.k}});Object.defineProperty(exports,"CreateServiceSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.b}});Object.defineProperty(exports,"ExecutionModeSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.d}});Object.defineProperty(exports,"ReadActionRouteSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.m}});Object.defineProperty(exports,"ReadActionSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.n}});Object.defineProperty(exports,"RouteInputAssetDeclarationSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.e}});Object.defineProperty(exports,"RouteInputAssetsSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.g}});Object.defineProperty(exports,"RouteMetricsSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.i}});Object.defineProperty(exports,"RouteOutputAssetDeclarationSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.f}});Object.defineProperty(exports,"RouteOutputAssetsSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.h}});Object.defineProperty(exports,"RouteSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.j}});Object.defineProperty(exports,"ServiceSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.a}});Object.defineProperty(exports,"UpdateServiceSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.c}});Object.defineProperty(exports,"FILE_FILTERS",{enumerable:true,get:function(){return chunkKHERHT26_cjs.a}});Object.defineProperty(exports,"fileTypes",{enumerable:true,get:function(){return chunkKHERHT26_cjs.b}});Object.defineProperty(exports,"getExtensionFromFileName",{enumerable:true,get:function(){return chunkKHERHT26_cjs.e}});Object.defineProperty(exports,"getExtensionFromMimeType",{enumerable:true,get:function(){return chunkKHERHT26_cjs.f}});Object.defineProperty(exports,"getFileClassification",{enumerable:true,get:function(){return chunkKHERHT26_cjs.h}});Object.defineProperty(exports,"getFileFilterLabel",{enumerable:true,get:function(){return chunkKHERHT26_cjs.c}});Object.defineProperty(exports,"getSafeFileExtension",{enumerable:true,get:function(){return chunkKHERHT26_cjs.g}});Object.defineProperty(exports,"normalizeExtension",{enumerable:true,get:function(){return chunkKHERHT26_cjs.d}});Object.defineProperty(exports,"AssetFilterFileTypeSchema",{enumerable:true,get:function(){return chunk5SC4M4E3_cjs.b}});Object.defineProperty(exports,"AssetFilterVisibilitySchema",{enumerable:true,get:function(){return chunk5SC4M4E3_cjs.a}});Object.defineProperty(exports,"AssetFiltersSchema",{enumerable:true,get:function(){return chunk5SC4M4E3_cjs.c}});Object.defineProperty(exports,"AssetMetadataFiltersSchema",{enumerable:true,get:function(){return chunk5SC4M4E3_cjs.e}});Object.defineProperty(exports,"AssetSearchFiltersSchema",{enumerable:true,get:function(){return chunk5SC4M4E3_cjs.d}});Object.defineProperty(exports,"CommentRepliesAggregateSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.b}});Object.defineProperty(exports,"ReadCommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.d}});Object.defineProperty(exports,"reactionSchema",{enumerable:true,get:function(){return chunkT4BUMCXS_cjs.a}});Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.b}});Object.defineProperty(exports,"MessageReactionSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.e}});Object.defineProperty(exports,"MessageReactionValueSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.d}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.f}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.c}});Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.h}});Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.f}});Object.defineProperty(exports,"AttributionSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.e}});Object.defineProperty(exports,"CitationSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.d}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.h}});Object.defineProperty(exports,"DEFAULT_ATTRIBUTION",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.g}});Object.defineProperty(exports,"RelationTypeSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.c}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.i}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.a}});Object.defineProperty(exports,"CreateTeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.b}});Object.defineProperty(exports,"ReadTeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.c}});Object.defineProperty(exports,"ReadTeamsSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.d}});Object.defineProperty(exports,"TeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.a}});Object.defineProperty(exports,"UpdateTeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.e}});Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.d}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.c}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.b}});Object.defineProperty(exports,"ActorTypeSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.a}});Object.defineProperty(exports,"ProfileSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.b}});Object.defineProperty(exports,"ReadProfileSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.c}});Object.defineProperty(exports,"UpdateProfileSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.d}});Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.f}});Object.defineProperty(exports,"HttpMethodSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.l}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.b}});Object.defineProperty(exports,"ContentActionRefSchema",{enumerable:true,get:function(){return chunkJRBBNFFI_cjs.a}});//# sourceMappingURL=index.cjs.map
|
|
1
|
+
'use strict';var chunkOCMBP3U7_cjs=require('./chunk-OCMBP3U7.cjs'),chunkPJLIO4PA_cjs=require('./chunk-PJLIO4PA.cjs'),chunkUORCDNEC_cjs=require('./chunk-UORCDNEC.cjs'),chunkNAISOUTE_cjs=require('./chunk-NAISOUTE.cjs'),chunkMOEVC3KD_cjs=require('./chunk-MOEVC3KD.cjs'),chunkVGNECRJJ_cjs=require('./chunk-VGNECRJJ.cjs'),chunkPVUBGWOI_cjs=require('./chunk-PVUBGWOI.cjs'),chunkCPA7CZ7T_cjs=require('./chunk-CPA7CZ7T.cjs'),chunkXL2RQ3DZ_cjs=require('./chunk-XL2RQ3DZ.cjs'),chunkLMRFVO4I_cjs=require('./chunk-LMRFVO4I.cjs'),chunkCIEATF7M_cjs=require('./chunk-CIEATF7M.cjs'),chunkADLJ3UUW_cjs=require('./chunk-ADLJ3UUW.cjs'),chunkXEA4DDOE_cjs=require('./chunk-XEA4DDOE.cjs'),chunkKHERHT26_cjs=require('./chunk-KHERHT26.cjs'),chunkGUEHIQ6T_cjs=require('./chunk-GUEHIQ6T.cjs'),chunkE2FDUS3B_cjs=require('./chunk-E2FDUS3B.cjs'),chunkT4BUMCXS_cjs=require('./chunk-T4BUMCXS.cjs'),chunkAIIAIQ6L_cjs=require('./chunk-AIIAIQ6L.cjs'),chunkDSJ23DIB_cjs=require('./chunk-DSJ23DIB.cjs'),chunkRMMMRN4X_cjs=require('./chunk-RMMMRN4X.cjs'),chunk3JPOAQ2M_cjs=require('./chunk-3JPOAQ2M.cjs'),chunkKU5AWMS5_cjs=require('./chunk-KU5AWMS5.cjs'),chunkYTCAK2AH_cjs=require('./chunk-YTCAK2AH.cjs'),chunkYFEGRZXL_cjs=require('./chunk-YFEGRZXL.cjs');require('./chunk-7HF5VHUN.cjs');var chunkJRBBNFFI_cjs=require('./chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"extractAssetWikiLinks",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.e}});Object.defineProperty(exports,"getReferencesInContent",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.g}});Object.defineProperty(exports,"normalizeViewMode",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.a}});Object.defineProperty(exports,"parseActionLinkShorthand",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.d}});Object.defineProperty(exports,"parseAssetLinkShorthand",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.c}});Object.defineProperty(exports,"parseOuroAssetUrl",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.f}});Object.defineProperty(exports,"resolveDisplayConfig",{enumerable:true,get:function(){return chunkOCMBP3U7_cjs.b}});Object.defineProperty(exports,"parseMarkdown",{enumerable:true,get:function(){return chunkPJLIO4PA_cjs.a}});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,"toAssetMetadataFilters",{enumerable:true,get:function(){return chunkNAISOUTE_cjs.b}});Object.defineProperty(exports,"toAssetSearchFilters",{enumerable:true,get:function(){return chunkNAISOUTE_cjs.a}});Object.defineProperty(exports,"createNameUrlSlug",{enumerable:true,get:function(){return chunkMOEVC3KD_cjs.a}});Object.defineProperty(exports,"createUrlSlug",{enumerable:true,get:function(){return chunkMOEVC3KD_cjs.b}});Object.defineProperty(exports,"getAssetUrl",{enumerable:true,get:function(){return chunkMOEVC3KD_cjs.c}});Object.defineProperty(exports,"filterListToString",{enumerable:true,get:function(){return chunkVGNECRJJ_cjs.a}});Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.h}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.i}});Object.defineProperty(exports,"DatasetEnumColumnsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.c}});Object.defineProperty(exports,"DatasetRefsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.b}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.g}});Object.defineProperty(exports,"EnrichedDatasetSchemaFieldSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.d}});Object.defineProperty(exports,"RefKindSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.a}});Object.defineProperty(exports,"ResolvedRefSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.e}});Object.defineProperty(exports,"ResolvedRefsSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.f}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkPVUBGWOI_cjs.j}});Object.defineProperty(exports,"USER_SUBSCRIBABLE_WEBHOOK_EVENTS",{enumerable:true,get:function(){return chunkCPA7CZ7T_cjs.c}});Object.defineProperty(exports,"WEBHOOK_EVENTS",{enumerable:true,get:function(){return chunkCPA7CZ7T_cjs.a}});Object.defineProperty(exports,"WEBHOOK_EVENT_TYPES",{enumerable:true,get:function(){return chunkCPA7CZ7T_cjs.b}});Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.c}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.b}});Object.defineProperty(exports,"ZipArchiveMetadataSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunkXL2RQ3DZ_cjs.d}});Object.defineProperty(exports,"ActionCompleteContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.r}});Object.defineProperty(exports,"BadgeContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.q}});Object.defineProperty(exports,"CommentContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.g}});Object.defineProperty(exports,"ContentDeletedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.A}});Object.defineProperty(exports,"ContentMovedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.z}});Object.defineProperty(exports,"DepositContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.p}});Object.defineProperty(exports,"EventContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.B}});Object.defineProperty(exports,"FollowContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.m}});Object.defineProperty(exports,"InviteContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.n}});Object.defineProperty(exports,"MentionContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.f}});Object.defineProperty(exports,"NotificationAssetRefSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.b}});Object.defineProperty(exports,"NotificationContentAssetSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.c}});Object.defineProperty(exports,"NotificationParentRefSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.d}});Object.defineProperty(exports,"NotificationRootInfoSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.e}});Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.C}});Object.defineProperty(exports,"NotificationTypeSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.a}});Object.defineProperty(exports,"OnboardingActionRequiredContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.w}});Object.defineProperty(exports,"OnboardingCompleteContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.v}});Object.defineProperty(exports,"OwnershipTransferContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.l}});Object.defineProperty(exports,"PaymentContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.o}});Object.defineProperty(exports,"QuestEntryAcceptedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.t}});Object.defineProperty(exports,"QuestEntryContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.s}});Object.defineProperty(exports,"QuestEntryEvalFailedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.u}});Object.defineProperty(exports,"ReactionContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.j}});Object.defineProperty(exports,"ReferenceContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.i}});Object.defineProperty(exports,"ReplyContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.h}});Object.defineProperty(exports,"RouteEarningsMilestoneContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.x}});Object.defineProperty(exports,"RoutePayoutContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.y}});Object.defineProperty(exports,"ShareContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.k}});Object.defineProperty(exports,"CreateEntrySchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.q}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.j}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.k}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.m}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.p}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.f}});Object.defineProperty(exports,"LeaderboardOrderSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.g}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.h}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.i}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.l}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.r}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.o}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkCIEATF7M_cjs.n}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.d}});Object.defineProperty(exports,"assetMatchesDeclaration",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.k}});Object.defineProperty(exports,"declarationToPickerFilters",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.j}});Object.defineProperty(exports,"declarationToSubmissionDeclaration",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.f}});Object.defineProperty(exports,"getPrimaryAssetRef",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.l}});Object.defineProperty(exports,"getPrimaryDeclarationKey",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.h}});Object.defineProperty(exports,"getRouteInputDeclarationsFromRoute",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.e}});Object.defineProperty(exports,"getSubmissionAssetShape",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.i}});Object.defineProperty(exports,"materializeContributorSubmissionAssets",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.g}});Object.defineProperty(exports,"toRouteInputAssets",{enumerable:true,get:function(){return chunkADLJ3UUW_cjs.m}});Object.defineProperty(exports,"ActionAssetRefSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.l}});Object.defineProperty(exports,"ActionSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.k}});Object.defineProperty(exports,"CreateServiceSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.b}});Object.defineProperty(exports,"ExecutionModeSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.d}});Object.defineProperty(exports,"ReadActionRouteSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.m}});Object.defineProperty(exports,"ReadActionSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.n}});Object.defineProperty(exports,"RouteInputAssetDeclarationSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.e}});Object.defineProperty(exports,"RouteInputAssetsSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.g}});Object.defineProperty(exports,"RouteMetricsSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.i}});Object.defineProperty(exports,"RouteOutputAssetDeclarationSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.f}});Object.defineProperty(exports,"RouteOutputAssetsSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.h}});Object.defineProperty(exports,"RouteSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.j}});Object.defineProperty(exports,"ServiceSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.a}});Object.defineProperty(exports,"UpdateServiceSchema",{enumerable:true,get:function(){return chunkXEA4DDOE_cjs.c}});Object.defineProperty(exports,"FILE_FILTERS",{enumerable:true,get:function(){return chunkKHERHT26_cjs.a}});Object.defineProperty(exports,"fileTypes",{enumerable:true,get:function(){return chunkKHERHT26_cjs.b}});Object.defineProperty(exports,"getExtensionFromFileName",{enumerable:true,get:function(){return chunkKHERHT26_cjs.e}});Object.defineProperty(exports,"getExtensionFromMimeType",{enumerable:true,get:function(){return chunkKHERHT26_cjs.f}});Object.defineProperty(exports,"getFileClassification",{enumerable:true,get:function(){return chunkKHERHT26_cjs.h}});Object.defineProperty(exports,"getFileFilterLabel",{enumerable:true,get:function(){return chunkKHERHT26_cjs.c}});Object.defineProperty(exports,"getSafeFileExtension",{enumerable:true,get:function(){return chunkKHERHT26_cjs.g}});Object.defineProperty(exports,"normalizeExtension",{enumerable:true,get:function(){return chunkKHERHT26_cjs.d}});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}});Object.defineProperty(exports,"CommentRepliesAggregateSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.c}});Object.defineProperty(exports,"CommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.a}});Object.defineProperty(exports,"CreateCommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.b}});Object.defineProperty(exports,"ReadCommentSchema",{enumerable:true,get:function(){return chunkE2FDUS3B_cjs.d}});Object.defineProperty(exports,"reactionSchema",{enumerable:true,get:function(){return chunkT4BUMCXS_cjs.a}});Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.b}});Object.defineProperty(exports,"MessageReactionSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.e}});Object.defineProperty(exports,"MessageReactionValueSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.d}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.f}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.c}});Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.h}});Object.defineProperty(exports,"AssetMetadataSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.b}});Object.defineProperty(exports,"AssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.f}});Object.defineProperty(exports,"AttributionSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.e}});Object.defineProperty(exports,"CitationSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.d}});Object.defineProperty(exports,"CreateAssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.h}});Object.defineProperty(exports,"DEFAULT_ATTRIBUTION",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.g}});Object.defineProperty(exports,"RelationTypeSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.c}});Object.defineProperty(exports,"UpdateAssetSchema",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.i}});Object.defineProperty(exports,"normalizeAssetConfigForParsing",{enumerable:true,get:function(){return chunkRMMMRN4X_cjs.a}});Object.defineProperty(exports,"CreateTeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.b}});Object.defineProperty(exports,"ReadTeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.c}});Object.defineProperty(exports,"ReadTeamsSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.d}});Object.defineProperty(exports,"TeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.a}});Object.defineProperty(exports,"UpdateTeamSchema",{enumerable:true,get:function(){return chunk3JPOAQ2M_cjs.e}});Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.d}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.c}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.b}});Object.defineProperty(exports,"ActorTypeSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.a}});Object.defineProperty(exports,"ProfileSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.b}});Object.defineProperty(exports,"ReadProfileSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.c}});Object.defineProperty(exports,"UpdateProfileSchema",{enumerable:true,get:function(){return chunkYTCAK2AH_cjs.d}});Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.f}});Object.defineProperty(exports,"HttpMethodSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.l}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.b}});Object.defineProperty(exports,"ContentActionRefSchema",{enumerable:true,get:function(){return chunkJRBBNFFI_cjs.a}});//# sourceMappingURL=index.cjs.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ export { Comment, CommentRepliesAggregate, CommentRepliesAggregateSchema, Commen
|
|
|
11
11
|
export { Conversation, ConversationSchema, CreateConversation, CreateConversationSchema, Message, MessageReaction, MessageReactionSchema, MessageReactionValue, MessageReactionValueSchema, MessageSchema, UpdateConversation, UpdateConversationSchema } from './schema/conversations.cjs';
|
|
12
12
|
export { CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, CreateFromFileDataset, CreateFromSchemaDataset, Dataset, DatasetEnumColumns, DatasetEnumColumnsSchema, DatasetRefs, DatasetRefsSchema, DatasetSchema, EnrichedDatasetSchemaField, EnrichedDatasetSchemaFieldSchema, RefKind, RefKindSchema, ResolvedRef, ResolvedRefSchema, ResolvedRefs, ResolvedRefsSchema, UpdateDataset, updateDatasetSchema } from './schema/datasets.cjs';
|
|
13
13
|
export { CreateEntry, CreateEntrySchema, CreateQuest, CreateQuestItem, CreateQuestItemObjectSchema, CreateQuestItemSchema, CreateQuestSchema, Entry, EntryEvalStatus, EntryEvalStatusSchema, EntrySchema, EntryStatus, EntryStatusSchema, LeaderboardOrder, LeaderboardOrderSchema, Quest, QuestItem, QuestItemBaseSchema, QuestItemSchema, QuestItemStatus, QuestItemStatusSchema, QuestSchema, QuestStatus, QuestStatusSchema, QuestType, QuestTypeSchema, ReviewEntry, ReviewEntrySchema, RewardCurrency, RewardCurrencySchema, UpdateQuest, UpdateQuestItem, UpdateQuestItemSchema, UpdateQuestSchema } from './schema/quests.cjs';
|
|
14
|
-
export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, Notification, NotificationAssetRef, NotificationAssetRefSchema, NotificationContentAsset, NotificationContentAssetSchema, NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema } from './schema/notifications.cjs';
|
|
14
|
+
export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, Notification, NotificationAssetRef, NotificationAssetRefSchema, NotificationContentAsset, NotificationContentAssetSchema, NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, QuestEntryEvalFailedContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema } from './schema/notifications.cjs';
|
|
15
15
|
export { USER_SUBSCRIBABLE_WEBHOOK_EVENTS, WEBHOOK_EVENTS, WEBHOOK_EVENT_TYPES, WebhookActor, WebhookAssetRef, WebhookEventDefinition, WebhookEventType, WebhookOrgRef, WebhookPayload, WebhookTeamRef } from './schema/events.cjs';
|
|
16
16
|
export { Action, ActionAssetRef, ActionAssetRefSchema, ActionSchema, AuthType, CreateServiceSchema, ExecutionMode, ExecutionModeSchema, ReadAction, ReadActionRoute, ReadActionRouteSchema, ReadActionSchema, Route, RouteDetail, RouteInputAssetDeclaration, RouteInputAssetDeclarationSchema, RouteInputAssets, RouteInputAssetsSchema, RouteMetrics, RouteMetricsSchema, RouteOutputAssetDeclaration, RouteOutputAssetDeclarationSchema, RouteOutputAssets, RouteOutputAssetsSchema, RouteSchema, Service, ServiceSchema, UpdateServiceSchema } from './schema/services.cjs';
|
|
17
17
|
export { Reaction, reactionSchema } from './schema/reactions.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { Comment, CommentRepliesAggregate, CommentRepliesAggregateSchema, Commen
|
|
|
11
11
|
export { Conversation, ConversationSchema, CreateConversation, CreateConversationSchema, Message, MessageReaction, MessageReactionSchema, MessageReactionValue, MessageReactionValueSchema, MessageSchema, UpdateConversation, UpdateConversationSchema } from './schema/conversations.js';
|
|
12
12
|
export { CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, CreateFromFileDataset, CreateFromSchemaDataset, Dataset, DatasetEnumColumns, DatasetEnumColumnsSchema, DatasetRefs, DatasetRefsSchema, DatasetSchema, EnrichedDatasetSchemaField, EnrichedDatasetSchemaFieldSchema, RefKind, RefKindSchema, ResolvedRef, ResolvedRefSchema, ResolvedRefs, ResolvedRefsSchema, UpdateDataset, updateDatasetSchema } from './schema/datasets.js';
|
|
13
13
|
export { CreateEntry, CreateEntrySchema, CreateQuest, CreateQuestItem, CreateQuestItemObjectSchema, CreateQuestItemSchema, CreateQuestSchema, Entry, EntryEvalStatus, EntryEvalStatusSchema, EntrySchema, EntryStatus, EntryStatusSchema, LeaderboardOrder, LeaderboardOrderSchema, Quest, QuestItem, QuestItemBaseSchema, QuestItemSchema, QuestItemStatus, QuestItemStatusSchema, QuestSchema, QuestStatus, QuestStatusSchema, QuestType, QuestTypeSchema, ReviewEntry, ReviewEntrySchema, RewardCurrency, RewardCurrencySchema, UpdateQuest, UpdateQuestItem, UpdateQuestItemSchema, UpdateQuestSchema } from './schema/quests.js';
|
|
14
|
-
export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, Notification, NotificationAssetRef, NotificationAssetRefSchema, NotificationContentAsset, NotificationContentAssetSchema, NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema } from './schema/notifications.js';
|
|
14
|
+
export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, Notification, NotificationAssetRef, NotificationAssetRefSchema, NotificationContentAsset, NotificationContentAssetSchema, NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, QuestEntryEvalFailedContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema } from './schema/notifications.js';
|
|
15
15
|
export { USER_SUBSCRIBABLE_WEBHOOK_EVENTS, WEBHOOK_EVENTS, WEBHOOK_EVENT_TYPES, WebhookActor, WebhookAssetRef, WebhookEventDefinition, WebhookEventType, WebhookOrgRef, WebhookPayload, WebhookTeamRef } from './schema/events.js';
|
|
16
16
|
export { Action, ActionAssetRef, ActionAssetRefSchema, ActionSchema, AuthType, CreateServiceSchema, ExecutionMode, ExecutionModeSchema, ReadAction, ReadActionRoute, ReadActionRouteSchema, ReadActionSchema, Route, RouteDetail, RouteInputAssetDeclaration, RouteInputAssetDeclarationSchema, RouteInputAssets, RouteInputAssetsSchema, RouteMetrics, RouteMetricsSchema, RouteOutputAssetDeclaration, RouteOutputAssetDeclarationSchema, RouteOutputAssets, RouteOutputAssetsSchema, RouteSchema, Service, ServiceSchema, UpdateServiceSchema } from './schema/services.js';
|
|
17
17
|
export { Reaction, reactionSchema } from './schema/reactions.js';
|
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{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{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{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-W6KXPYCB.js';export{c as USER_SUBSCRIBABLE_WEBHOOK_EVENTS,a as WEBHOOK_EVENTS,b as WEBHOOK_EVENT_TYPES}from'./chunk-MWNVL2DD.js';export{c as CreateFileSchema,b as FileSchema,a as ZipArchiveMetadataSchema,d as updateFileSchema}from'./chunk-3DGJ27WL.js';export{r as ActionCompleteContentSchema,q as BadgeContentSchema,g as CommentContentSchema,
|
|
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{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{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{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-W6KXPYCB.js';export{c as USER_SUBSCRIBABLE_WEBHOOK_EVENTS,a as WEBHOOK_EVENTS,b as WEBHOOK_EVENT_TYPES}from'./chunk-MWNVL2DD.js';export{c as CreateFileSchema,b as FileSchema,a as ZipArchiveMetadataSchema,d as updateFileSchema}from'./chunk-3DGJ27WL.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-XXFKHRNE.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-ZFARY5F4.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-64ZUBBP7.js';export{l as ActionAssetRefSchema,k as ActionSchema,b as CreateServiceSchema,d as ExecutionModeSchema,m as ReadActionRouteSchema,n as ReadActionSchema,e as RouteInputAssetDeclarationSchema,g as RouteInputAssetsSchema,i as RouteMetricsSchema,f as RouteOutputAssetDeclarationSchema,h as RouteOutputAssetsSchema,j as RouteSchema,a as ServiceSchema,c as UpdateServiceSchema}from'./chunk-RS5H4XDK.js';export{a as FILE_FILTERS,b as fileTypes,e as getExtensionFromFileName,f as getExtensionFromMimeType,h as getFileClassification,c as getFileFilterLabel,g as getSafeFileExtension,d as normalizeExtension}from'./chunk-OU4JKY4M.js';export{b as AssetFilterFileTypeSchema,a as AssetFilterVisibilitySchema,c as AssetFiltersSchema,e as AssetMetadataFiltersSchema,d as AssetSearchFiltersSchema}from'./chunk-MRUJUIPN.js';export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'./chunk-MKRXM63S.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-FGEMQEEM.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-LXDNBUOU.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-PGCNGDPK.js';export{b as CreateTeamSchema,c as ReadTeamSchema,d as ReadTeamsSchema,a as TeamSchema,e as UpdateTeamSchema}from'./chunk-Y6BK75KP.js';export{a as ActorTypePolicySchema,d as MembershipSchema,c as OrganizationsSchema,b as SourcePolicySchema}from'./chunk-OCG3P3PJ.js';export{a as ActorTypeSchema,b as ProfileSchema,c as ReadProfileSchema,d as UpdateProfileSchema}from'./chunk-CDJH4OT5.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';import'./chunk-DUBPWSCA.js';export{a as ContentActionRefSchema}from'./chunk-42ADEGDM.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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkLMRFVO4I_cjs=require('../chunk-LMRFVO4I.cjs');require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ActionCompleteContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.r}});Object.defineProperty(exports,"BadgeContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.q}});Object.defineProperty(exports,"CommentContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.g}});Object.defineProperty(exports,"ContentDeletedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.A}});Object.defineProperty(exports,"ContentMovedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.z}});Object.defineProperty(exports,"DepositContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.p}});Object.defineProperty(exports,"EventContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.B}});Object.defineProperty(exports,"FollowContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.m}});Object.defineProperty(exports,"InviteContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.n}});Object.defineProperty(exports,"MentionContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.f}});Object.defineProperty(exports,"NotificationAssetRefSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.b}});Object.defineProperty(exports,"NotificationContentAssetSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.c}});Object.defineProperty(exports,"NotificationParentRefSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.d}});Object.defineProperty(exports,"NotificationRootInfoSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.e}});Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.C}});Object.defineProperty(exports,"NotificationTypeSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.a}});Object.defineProperty(exports,"OnboardingActionRequiredContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.w}});Object.defineProperty(exports,"OnboardingCompleteContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.v}});Object.defineProperty(exports,"OwnershipTransferContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.l}});Object.defineProperty(exports,"PaymentContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.o}});Object.defineProperty(exports,"QuestEntryAcceptedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.t}});Object.defineProperty(exports,"QuestEntryContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.s}});Object.defineProperty(exports,"QuestEntryEvalFailedContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.u}});Object.defineProperty(exports,"ReactionContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.j}});Object.defineProperty(exports,"ReferenceContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.i}});Object.defineProperty(exports,"ReplyContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.h}});Object.defineProperty(exports,"RouteEarningsMilestoneContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.x}});Object.defineProperty(exports,"RoutePayoutContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.y}});Object.defineProperty(exports,"ShareContentSchema",{enumerable:true,get:function(){return chunkLMRFVO4I_cjs.k}});//# sourceMappingURL=notifications.cjs.map
|
|
2
2
|
//# sourceMappingURL=notifications.cjs.map
|
|
@@ -18,6 +18,7 @@ declare const NotificationTypeSchema: z.ZodEnum<{
|
|
|
18
18
|
"action-failed": "action-failed";
|
|
19
19
|
"quest-entry": "quest-entry";
|
|
20
20
|
"quest-entry-accepted": "quest-entry-accepted";
|
|
21
|
+
"quest-entry-eval-failed": "quest-entry-eval-failed";
|
|
21
22
|
"onboarding-complete": "onboarding-complete";
|
|
22
23
|
"onboarding-action-required": "onboarding-action-required";
|
|
23
24
|
"route-earnings-milestone": "route-earnings-milestone";
|
|
@@ -663,12 +664,34 @@ declare const QuestEntryAcceptedContentSchema: z.ZodObject<{
|
|
|
663
664
|
asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
664
665
|
asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
665
666
|
}, z.core.$strip>>;
|
|
667
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
668
|
+
review: "review";
|
|
669
|
+
eval: "eval";
|
|
670
|
+
}>>;
|
|
666
671
|
reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
667
672
|
id: z.ZodString;
|
|
668
673
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
669
674
|
}, z.core.$strip>>>;
|
|
670
675
|
text: z.ZodOptional<z.ZodString>;
|
|
671
676
|
}, z.core.$strip>;
|
|
677
|
+
declare const QuestEntryEvalFailedContentSchema: z.ZodObject<{
|
|
678
|
+
quest: z.ZodOptional<z.ZodObject<{
|
|
679
|
+
id: z.ZodString;
|
|
680
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
681
|
+
}, z.core.$strip>>;
|
|
682
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
id: z.ZodString;
|
|
684
|
+
asset_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
685
|
+
asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
686
|
+
asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
687
|
+
}, z.core.$strip>>;
|
|
688
|
+
eval_status: z.ZodOptional<z.ZodEnum<{
|
|
689
|
+
failed: "failed";
|
|
690
|
+
errored: "errored";
|
|
691
|
+
}>>;
|
|
692
|
+
eval_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
693
|
+
text: z.ZodOptional<z.ZodString>;
|
|
694
|
+
}, z.core.$strip>;
|
|
672
695
|
declare const OnboardingCompleteContentSchema: z.ZodObject<{
|
|
673
696
|
text: z.ZodOptional<z.ZodString>;
|
|
674
697
|
}, z.core.$strip>;
|
|
@@ -2682,12 +2705,116 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2682
2705
|
asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2683
2706
|
asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2684
2707
|
}, z.core.$strip>>;
|
|
2708
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
2709
|
+
review: "review";
|
|
2710
|
+
eval: "eval";
|
|
2711
|
+
}>>;
|
|
2685
2712
|
reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2686
2713
|
id: z.ZodString;
|
|
2687
2714
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2688
2715
|
}, z.core.$strip>>>;
|
|
2689
2716
|
text: z.ZodOptional<z.ZodString>;
|
|
2690
2717
|
}, z.core.$strip>;
|
|
2718
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2719
|
+
id: z.ZodUUID;
|
|
2720
|
+
source_user_id: z.ZodUUID;
|
|
2721
|
+
destination_user_id: z.ZodUUID;
|
|
2722
|
+
org_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2723
|
+
asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2724
|
+
reaction_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2725
|
+
action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2726
|
+
parent_asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2727
|
+
root_asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2728
|
+
viewed: z.ZodBoolean;
|
|
2729
|
+
created_at: z.ZodString;
|
|
2730
|
+
last_updated: z.ZodString;
|
|
2731
|
+
source_user: z.ZodOptional<z.ZodObject<{
|
|
2732
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
2733
|
+
user_id: z.ZodOptional<z.ZodUUID>;
|
|
2734
|
+
username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2735
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2736
|
+
first_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2737
|
+
last_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2738
|
+
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2739
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2740
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2741
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2742
|
+
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2743
|
+
value: z.ZodString;
|
|
2744
|
+
}, z.core.$strip>>>>;
|
|
2745
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
2746
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
2747
|
+
base: "base";
|
|
2748
|
+
agent: "agent";
|
|
2749
|
+
verified: "verified";
|
|
2750
|
+
}>>;
|
|
2751
|
+
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
2752
|
+
free: "free";
|
|
2753
|
+
gold: "gold";
|
|
2754
|
+
}>>;
|
|
2755
|
+
last_active: z.ZodOptional<z.ZodString>;
|
|
2756
|
+
}, z.core.$strip>>;
|
|
2757
|
+
asset: z.ZodOptional<z.ZodObject<{
|
|
2758
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
2759
|
+
assetType: z.ZodOptional<z.ZodEnum<{
|
|
2760
|
+
user: "user";
|
|
2761
|
+
organization: "organization";
|
|
2762
|
+
team: "team";
|
|
2763
|
+
dataset: "dataset";
|
|
2764
|
+
file: "file";
|
|
2765
|
+
service: "service";
|
|
2766
|
+
route: "route";
|
|
2767
|
+
post: "post";
|
|
2768
|
+
quest: "quest";
|
|
2769
|
+
comment: "comment";
|
|
2770
|
+
conversation: "conversation";
|
|
2771
|
+
}>>;
|
|
2772
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
2774
|
+
user: "user";
|
|
2775
|
+
organization: "organization";
|
|
2776
|
+
team: "team";
|
|
2777
|
+
dataset: "dataset";
|
|
2778
|
+
file: "file";
|
|
2779
|
+
service: "service";
|
|
2780
|
+
route: "route";
|
|
2781
|
+
post: "post";
|
|
2782
|
+
quest: "quest";
|
|
2783
|
+
comment: "comment";
|
|
2784
|
+
conversation: "conversation";
|
|
2785
|
+
}>>;
|
|
2786
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2787
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
preview: z.ZodOptional<z.ZodAny>;
|
|
2789
|
+
description: z.ZodOptional<z.ZodAny>;
|
|
2790
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2791
|
+
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2792
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
2793
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2794
|
+
parent: z.ZodOptional<z.ZodAny>;
|
|
2795
|
+
user: z.ZodOptional<z.ZodAny>;
|
|
2796
|
+
organization: z.ZodOptional<z.ZodAny>;
|
|
2797
|
+
team: z.ZodOptional<z.ZodAny>;
|
|
2798
|
+
}, z.core.$strip>>;
|
|
2799
|
+
type: z.ZodLiteral<"quest-entry-eval-failed">;
|
|
2800
|
+
content: z.ZodObject<{
|
|
2801
|
+
quest: z.ZodOptional<z.ZodObject<{
|
|
2802
|
+
id: z.ZodString;
|
|
2803
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2804
|
+
}, z.core.$strip>>;
|
|
2805
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
2806
|
+
id: z.ZodString;
|
|
2807
|
+
asset_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2808
|
+
asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2809
|
+
asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2810
|
+
}, z.core.$strip>>;
|
|
2811
|
+
eval_status: z.ZodOptional<z.ZodEnum<{
|
|
2812
|
+
failed: "failed";
|
|
2813
|
+
errored: "errored";
|
|
2814
|
+
}>>;
|
|
2815
|
+
eval_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2816
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2817
|
+
}, z.core.$strip>;
|
|
2691
2818
|
}, z.core.$strip>, z.ZodObject<{
|
|
2692
2819
|
id: z.ZodUUID;
|
|
2693
2820
|
source_user_id: z.ZodUUID;
|
|
@@ -3448,4 +3575,4 @@ type NotificationOfType<T extends NotificationType> = Extract<Notification, {
|
|
|
3448
3575
|
type NotificationContentAsset = z.infer<typeof NotificationContentAssetSchema>;
|
|
3449
3576
|
type NotificationAssetRef = z.infer<typeof NotificationAssetRefSchema>;
|
|
3450
3577
|
|
|
3451
|
-
export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, type Notification, type NotificationAssetRef, NotificationAssetRefSchema, type NotificationContentAsset, NotificationContentAssetSchema, type NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, type NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema };
|
|
3578
|
+
export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, type Notification, type NotificationAssetRef, NotificationAssetRefSchema, type NotificationContentAsset, NotificationContentAssetSchema, type NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, type NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, QuestEntryEvalFailedContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema };
|