generated from templates/typescript-types
more types
This commit is contained in:
6
src/identifiers.d.ts
vendored
6
src/identifiers.d.ts
vendored
@@ -1,6 +1,12 @@
|
||||
|
||||
/** An HTTP URL, e.g. `https://example.com/foo?bar=baz` */
|
||||
export type HttpURL = `http://${string}` | `https://${string}`;
|
||||
|
||||
/** An HTTP URL without the scheme specified, e.g. `//example.com/foo?bar=baz` */
|
||||
export type HttpURLSchemeless = `//${string}`;
|
||||
|
||||
/** An RFC 4122 Universally Unique Identifier string */
|
||||
export type UUID = `${string}-${string}-${string}-${string}-${string}`;
|
||||
|
||||
/** A Snowflake unique identifier string */
|
||||
export type SnowflakeID = `${bigint}`;
|
||||
|
||||
Reference in New Issue
Block a user