mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 01:01:49 +10:00
feat: ghetto durable compute
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
* Below type is borrowed from Trigger.dev's SDK, it may be moved elsewhere later.
|
||||
*/
|
||||
|
||||
type JsonPrimitive = string | number | boolean | null | undefined | Date | symbol;
|
||||
export type JsonPrimitive = string | number | boolean | null | undefined | Date | symbol;
|
||||
|
||||
type JsonArray = Json[];
|
||||
export type JsonArray = Json[];
|
||||
|
||||
type JsonRecord<T> = {
|
||||
export type JsonRecord<T> = {
|
||||
[Property in keyof T]: Json;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
type Json<T = any> = JsonPrimitive | JsonArray | JsonRecord<T>;
|
||||
export type Json<T = any> = JsonPrimitive | JsonArray | JsonRecord<T>;
|
||||
|
||||
Reference in New Issue
Block a user