@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
287 lines • 8.2 kB
TypeScript
import mongoose from "mongoose";
import type { HiddenBodyKeys } from "../interfaces";
import type { IBase } from "./Base";
export interface IEnvVar extends IBase {
name: string;
value: string;
description?: string;
env?: string;
appId?: string;
}
export type EnvVarDto = Omit<IEnvVar, keyof HiddenBodyKeys>;
export declare const envVarSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
collection: string;
timestamps: true;
}, {
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}>> & mongoose.FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}> & {
_id: mongoose.Types.ObjectId;
}>;
export declare const EnvVarModel: mongoose.Model<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}, {}, {}, {}, mongoose.Document<unknown, {}, {
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}> & {
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
} & {
_id: mongoose.Types.ObjectId;
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
collection: string;
timestamps: true;
}, {
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}>> & mongoose.FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
public: boolean;
active: boolean;
createdAt: Date;
updatedAt: Date;
workspace?: mongoose.Types.ObjectId;
workspaceId?: mongoose.Types.ObjectId;
name?: string;
slug?: string;
value?: string;
env?: string;
project?: mongoose.Types.ObjectId;
projectId?: mongoose.Types.ObjectId;
appId?: string;
description?: string;
owner?: mongoose.Types.ObjectId;
metadata?: any;
ownerSlug?: string;
ownerId?: mongoose.Types.ObjectId;
workspaceSlug?: string;
updatedBy?: mongoose.Types.ObjectId;
updatedById?: mongoose.Types.ObjectId;
deletedBy?: mongoose.Types.ObjectId;
deletedById?: mongoose.Types.ObjectId;
deletedAt?: Date;
migratedAt?: Date;
}> & {
_id: mongoose.Types.ObjectId;
}>>;
//# sourceMappingURL=EnvVar.d.ts.map