🚧 wip: create bulk insert endpoint
This commit is contained in:
15
snowflake.d.ts
vendored
Normal file
15
snowflake.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
declare module "node-snowflake" {
|
||||
interface SnowflakeOptions {
|
||||
workerId?: number;
|
||||
datacenterId?: number;
|
||||
sequence?: number;
|
||||
epoch?: number | bigint | Date;
|
||||
}
|
||||
|
||||
class Snowflake {
|
||||
constructor(options?: SnowflakeOptions);
|
||||
generate(): bigint;
|
||||
}
|
||||
|
||||
export { Snowflake };
|
||||
}
|
||||
Reference in New Issue
Block a user