@mondaycom/apps-cli
Version:
A cli tool to manage apps (and monday-code projects) in monday.com
436 lines (435 loc) • 14.5 kB
TypeScript
import { z } from 'zod';
export declare const appFeatureSchema: z.ZodObject<{
id: z.ZodNumber;
data: z.ZodOptional<z.ZodObject<{
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
microFrontendName?: string | undefined;
}, {
microFrontendName?: string | undefined;
}>>;
type: z.ZodString;
name: z.ZodString;
region: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
current_release: z.ZodOptional<z.ZodNullable<z.ZodObject<{
kind: z.ZodOptional<z.ZodString>;
data: z.ZodOptional<z.ZodObject<{
url: z.ZodOptional<z.ZodString>;
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url?: string | undefined;
microFrontendName?: string | undefined;
}, {
url?: string | undefined;
microFrontendName?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}>;
export declare const listAppFeaturesSchema: z.ZodObject<{
appFeatures: z.ZodArray<z.ZodObject<{
id: z.ZodNumber;
data: z.ZodOptional<z.ZodObject<{
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
microFrontendName?: string | undefined;
}, {
microFrontendName?: string | undefined;
}>>;
type: z.ZodString;
name: z.ZodString;
region: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
current_release: z.ZodOptional<z.ZodNullable<z.ZodObject<{
kind: z.ZodOptional<z.ZodString>;
data: z.ZodOptional<z.ZodObject<{
url: z.ZodOptional<z.ZodString>;
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url?: string | undefined;
microFrontendName?: string | undefined;
}, {
url?: string | undefined;
microFrontendName?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}>, "many">;
statusCode: z.ZodNumber;
headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
}, "strip", z.ZodTypeAny, {
statusCode: number;
headers: Record<string, string | string[]>;
appFeatures: {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}[];
}, {
statusCode: number;
headers: Record<string, string | string[]>;
appFeatures: {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}[];
}>;
export declare const createAppFeatureReleaseSchema: z.ZodObject<{
app_feature: z.ZodObject<{
id: z.ZodNumber;
data: z.ZodOptional<z.ZodObject<{
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
microFrontendName?: string | undefined;
}, {
microFrontendName?: string | undefined;
}>>;
type: z.ZodString;
name: z.ZodString;
region: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
current_release: z.ZodOptional<z.ZodNullable<z.ZodObject<{
kind: z.ZodOptional<z.ZodString>;
data: z.ZodOptional<z.ZodObject<{
url: z.ZodOptional<z.ZodString>;
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url?: string | undefined;
microFrontendName?: string | undefined;
}, {
url?: string | undefined;
microFrontendName?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}>;
statusCode: z.ZodNumber;
headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
}, "strip", z.ZodTypeAny, {
statusCode: number;
headers: Record<string, string | string[]>;
app_feature: {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
};
}, {
statusCode: number;
headers: Record<string, string | string[]>;
app_feature: {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
};
}>;
export declare const createAppFeatureSchema: z.ZodObject<{
app_feature: z.ZodObject<{
id: z.ZodNumber;
data: z.ZodOptional<z.ZodObject<{
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
microFrontendName?: string | undefined;
}, {
microFrontendName?: string | undefined;
}>>;
type: z.ZodString;
name: z.ZodString;
region: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
current_release: z.ZodOptional<z.ZodNullable<z.ZodObject<{
kind: z.ZodOptional<z.ZodString>;
data: z.ZodOptional<z.ZodObject<{
url: z.ZodOptional<z.ZodString>;
microFrontendName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url?: string | undefined;
microFrontendName?: string | undefined;
}, {
url?: string | undefined;
microFrontendName?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}, {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}, {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
}>;
statusCode: z.ZodNumber;
headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
}, "strip", z.ZodTypeAny, {
statusCode: number;
headers: Record<string, string | string[]>;
app_feature: {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
};
}, {
statusCode: number;
headers: Record<string, string | string[]>;
app_feature: {
name: string;
type: string;
id: number;
data?: {
microFrontendName?: string | undefined;
} | undefined;
region?: string | undefined;
state?: string | undefined;
status?: string | null | undefined;
current_release?: {
kind?: string | undefined;
data?: {
url?: string | undefined;
microFrontendName?: string | undefined;
} | undefined;
} | null | undefined;
};
}>;