62 lines
1.3 KiB
TypeScript
62 lines
1.3 KiB
TypeScript
// ---------------------------------------------------------------------------
|
|
// Zino Service SDK — Public API
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// Core client
|
|
export { ZinoClient } from "./client";
|
|
|
|
// Service modules
|
|
export { AuthService } from "./auth";
|
|
export { WorkflowService } from "./workflow";
|
|
export { ViewService } from "./views";
|
|
|
|
// React bindings
|
|
export { ZinoProvider, useZino, queryClient } from "./provider";
|
|
|
|
// Components
|
|
export { DynamicForm } from "./DynamicForm";
|
|
|
|
// Re-export TanStack Query hooks for convenience
|
|
export { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
|
|
|
|
// Types
|
|
export type {
|
|
User,
|
|
RoleAssignment,
|
|
LoginRequest,
|
|
LoginResponse,
|
|
App,
|
|
WorkflowDefinition,
|
|
State,
|
|
Transition,
|
|
Activity,
|
|
ActivityDataField,
|
|
AllowedRole,
|
|
WorkflowDataField,
|
|
GridColumn,
|
|
DataType,
|
|
StageGate,
|
|
StageGateRuleSet,
|
|
SGRuleOutcome,
|
|
WorkflowInstance,
|
|
ActivityLogEntry,
|
|
FormFieldType,
|
|
FormField,
|
|
FormConfig,
|
|
ActivityForm,
|
|
ViewField,
|
|
ViewFieldType,
|
|
ActionConfig,
|
|
Column,
|
|
SortDir,
|
|
TabularViewParams,
|
|
TabularViewResponse,
|
|
ActivityEntry,
|
|
InstanceReport,
|
|
DetailViewResponse,
|
|
ReportSection,
|
|
StateTransition,
|
|
ZinoClientConfig,
|
|
ApiError,
|
|
} from "./types";
|