@chmoyle-conga/graphql-cart
Version:
Cart module for realtime subscriptions to conga cart
21 lines • 478 B
TypeScript
interface Callback {
next: (data: any, oldData?: any) => void;
error?: (error: any) => void;
}
interface Options {
pageNumber?: number;
pageSize?: number;
takeSnapshot?: boolean;
disableFilter?: boolean;
delta?: boolean;
flowName?: string;
filters?: Array<string>;
}
interface EnvironmentParams {
clientId: string;
endpoint: string;
}
interface Subscription {
unsubscribe: () => void;
}
//# sourceMappingURL=sse.interface.d.ts.map