@telia-ace/alliance-internal-node-utilities 1.0.2-next.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @telia-ace/alliance-internal-node-utilities
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 59f0d3f: Remove unnecessary scripts.
8
+ - 9c6dc92: Added utility for creating public static files used in all Alliance portal distributions.
9
+
10
+ ## 1.0.2-next.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 9c6dc92: Added utility for creating public static files used in all Alliance portal distributions.
15
+
3
16
  ## 1.0.2-next.0
4
17
 
5
18
  ### Patch Changes
@@ -0,0 +1,2 @@
1
+ import { LooseObject } from '@/types';
2
+ export declare function generateCookiePolicyHtml(appManifests: LooseObject): string;
@@ -0,0 +1 @@
1
+ export declare function createPublicDistributionFiles(): Promise<void>;
@@ -0,0 +1 @@
1
+ export { createPublicDistributionFiles } from './create-public-files';
@@ -0,0 +1,7 @@
1
+ import type { Schema } from 'jsonschema';
2
+ type JsonSchemas = {
3
+ appConfig: Schema;
4
+ appManifest: Schema;
5
+ };
6
+ export declare function getJsonSchemas(): JsonSchemas;
7
+ export {};
@@ -0,0 +1,13 @@
1
+ import { LooseObject } from '@/types';
2
+ type PkgJson = LooseObject & {
3
+ name: string;
4
+ version: string;
5
+ };
6
+ export type AlliancePortalDistPkgJson = PkgJson & {
7
+ alliance?: {
8
+ apps?: string[];
9
+ };
10
+ };
11
+ export declare function getPkgJson(): AlliancePortalDistPkgJson;
12
+ export declare function getManifests(pkgJson: AlliancePortalDistPkgJson): Promise<LooseObject>;
13
+ export {};
@@ -12,7 +12,8 @@ export declare enum GatewayErrorCodes {
12
12
  NoAppInRequestContext = 10009,
13
13
  NoWorkspaceInRequestContext = 10010,
14
14
  NoManifestInRequestContext = 10011,
15
- NoUserPermissionsInRequestContext = 10012
15
+ NoUserPermissionsInRequestContext = 10012,
16
+ WorkspacePermissionDenied = 10013
16
17
  }
17
18
  export declare enum DatabasesErrorCodes {
18
19
  NoPublicKey = 11000,
@@ -0,0 +1,2 @@
1
+ import { LooseObject } from './types';
2
+ export declare function getAppManifests(apps: string[]): Promise<LooseObject[]>;