Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion-framework-module-app

Package Overview
Dependencies
Maintainers
0
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-module-app - npm Package Compare versions

Comparing version 6.0.0-alpha-1691ce366ff2e68db5722686eda883710ca88dea to 6.0.0-alpha-3568e67f10954eda012742a1a7d48d1278943f38

2

CHANGELOG.md
# Change Log
## 6.0.0-alpha-1691ce366ff2e68db5722686eda883710ca88dea
## 6.0.0-alpha-3568e67f10954eda012742a1a7d48d1278943f38

@@ -5,0 +5,0 @@ ### Major Changes

@@ -89,3 +89,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

},
selector: (res) => __awaiter(this, void 0, void 0, function* () { return ApplicationSchema.array().parse(yield jsonSelector(res)); }),
selector: (res) => __awaiter(this, void 0, void 0, function* () {
const response = (yield jsonSelector(res));
return ApplicationSchema.array().parse(response.value);
}),
});

@@ -92,0 +95,0 @@ },

import z from 'zod';
const ApiApplicationPersonSchema = z.object({
azureUniqueId: z.string(),
displayName: z.string().optional(),
mail: z.string().optional(),
upn: z.string().optional(),
accountType: z.string().optional(),
accountClassification: z.string().optional(),
isExpired: z.boolean().optional(),
displayName: z.string(),
mail: z.string().nullish(),
upn: z.string().nullish(),
accountType: z.string(),
accountClassification: z.string().nullish(),
isExpired: z.boolean().nullish(),
});
export const ApiApplicationBuildSchema = z.object({
version: z.string().optional(),
entryPoint: z.string().optional(),
tags: z.array(z.string()).optional(),
tag: z.enum(['latest', 'preview']).optional(),
assetPath: z.string().optional(),
configUrl: z.string().optional(),
timestamp: z.string().optional(),
commitSha: z.string().optional(),
githubRepo: z.string().optional(),
projectPage: z.string().optional(),
allowedExtensions: z.array(z.string()).optional(),
uploadedBy: ApiApplicationPersonSchema.optional(),
version: z.string(),
entryPoint: z.string(),
tags: z.array(z.string()).nullish(),
tag: z.enum(['latest', 'preview']).nullish(),
assetPath: z.string().nullish(),
configUrl: z.string().nullish(),
timestamp: z.string().nullish(),
commitSha: z.string().nullish(),
githubRepo: z.string().nullish(),
projectPage: z.string().nullish(),
allowedExtensions: z.array(z.string()).nullish(),
uploadedBy: ApiApplicationPersonSchema.nullish(),
});
export const ApiApplicationSchema = z.object({
appKey: z.string(),
displayName: z.string().optional(),
description: z.string().optional(),
type: z.string().optional(),
isPinned: z.boolean().optional(),
templateSource: z.string().optional(),
displayName: z.string(),
description: z.string(),
type: z.string(),
isPinned: z.boolean().nullish(),
templateSource: z.string().nullish(),
category: z
.object({
id: z.string(),
name: z.string().optional(),
displayName: z.string().optional(),
color: z.string().optional(),
defaultIcon: z.string().optional(),
sortOrder: z.number().optional(),
name: z.string(),
displayName: z.string(),
color: z.string(),
defaultIcon: z.string(),
sortOrder: z.number(),
})
.optional(),
.nullish(),
visualization: z
.object({
color: z.string().optional(),
icon: z.string().optional(),
color: z.string().nullish(),
icon: z.string().nullish(),
sortOrder: z.number(),
})
.optional(),
keywords: z.array(z.string()).optional(),
admins: z.array(ApiApplicationPersonSchema).optional(),
owners: z.array(ApiApplicationPersonSchema).optional(),
build: ApiApplicationBuildSchema.optional(),
.nullish(),
keywords: z.array(z.string()).nullish(),
admins: z.array(ApiApplicationPersonSchema).nullish(),
owners: z.array(ApiApplicationPersonSchema).nullish(),
build: ApiApplicationBuildSchema.nullish(),
});
export default { ApiApplicationPersonSchema, ApiApplicationBuildSchema, ApiApplicationSchema };
//# sourceMappingURL=application.schema.js.map
export {};
// export type ApiAppVersionConfig = {
// environment: string;
// endpoints: Record<
// string,
// {
// url: string;
// scopes: string[];
// }
// >;
// };
// export type ApiApp = {
// appKey: string;
// displayName?: string;
// description?: string;
// type?: AppType;
// isPinned?: boolean;
// templateSource?: string;
// category?: AppCategory;
// visualization: {
// color: string;
// icon: string;
// sortOrder: number;
// };
// keywords: string[];
// admins: AppOwnerOrAdmin[];
// owners: AppOwnerOrAdmin[];
// build: AppBuild<AzureUniqueId>;
// };
//# sourceMappingURL=types.js.map
import z from 'zod';
export declare const ApiApplicationBuildSchema: z.ZodObject<{
version: z.ZodOptional<z.ZodString>;
entryPoint: z.ZodOptional<z.ZodString>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
tag: z.ZodOptional<z.ZodEnum<["latest", "preview"]>>;
assetPath: z.ZodOptional<z.ZodString>;
configUrl: z.ZodOptional<z.ZodString>;
timestamp: z.ZodOptional<z.ZodString>;
commitSha: z.ZodOptional<z.ZodString>;
githubRepo: z.ZodOptional<z.ZodString>;
projectPage: z.ZodOptional<z.ZodString>;
allowedExtensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
uploadedBy: z.ZodOptional<z.ZodObject<{
version: z.ZodString;
entryPoint: z.ZodString;
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
tag: z.ZodOptional<z.ZodNullable<z.ZodEnum<["latest", "preview"]>>>;
assetPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
configUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
githubRepo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
projectPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
allowedExtensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
uploadedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>>;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}>;
export declare const ApiApplicationSchema: z.ZodObject<{
appKey: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<z.ZodString>;
isPinned: z.ZodOptional<z.ZodBoolean>;
templateSource: z.ZodOptional<z.ZodString>;
category: z.ZodOptional<z.ZodObject<{
displayName: z.ZodString;
description: z.ZodString;
type: z.ZodString;
isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
templateSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
category: z.ZodOptional<z.ZodNullable<z.ZodObject<{
id: z.ZodString;
name: z.ZodOptional<z.ZodString>;
displayName: z.ZodOptional<z.ZodString>;
color: z.ZodOptional<z.ZodString>;
defaultIcon: z.ZodOptional<z.ZodString>;
sortOrder: z.ZodOptional<z.ZodNumber>;
name: z.ZodString;
displayName: z.ZodString;
color: z.ZodString;
defaultIcon: z.ZodString;
sortOrder: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
}, {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
}>>;
visualization: z.ZodOptional<z.ZodObject<{
color: z.ZodOptional<z.ZodString>;
icon: z.ZodOptional<z.ZodString>;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
}>>>;
visualization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
sortOrder: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
color?: string | null | undefined;
icon?: string | null | undefined;
}, {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
}>>;
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
admins: z.ZodOptional<z.ZodArray<z.ZodObject<{
color?: string | null | undefined;
icon?: string | null | undefined;
}>>>;
keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
admins: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>, "many">>;
owners: z.ZodOptional<z.ZodArray<z.ZodObject<{
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>, "many">>>;
owners: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>, "many">>;
build: z.ZodOptional<z.ZodObject<{
version: z.ZodOptional<z.ZodString>;
entryPoint: z.ZodOptional<z.ZodString>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
tag: z.ZodOptional<z.ZodEnum<["latest", "preview"]>>;
assetPath: z.ZodOptional<z.ZodString>;
configUrl: z.ZodOptional<z.ZodString>;
timestamp: z.ZodOptional<z.ZodString>;
commitSha: z.ZodOptional<z.ZodString>;
githubRepo: z.ZodOptional<z.ZodString>;
projectPage: z.ZodOptional<z.ZodString>;
allowedExtensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
uploadedBy: z.ZodOptional<z.ZodObject<{
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>, "many">>>;
build: z.ZodOptional<z.ZodNullable<z.ZodObject<{
version: z.ZodString;
entryPoint: z.ZodString;
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
tag: z.ZodOptional<z.ZodNullable<z.ZodEnum<["latest", "preview"]>>>;
assetPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
configUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
githubRepo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
projectPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
allowedExtensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
uploadedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>>;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
}>>;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
displayName: string;
type: string;
appKey: string;
displayName?: string | undefined;
type?: string | undefined;
description?: string | undefined;
isPinned?: boolean | undefined;
templateSource?: string | undefined;
description: string;
isPinned?: boolean | null | undefined;
templateSource?: string | null | undefined;
category?: {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
} | undefined;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
} | null | undefined;
visualization?: {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
} | undefined;
keywords?: string[] | undefined;
color?: string | null | undefined;
icon?: string | null | undefined;
} | null | undefined;
keywords?: string[] | null | undefined;
admins?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
owners?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
build?: {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
} | null | undefined;
}, {
displayName: string;
type: string;
appKey: string;
displayName?: string | undefined;
type?: string | undefined;
description?: string | undefined;
isPinned?: boolean | undefined;
templateSource?: string | undefined;
description: string;
isPinned?: boolean | null | undefined;
templateSource?: string | null | undefined;
category?: {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
} | undefined;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
} | null | undefined;
visualization?: {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
} | undefined;
keywords?: string[] | undefined;
color?: string | null | undefined;
icon?: string | null | undefined;
} | null | undefined;
keywords?: string[] | null | undefined;
admins?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
owners?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
build?: {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
} | null | undefined;
}>;

@@ -381,402 +381,402 @@ declare const _default: {

azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>;
ApiApplicationBuildSchema: z.ZodObject<{
version: z.ZodOptional<z.ZodString>;
entryPoint: z.ZodOptional<z.ZodString>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
tag: z.ZodOptional<z.ZodEnum<["latest", "preview"]>>;
assetPath: z.ZodOptional<z.ZodString>;
configUrl: z.ZodOptional<z.ZodString>;
timestamp: z.ZodOptional<z.ZodString>;
commitSha: z.ZodOptional<z.ZodString>;
githubRepo: z.ZodOptional<z.ZodString>;
projectPage: z.ZodOptional<z.ZodString>;
allowedExtensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
uploadedBy: z.ZodOptional<z.ZodObject<{
version: z.ZodString;
entryPoint: z.ZodString;
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
tag: z.ZodOptional<z.ZodNullable<z.ZodEnum<["latest", "preview"]>>>;
assetPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
configUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
githubRepo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
projectPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
allowedExtensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
uploadedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>>;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}>;
ApiApplicationSchema: z.ZodObject<{
appKey: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<z.ZodString>;
isPinned: z.ZodOptional<z.ZodBoolean>;
templateSource: z.ZodOptional<z.ZodString>;
category: z.ZodOptional<z.ZodObject<{
displayName: z.ZodString;
description: z.ZodString;
type: z.ZodString;
isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
templateSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
category: z.ZodOptional<z.ZodNullable<z.ZodObject<{
id: z.ZodString;
name: z.ZodOptional<z.ZodString>;
displayName: z.ZodOptional<z.ZodString>;
color: z.ZodOptional<z.ZodString>;
defaultIcon: z.ZodOptional<z.ZodString>;
sortOrder: z.ZodOptional<z.ZodNumber>;
name: z.ZodString;
displayName: z.ZodString;
color: z.ZodString;
defaultIcon: z.ZodString;
sortOrder: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
}, {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
}>>;
visualization: z.ZodOptional<z.ZodObject<{
color: z.ZodOptional<z.ZodString>;
icon: z.ZodOptional<z.ZodString>;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
}>>>;
visualization: z.ZodOptional<z.ZodNullable<z.ZodObject<{
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
sortOrder: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
color?: string | null | undefined;
icon?: string | null | undefined;
}, {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
}>>;
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
admins: z.ZodOptional<z.ZodArray<z.ZodObject<{
color?: string | null | undefined;
icon?: string | null | undefined;
}>>>;
keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
admins: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>, "many">>;
owners: z.ZodOptional<z.ZodArray<z.ZodObject<{
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>, "many">>>;
owners: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>, "many">>;
build: z.ZodOptional<z.ZodObject<{
version: z.ZodOptional<z.ZodString>;
entryPoint: z.ZodOptional<z.ZodString>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
tag: z.ZodOptional<z.ZodEnum<["latest", "preview"]>>;
assetPath: z.ZodOptional<z.ZodString>;
configUrl: z.ZodOptional<z.ZodString>;
timestamp: z.ZodOptional<z.ZodString>;
commitSha: z.ZodOptional<z.ZodString>;
githubRepo: z.ZodOptional<z.ZodString>;
projectPage: z.ZodOptional<z.ZodString>;
allowedExtensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
uploadedBy: z.ZodOptional<z.ZodObject<{
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>, "many">>>;
build: z.ZodOptional<z.ZodNullable<z.ZodObject<{
version: z.ZodString;
entryPoint: z.ZodString;
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
tag: z.ZodOptional<z.ZodNullable<z.ZodEnum<["latest", "preview"]>>>;
assetPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
configUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
githubRepo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
projectPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
allowedExtensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
uploadedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
azureUniqueId: z.ZodString;
displayName: z.ZodOptional<z.ZodString>;
mail: z.ZodOptional<z.ZodString>;
upn: z.ZodOptional<z.ZodString>;
accountType: z.ZodOptional<z.ZodString>;
accountClassification: z.ZodOptional<z.ZodString>;
isExpired: z.ZodOptional<z.ZodBoolean>;
displayName: z.ZodString;
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
accountType: z.ZodString;
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isExpired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}, {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}>>;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}, {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
}>>;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
displayName: string;
type: string;
appKey: string;
displayName?: string | undefined;
type?: string | undefined;
description?: string | undefined;
isPinned?: boolean | undefined;
templateSource?: string | undefined;
description: string;
isPinned?: boolean | null | undefined;
templateSource?: string | null | undefined;
category?: {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
} | undefined;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
} | null | undefined;
visualization?: {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
} | undefined;
keywords?: string[] | undefined;
color?: string | null | undefined;
icon?: string | null | undefined;
} | null | undefined;
keywords?: string[] | null | undefined;
admins?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
owners?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
build?: {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
} | null | undefined;
}, {
displayName: string;
type: string;
appKey: string;
displayName?: string | undefined;
type?: string | undefined;
description?: string | undefined;
isPinned?: boolean | undefined;
templateSource?: string | undefined;
description: string;
isPinned?: boolean | null | undefined;
templateSource?: string | null | undefined;
category?: {
displayName: string;
id: string;
displayName?: string | undefined;
name?: string | undefined;
color?: string | undefined;
defaultIcon?: string | undefined;
sortOrder?: number | undefined;
} | undefined;
name: string;
color: string;
defaultIcon: string;
sortOrder: number;
} | null | undefined;
visualization?: {
sortOrder: number;
color?: string | undefined;
icon?: string | undefined;
} | undefined;
keywords?: string[] | undefined;
color?: string | null | undefined;
icon?: string | null | undefined;
} | null | undefined;
keywords?: string[] | null | undefined;
admins?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
owners?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
}[] | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
}[] | null | undefined;
build?: {
version?: string | undefined;
entryPoint?: string | undefined;
tags?: string[] | undefined;
tag?: "latest" | "preview" | undefined;
assetPath?: string | undefined;
configUrl?: string | undefined;
timestamp?: string | undefined;
commitSha?: string | undefined;
githubRepo?: string | undefined;
projectPage?: string | undefined;
allowedExtensions?: string[] | undefined;
version: string;
entryPoint: string;
tags?: string[] | null | undefined;
tag?: "latest" | "preview" | null | undefined;
assetPath?: string | null | undefined;
configUrl?: string | null | undefined;
timestamp?: string | null | undefined;
commitSha?: string | null | undefined;
githubRepo?: string | null | undefined;
projectPage?: string | null | undefined;
allowedExtensions?: string[] | null | undefined;
uploadedBy?: {
azureUniqueId: string;
displayName?: string | undefined;
mail?: string | undefined;
upn?: string | undefined;
accountType?: string | undefined;
accountClassification?: string | undefined;
isExpired?: boolean | undefined;
} | undefined;
} | undefined;
displayName: string;
accountType: string;
mail?: string | null | undefined;
upn?: string | null | undefined;
accountClassification?: string | null | undefined;
isExpired?: boolean | null | undefined;
} | null | undefined;
} | null | undefined;
}>;
};
export default _default;

@@ -17,33 +17,29 @@ import { AnyModule, CombinedModules, ModulesInstance } from '@equinor/fusion-framework-module';

export type CurrentApp<TModules extends Array<AnyModule> = [], TEnv = any> = IApp<TEnv, TModules> | null | undefined;
export type AppAdmin = {
type Nullable<T> = T | null | undefined;
type AppPerson = {
id: string;
azureUniqueId?: string;
displayName?: string;
mail?: string;
upn?: string;
accountType?: string;
accountClassification?: string;
azureUniqueId: string;
displayName: string;
mail?: Nullable<string>;
upn?: Nullable<string>;
accountType: string;
accountClassification?: Nullable<string>;
isExpired?: Nullable<boolean>;
};
export type AppOwner = AppAdmin;
export type AppAdmin = AppPerson;
export type AppOwner = AppPerson;
export type AppBuildManifest = {
version?: string;
entryPoint?: string;
tags?: string[];
tag?: 'latest' | 'preview';
assetPath?: string;
configUrl?: string;
timestamp?: string;
commitSha?: string;
githubRepo?: string;
projectPage?: string;
annotations?: Record<string, string>;
allowedExtensions?: string[];
uploadedBy?: {
azureUniqueId: string;
displayName?: string;
mail?: string;
upn?: string;
accountType?: string;
accountClassification?: string;
};
version: string;
entryPoint: string;
tags?: Nullable<string[]>;
tag?: Nullable<'latest' | 'preview'>;
assetPath?: Nullable<string>;
configUrl?: Nullable<string>;
timestamp?: Nullable<string>;
commitSha?: Nullable<string>;
githubRepo?: Nullable<string>;
projectPage?: Nullable<string>;
annotations?: Nullable<Record<string, string>>;
allowedExtensions?: Nullable<string[]>;
uploadedBy?: Nullable<AppOwner>;
};

@@ -56,8 +52,8 @@ export interface AppManifest {

name?: string;
displayName?: string;
description?: string;
type?: AppType;
isPinned?: boolean;
templateSource?: string;
catagory?: {
displayName: string;
description: string;
type: AppType;
isPinned?: Nullable<boolean>;
templateSource?: Nullable<string>;
category?: Nullable<{
id: string;

@@ -68,13 +64,13 @@ name: string;

defaultIcon: string;
sortOrder: 1000;
};
visualization?: {
color?: string;
icon?: string;
sortOrder: number;
};
keywords?: string[];
admins?: AppAdmin[];
owners?: AppOwner[];
build?: AppBuildManifest;
}>;
visualization?: Nullable<{
color?: Nullable<string>;
icon?: Nullable<string>;
sortOrder: number;
}>;
keywords?: Nullable<string[]>;
admins?: Nullable<AppAdmin[]>;
owners?: Nullable<AppOwner[]>;
build?: Nullable<AppBuildManifest>;
}

@@ -81,0 +77,0 @@ export type Endpoint = {

{
"name": "@equinor/fusion-framework-module-app",
"version": "6.0.0-alpha-1691ce366ff2e68db5722686eda883710ca88dea",
"version": "6.0.0-alpha-3568e67f10954eda012742a1a7d48d1278943f38",
"description": "",

@@ -55,12 +55,12 @@ "main": "dist/esm/index.js",

"zod": "^3.23.8",
"@equinor/fusion-query": "^5.1.3",
"@equinor/fusion-observable": "^8.4.1"
"@equinor/fusion-observable": "^8.4.1",
"@equinor/fusion-query": "^5.1.3"
},
"devDependencies": {
"typescript": "^5.5.4",
"@equinor/fusion-framework-module": "^4.3.5-alpha-1691ce366ff2e68db5722686eda883710ca88dea",
"@equinor/fusion-framework-module-event": "^4.2.4-alpha-1691ce366ff2e68db5722686eda883710ca88dea",
"@equinor/fusion-framework-module-http": "^6.1.0-alpha-1691ce366ff2e68db5722686eda883710ca88dea",
"@equinor/fusion-framework-module-msal": "^3.1.5-alpha-1691ce366ff2e68db5722686eda883710ca88dea",
"@equinor/fusion-framework-module-service-discovery": "^8.0.0-alpha-1691ce366ff2e68db5722686eda883710ca88dea"
"@equinor/fusion-framework-module": "^4.3.5-alpha-3568e67f10954eda012742a1a7d48d1278943f38",
"@equinor/fusion-framework-module-event": "^4.2.4-alpha-3568e67f10954eda012742a1a7d48d1278943f38",
"@equinor/fusion-framework-module-http": "^6.1.0-alpha-3568e67f10954eda012742a1a7d48d1278943f38",
"@equinor/fusion-framework-module-service-discovery": "^8.0.0-alpha-3568e67f10954eda012742a1a7d48d1278943f38",
"@equinor/fusion-framework-module-msal": "^3.1.5-alpha-3568e67f10954eda012742a1a7d48d1278943f38"
},

@@ -67,0 +67,0 @@ "scripts": {

@@ -90,4 +90,6 @@ import { catchError, map, Observable, ObservableInput } from 'rxjs';

},
selector: async (res: Response) =>
ApplicationSchema.array().parse(await jsonSelector(res)),
selector: async (res: Response) => {
const response = (await jsonSelector(res)) as { value: unknown[] };
return ApplicationSchema.array().parse(response.value);
},
});

@@ -94,0 +96,0 @@ },

@@ -5,23 +5,23 @@ import z from 'zod';

azureUniqueId: z.string(),
displayName: z.string().optional(),
mail: z.string().optional(),
upn: z.string().optional(),
accountType: z.string().optional(),
accountClassification: z.string().optional(),
isExpired: z.boolean().optional(),
displayName: z.string(),
mail: z.string().nullish(),
upn: z.string().nullish(),
accountType: z.string(),
accountClassification: z.string().nullish(),
isExpired: z.boolean().nullish(),
});
export const ApiApplicationBuildSchema = z.object({
version: z.string().optional(),
entryPoint: z.string().optional(),
tags: z.array(z.string()).optional(),
tag: z.enum(['latest', 'preview']).optional(),
assetPath: z.string().optional(),
configUrl: z.string().optional(),
timestamp: z.string().optional(),
commitSha: z.string().optional(),
githubRepo: z.string().optional(),
projectPage: z.string().optional(),
allowedExtensions: z.array(z.string()).optional(),
uploadedBy: ApiApplicationPersonSchema.optional(),
version: z.string(),
entryPoint: z.string(),
tags: z.array(z.string()).nullish(),
tag: z.enum(['latest', 'preview']).nullish(),
assetPath: z.string().nullish(),
configUrl: z.string().nullish(),
timestamp: z.string().nullish(),
commitSha: z.string().nullish(),
githubRepo: z.string().nullish(),
projectPage: z.string().nullish(),
allowedExtensions: z.array(z.string()).nullish(),
uploadedBy: ApiApplicationPersonSchema.nullish(),
});

@@ -31,30 +31,30 @@

appKey: z.string(),
displayName: z.string().optional(),
description: z.string().optional(),
type: z.string().optional(),
isPinned: z.boolean().optional(),
templateSource: z.string().optional(),
displayName: z.string(),
description: z.string(),
type: z.string(),
isPinned: z.boolean().nullish(),
templateSource: z.string().nullish(),
category: z
.object({
id: z.string(),
name: z.string().optional(),
displayName: z.string().optional(),
color: z.string().optional(),
defaultIcon: z.string().optional(),
sortOrder: z.number().optional(),
name: z.string(),
displayName: z.string(),
color: z.string(),
defaultIcon: z.string(),
sortOrder: z.number(),
})
.optional(),
.nullish(),
visualization: z
.object({
color: z.string().optional(),
icon: z.string().optional(),
color: z.string().nullish(),
icon: z.string().nullish(),
sortOrder: z.number(),
})
.optional(),
keywords: z.array(z.string()).optional(),
admins: z.array(ApiApplicationPersonSchema).optional(),
owners: z.array(ApiApplicationPersonSchema).optional(),
build: ApiApplicationBuildSchema.optional(),
.nullish(),
keywords: z.array(z.string()).nullish(),
admins: z.array(ApiApplicationPersonSchema).nullish(),
owners: z.array(ApiApplicationPersonSchema).nullish(),
build: ApiApplicationBuildSchema.nullish(),
});
export default { ApiApplicationPersonSchema, ApiApplicationBuildSchema, ApiApplicationSchema };

@@ -22,2 +22,3 @@ import { AnyModule, CombinedModules, ModulesInstance } from '@equinor/fusion-framework-module';

// TODO: remove `report` and `launcher` when legacy apps are removed
export type AppType = 'standalone' | 'report' | 'launcher' | 'template';

@@ -31,35 +32,33 @@

export type AppAdmin = {
type Nullable<T> = T | null | undefined;
type AppPerson = {
id: string;
azureUniqueId?: string;
displayName?: string;
mail?: string;
upn?: string;
accountType?: string;
accountClassification?: string;
azureUniqueId: string;
displayName: string;
mail?: Nullable<string>;
upn?: Nullable<string>;
accountType: string;
accountClassification?: Nullable<string>;
isExpired?: Nullable<boolean>;
};
export type AppOwner = AppAdmin;
export type AppAdmin = AppPerson;
export type AppOwner = AppPerson;
export type AppBuildManifest = {
version?: string;
entryPoint?: string;
tags?: string[];
tag?: 'latest' | 'preview';
assetPath?: string;
configUrl?: string;
timestamp?: string;
commitSha?: string;
githubRepo?: string;
projectPage?: string;
annotations?: Record<string, string>;
allowedExtensions?: string[];
uploadedBy?: {
azureUniqueId: string;
displayName?: string;
mail?: string;
upn?: string;
accountType?: string;
accountClassification?: string;
};
version: string;
entryPoint: string;
tags?: Nullable<string[]>;
tag?: Nullable<'latest' | 'preview'>;
assetPath?: Nullable<string>;
configUrl?: Nullable<string>;
timestamp?: Nullable<string>;
commitSha?: Nullable<string>;
githubRepo?: Nullable<string>;
projectPage?: Nullable<string>;
annotations?: Nullable<Record<string, string>>;
allowedExtensions?: Nullable<string[]>;
uploadedBy?: Nullable<AppOwner>;
};

@@ -73,8 +72,8 @@

name?: string;
displayName?: string;
description?: string;
type?: AppType;
isPinned?: boolean;
templateSource?: string;
catagory?: {
displayName: string;
description: string;
type: AppType;
isPinned?: Nullable<boolean>;
templateSource?: Nullable<string>;
category?: Nullable<{
id: string;

@@ -85,13 +84,13 @@ name: string;

defaultIcon: string;
sortOrder: 1000;
};
visualization?: {
color?: string;
icon?: string;
sortOrder: number;
};
keywords?: string[];
admins?: AppAdmin[];
owners?: AppOwner[];
build?: AppBuildManifest;
}>;
visualization?: Nullable<{
color?: Nullable<string>;
icon?: Nullable<string>;
sortOrder: number;
}>;
keywords?: Nullable<string[]>;
admins?: Nullable<AppAdmin[]>;
owners?: Nullable<AppOwner[]>;
build?: Nullable<AppBuildManifest>;
}

@@ -133,31 +132,1 @@

ModulesInstance<AppModules<TModules>>;
// export type ApiAppVersionConfig = {
// environment: string;
// endpoints: Record<
// string,
// {
// url: string;
// scopes: string[];
// }
// >;
// };
// export type ApiApp = {
// appKey: string;
// displayName?: string;
// description?: string;
// type?: AppType;
// isPinned?: boolean;
// templateSource?: string;
// category?: AppCategory;
// visualization: {
// color: string;
// icon: string;
// sortOrder: number;
// };
// keywords: string[];
// admins: AppOwnerOrAdmin[];
// owners: AppOwnerOrAdmin[];
// build: AppBuild<AzureUniqueId>;
// };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc