Skip to content

feat: callback schemas and types#142

Merged
almog8k merged 3 commits intoalphafrom
feat/core-callback
Nov 19, 2025
Merged

feat: callback schemas and types#142
almog8k merged 3 commits intoalphafrom
feat/core-callback

Conversation

@almog8k
Copy link
Copy Markdown
Collaborator

@almog8k almog8k commented Nov 19, 2025

Question Answer
New feature
  1. Added core callback response schema factory(generate generic callbacks validation) + Type - createCallbackResponseSchema()/CallbackResponse<T>
  2. Added validationCallbackData schema + Type - validationCallbackDataSchema/ValidationCallbackData

Comment thread src/schemas/core/callback.schema.ts Outdated
taskId: z.string().uuid(),
jobType: z.string(),
taskType: z.string(),
productId: z.string(),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
productId: z.string(),
productId: resourceIdSchema,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update import

Comment thread src/schemas/core/callback.schema.ts
Comment thread src/schemas/core/callback.schema.ts
@almog8k almog8k merged commit ffd5b62 into alpha Nov 19, 2025
6 checks passed
Comment thread src/schemas/core/callback.schema.ts
Comment thread src/schemas/core/callback.schema.ts
Comment thread src/schemas/core/callback.schema.ts
Comment thread src/schemas/ingestion/callback.schema.ts
Comment thread src/schemas/core/callback.schema.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants