Replace loose z.string() fields in supportCaseSchema and supportCaseFilterSchema with the already-defined enum schemas (status, priority, category). Add JSDoc to intentional escape hatches in customer contract interfaces. Fix portal type assertions for the stricter filter types.
19 lines
416 B
TypeScript
19 lines
416 B
TypeScript
/**
|
|
* Common Domain
|
|
*
|
|
* Shared types and utilities used across all domains.
|
|
*/
|
|
|
|
export * from "./types.js";
|
|
export * from "./schema.js";
|
|
export * from "./validation.js";
|
|
export * from "./errors.js";
|
|
export {
|
|
WhmcsProviderError,
|
|
SalesforceProviderError,
|
|
FreebitProviderError,
|
|
type WhmcsProviderErrorCode,
|
|
type SalesforceProviderErrorCode,
|
|
type FreebitProviderErrorCode,
|
|
} from "./provider-errors.js";
|