//#region src/runtime/types.d.ts export interface Attributes {} export interface AttributeList { __tuple?: []; } export type InferredAttributes = keyof Attributes extends never ? Record : Attributes; type InferredAttributeList = AttributeList["__tuple"] extends [] ? string[] : AttributeList["__tuple"]; /** Represents a user or machine user principal in the Tailor Platform. */ export type TailorPrincipal = { /** The ID of the principal. */ id: string; /** The type of the principal. */ type: "user" | "machine_user"; /** The ID of the workspace the principal belongs to. */ workspaceId: string; /** A map of the principal's attributes. */ attributes: InferredAttributes; /** A list of the principal's attribute IDs. */ attributeList: InferredAttributeList; }; export interface Env {} /** Represents environment variables in the Tailor platform. */ export type TailorEnv = keyof Env extends never ? Record : Env; //#endregion