sequence.d.cts 766 B

123456789101112131415161718
  1. import { entityKind } from "../entity.cjs";
  2. export type GelSequenceOptions = {
  3. increment?: number | string;
  4. minValue?: number | string;
  5. maxValue?: number | string;
  6. startWith?: number | string;
  7. cache?: number | string;
  8. cycle?: boolean;
  9. };
  10. export declare class GelSequence {
  11. readonly seqName: string | undefined;
  12. readonly seqOptions: GelSequenceOptions | undefined;
  13. readonly schema: string | undefined;
  14. static readonly [entityKind]: string;
  15. constructor(seqName: string | undefined, seqOptions: GelSequenceOptions | undefined, schema: string | undefined);
  16. }
  17. export declare function gelSequence(name: string, options?: GelSequenceOptions): GelSequence;
  18. export declare function isGelSequence(obj: unknown): obj is GelSequence;