UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

140 lines 3.78 kB
import { Workspace } from './Workspace'; /** * * @export * @interface ProjectMetadata */ export interface ProjectMetadata { /** * The Project's Creation Date * @type {Date} * @memberof ProjectMetadata */ created_at: Date; /** * The environment of the project. * prod Production * stage Staging * dev Development * @type {string} * @memberof ProjectMetadata */ environment: ProjectMetadataEnvironmentEnum; /** * The project's data home region * eu-central EUCentral * asia-northeast AsiaNorthEast * us-east USEast * us-west USWest * us US * global Global * @type {string} * @memberof ProjectMetadata */ home_region: ProjectMetadataHomeRegionEnum; /** * * @type {Array<string>} * @memberof ProjectMetadata */ hosts: Array<string>; /** * The project's ID. * @type {string} * @memberof ProjectMetadata */ readonly id: string; /** * The project's name if set * @type {string} * @memberof ProjectMetadata */ name: string; /** * The project's slug * @type {string} * @memberof ProjectMetadata */ readonly slug: string; /** * The state of the project. * running Running * halted Halted * deleted Deleted * @type {string} * @memberof ProjectMetadata */ state: ProjectMetadataStateEnum; /** * * @type {string} * @memberof ProjectMetadata */ subscription_id?: string | null; /** * * @type {string} * @memberof ProjectMetadata */ subscription_plan?: string | null; /** * Last Time Project was Updated * @type {Date} * @memberof ProjectMetadata */ updated_at: Date; /** * * @type {Workspace} * @memberof ProjectMetadata */ workspace?: Workspace; /** * * @type {string} * @memberof ProjectMetadata */ workspace_id?: string | null; } /** * @export */ export declare const ProjectMetadataEnvironmentEnum: { readonly Prod: "prod"; readonly Stage: "stage"; readonly Dev: "dev"; readonly UnknownDefaultOpenApi: "11184809"; }; export type ProjectMetadataEnvironmentEnum = typeof ProjectMetadataEnvironmentEnum[keyof typeof ProjectMetadataEnvironmentEnum]; /** * @export */ export declare const ProjectMetadataHomeRegionEnum: { readonly EuCentral: "eu-central"; readonly AsiaNortheast: "asia-northeast"; readonly UsEast: "us-east"; readonly UsWest: "us-west"; readonly Us: "us"; readonly Global: "global"; readonly UnknownDefaultOpenApi: "11184809"; }; export type ProjectMetadataHomeRegionEnum = typeof ProjectMetadataHomeRegionEnum[keyof typeof ProjectMetadataHomeRegionEnum]; /** * @export */ export declare const ProjectMetadataStateEnum: { readonly Running: "running"; readonly Halted: "halted"; readonly Deleted: "deleted"; readonly UnknownDefaultOpenApi: "11184809"; }; export type ProjectMetadataStateEnum = typeof ProjectMetadataStateEnum[keyof typeof ProjectMetadataStateEnum]; /** * Check if a given object implements the ProjectMetadata interface. */ export declare function instanceOfProjectMetadata(value: object): value is ProjectMetadata; export declare function ProjectMetadataFromJSON(json: any): ProjectMetadata; export declare function ProjectMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectMetadata; export declare function ProjectMetadataToJSON(json: any): ProjectMetadata; export declare function ProjectMetadataToJSONTyped(value?: Omit<ProjectMetadata, 'id' | 'slug'> | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=ProjectMetadata.d.ts.map