import agentSchema from "../../schemas/schemas/logicsrc-agent.schema.json" with { type: "json" }; import accountAuditEventSchema from "../../schemas/schemas/logicsrc-account-audit-event.schema.json" with { type: "json" }; import accountGrantSchema from "../../schemas/schemas/logicsrc-account-grant.schema.json" with { type: "json" }; import accountProviderSchema from "../../schemas/schemas/logicsrc-account-provider.schema.json" with { type: "json" }; import connectedAccountSchema from "../../schemas/schemas/logicsrc-connected-account.schema.json" with { type: "json" }; import emailMessageSchema from "../../schemas/schemas/logicsrc-email-message.schema.json" with { type: "json" }; import eventSchema from "../../schemas/schemas/logicsrc-event.schema.json" with { type: "json" }; import pluginSchema from "../../schemas/schemas/logicsrc-plugin.schema.json" with { type: "json" }; import pullRequestSchema from "../../schemas/schemas/logicsrc-pull-request.schema.json" with { type: "json" }; import repoSchema from "../../schemas/schemas/logicsrc-repo.schema.json" with { type: "json" }; import runSchema from "../../schemas/schemas/logicsrc-run.schema.json" with { type: "json" }; import socialPostSchema from "../../schemas/schemas/logicsrc-social-post.schema.json" with { type: "json" }; import taskSchema from "../../schemas/schemas/logicsrc-task.schema.json" with { type: "json" }; import agentadAdSchema from "../../schemas/schemas/agentad-ad.schema.json" with { type: "json" }; import agentadPlacementSchema from "../../schemas/schemas/agentad-placement.schema.json" with { type: "json" }; import agentadAdRequestSchema from "../../schemas/schemas/agentad-ad-request.schema.json" with { type: "json" }; import agentadAdResponseSchema from "../../schemas/schemas/agentad-ad-response.schema.json" with { type: "json" }; import agentadImpressionSchema from "../../schemas/schemas/agentad-impression.schema.json" with { type: "json" }; import agentadClickSchema from "../../schemas/schemas/agentad-click.schema.json" with { type: "json" }; import agentadCampaignSchema from "../../schemas/schemas/agentad-campaign.schema.json" with { type: "json" }; export const schemas = { agent: agentSchema, "account-audit-event": accountAuditEventSchema, "account-grant": accountGrantSchema, "account-provider": accountProviderSchema, "connected-account": connectedAccountSchema, "email-message": emailMessageSchema, event: eventSchema, plugin: pluginSchema, "pull-request": pullRequestSchema, repo: repoSchema, run: runSchema, "social-post": socialPostSchema, task: taskSchema, "agentad-ad": agentadAdSchema, "agentad-placement": agentadPlacementSchema, "agentad-ad-request": agentadAdRequestSchema, "agentad-ad-response": agentadAdResponseSchema, "agentad-impression": agentadImpressionSchema, "agentad-click": agentadClickSchema, "agentad-campaign": agentadCampaignSchema } as const; export type SchemaKind = keyof typeof schemas; export function isSchemaKind(value: string): value is SchemaKind { return Object.hasOwn(schemas, value); }