@gooddata/sdk-backend-tiger 11.63.0-alpha.1 → 11.63.0-alpha.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.
@@ -1,4 +1,4 @@
1
- export declare const LIB_VERSION = "11.63.0-alpha.1";
1
+ export declare const LIB_VERSION = "11.63.0-alpha.2";
2
2
  export declare const LIB_DESCRIPTION = "GoodData Backend SPI implementation for GoodData Cloud and GoodData.CN";
3
3
  export declare const LIB_NAME = "@gooddata/sdk-backend-tiger";
4
4
  //# sourceMappingURL=__version.d.ts.map
package/esm/__version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "11.63.0-alpha.1";
3
+ export const LIB_VERSION = "11.63.0-alpha.2";
4
4
  export const LIB_DESCRIPTION = "GoodData Backend SPI implementation for GoodData Cloud and GoodData.CN";
5
5
  export const LIB_NAME = "@gooddata/sdk-backend-tiger";
@@ -1,15 +1,15 @@
1
1
  import { type IExportResult, type IPublisherDocumentExportPdfOptions, type IWorkspacePublisherService } from "@gooddata/sdk-backend-spi";
2
- import { type IPublisherDocument, type IPublisherDocumentDefinition, type IPublisherDocumentTemplate, type IPublisherDocumentTemplateDefinition, type IPublisherPageLayout, type IPublisherPageLayoutDefinition, type ObjRef } from "@gooddata/sdk-model";
2
+ import { type IPublisherDocument, type IPublisherDocumentDefinition, type IPublisherDocumentTemplate, type IPublisherDocumentTemplateDefinition, type IPublisherPageTemplate, type IPublisherPageTemplateDefinition, type ObjRef } from "@gooddata/sdk-model";
3
3
  import { type TigerAuthenticatedCallGuard } from "../../types/index.js";
4
4
  export declare class TigerWorkspacePublisherService implements IWorkspacePublisherService {
5
5
  private readonly authCall;
6
6
  private readonly workspace;
7
7
  constructor(authCall: TigerAuthenticatedCallGuard, workspace: string);
8
- getPageLayouts: () => Promise<IPublisherPageLayout[]>;
9
- getPageLayout: (ref: ObjRef) => Promise<IPublisherPageLayout>;
10
- createPageLayout: (layout: IPublisherPageLayoutDefinition) => Promise<IPublisherPageLayout>;
11
- updatePageLayout: (layout: IPublisherPageLayout) => Promise<IPublisherPageLayout>;
12
- deletePageLayout: (ref: ObjRef) => Promise<void>;
8
+ getPageTemplates: () => Promise<IPublisherPageTemplate[]>;
9
+ getPageTemplate: (ref: ObjRef) => Promise<IPublisherPageTemplate>;
10
+ createPageTemplate: (layout: IPublisherPageTemplateDefinition) => Promise<IPublisherPageTemplate>;
11
+ updatePageTemplate: (layout: IPublisherPageTemplate) => Promise<IPublisherPageTemplate>;
12
+ deletePageTemplate: (ref: ObjRef) => Promise<void>;
13
13
  getDocumentTemplates: () => Promise<IPublisherDocumentTemplate[]>;
14
14
  getDocumentTemplate: (ref: ObjRef) => Promise<IPublisherDocumentTemplate>;
15
15
  createDocumentTemplate: (template: IPublisherDocumentTemplateDefinition) => Promise<IPublisherDocumentTemplate>;
@@ -23,6 +23,6 @@ export declare class TigerWorkspacePublisherService implements IWorkspacePublish
23
23
  exportDocumentToPdf: (ref: ObjRef, options?: IPublisherDocumentExportPdfOptions) => Promise<IExportResult>;
24
24
  private newObjectId;
25
25
  private editableObjectId;
26
- private assertNotBuiltIn;
26
+ private assertNotDefault;
27
27
  }
28
28
  //# sourceMappingURL=publisher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"publisher.d.ts","sourceRoot":"","sources":["../../../src/backend/workspace/publisher.ts"],"names":[],"mappings":"AAuBA,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,kCAAkC,EACvC,KAAK,0BAA0B,EAElC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,oCAAoC,EACzC,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,MAAM,EAGd,MAAM,qBAAqB,CAAC;AAY7B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AC/C,OAAO,CAAC,0BAA0B,CAAC,CAgBpC;IAEK,sBAAsB,aACf,0BAA0B,KACrC,OAAO,CAAC,0BAA0B,CAAC,CAiBpC;IAEK,sBAAsB,QAAe,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC,CAQhE;IAEK,YAAY,QAAa,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAiB3D;IAEK,WAAW,QAAe,MAAM,KAAG,OAAO,CAAC,kBAAkB,CAAC,CAWnE;IAEK,cAAc,sBACE,4BAA4B,KAChD,OAAO,CAAC,kBAAkB,CAAC,CAkB5B;IAEK,cAAc,sBAA6B,kBAAkB,KAAG,OAAO,CAAC,kBAAkB,CAAC,CAiBhG;IAEK,cAAc,QAAe,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC,CAQxD;IAEK,mBAAmB,QACjB,MAAM,YACD,kCAAkC,KAC7C,OAAO,CAAC,aAAa,CAAC,CAsBvB;IAEF,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,gBAAgB;CAO3B"}
@@ -4,7 +4,7 @@ import { ActionsUtilities } from "@gooddata/api-client-tiger";
4
4
  import { EntitiesApi_CreateEntityReportPageLayouts, EntitiesApi_CreateEntityReportTemplates, EntitiesApi_CreateEntityReports, EntitiesApi_DeleteEntityReportPageLayouts, EntitiesApi_DeleteEntityReportTemplates, EntitiesApi_DeleteEntityReports, EntitiesApi_GetAllEntitiesReportPageLayouts, EntitiesApi_GetAllEntitiesReportTemplates, EntitiesApi_GetAllEntitiesReports, EntitiesApi_GetEntityReportPageLayouts, EntitiesApi_GetEntityReportTemplates, EntitiesApi_GetEntityReports, EntitiesApi_UpdateEntityReportPageLayouts, EntitiesApi_UpdateEntityReportTemplates, EntitiesApi_UpdateEntityReports, } from "@gooddata/api-client-tiger/endpoints/entitiesObjects";
5
5
  import { ExportApi_CreateReportExport } from "@gooddata/api-client-tiger/endpoints/export";
6
6
  import { UnexpectedError, } from "@gooddata/sdk-backend-spi";
7
- import { BuiltInPublisherPageLayouts, areObjRefsEqual, objRefToString, } from "@gooddata/sdk-model";
7
+ import { DefaultPublisherPageTemplates, areObjRefsEqual, objRefToString, } from "@gooddata/sdk-model";
8
8
  import { convertPublisherDocument, convertPublisherDocumentTemplate, convertPublisherPageLayout, } from "../../convertors/fromBackend/PublisherConverter.js";
9
9
  import { convertPublisherDocumentTemplateToBackend, convertPublisherDocumentToBackend, convertPublisherPageLayoutToBackend, } from "../../convertors/toBackend/PublisherConverter.js";
10
10
  import { objRefToIdentifier } from "../../utils/api.js";
@@ -12,8 +12,8 @@ import { handleExportResultPolling } from "../../utils/exportPolling.js";
12
12
  const auditInclude = ["createdBy", "modifiedBy"];
13
13
  // The backend orders a never-modified object by its creation time.
14
14
  const byLastChange = ["modifiedAt,desc"];
15
- function findBuiltInPageLayout(ref) {
16
- return BuiltInPublisherPageLayouts.find((layout) => areObjRefsEqual(layout.ref, ref));
15
+ function findDefaultPageTemplate(ref) {
16
+ return DefaultPublisherPageTemplates.find((layout) => areObjRefsEqual(layout.ref, ref));
17
17
  }
18
18
  export class TigerWorkspacePublisherService {
19
19
  authCall;
@@ -22,7 +22,7 @@ export class TigerWorkspacePublisherService {
22
22
  this.authCall = authCall;
23
23
  this.workspace = workspace;
24
24
  }
25
- getPageLayouts = async () => {
25
+ getPageTemplates = async () => {
26
26
  const layouts = await this.authCall((client) => ActionsUtilities.loadAllPages(({ page, size }) => EntitiesApi_GetAllEntitiesReportPageLayouts(client.axios, client.basePath, {
27
27
  workspaceId: this.workspace,
28
28
  metaInclude: ["origin"],
@@ -30,12 +30,12 @@ export class TigerWorkspacePublisherService {
30
30
  page,
31
31
  size,
32
32
  }).then((response) => response.data.data.map((layout) => convertPublisherPageLayout(layout, response.data.included)))));
33
- return [...BuiltInPublisherPageLayouts, ...layouts];
33
+ return [...DefaultPublisherPageTemplates, ...layouts];
34
34
  };
35
- getPageLayout = async (ref) => {
36
- const builtIn = findBuiltInPageLayout(ref);
37
- if (builtIn) {
38
- return builtIn;
35
+ getPageTemplate = async (ref) => {
36
+ const defaultTemplate = findDefaultPageTemplate(ref);
37
+ if (defaultTemplate) {
38
+ return defaultTemplate;
39
39
  }
40
40
  const objectId = objRefToIdentifier(ref, this.authCall);
41
41
  return this.authCall(async (client) => {
@@ -48,8 +48,8 @@ export class TigerWorkspacePublisherService {
48
48
  return convertPublisherPageLayout(response.data.data, response.data.included);
49
49
  });
50
50
  };
51
- createPageLayout = async (layout) => {
52
- const id = this.newObjectId(layout.ref, "Page layout");
51
+ createPageTemplate = async (layout) => {
52
+ const id = this.newObjectId(layout.ref, "Page template");
53
53
  return this.authCall(async (client) => {
54
54
  const response = await EntitiesApi_CreateEntityReportPageLayouts(client.axios, client.basePath, {
55
55
  workspaceId: this.workspace,
@@ -65,8 +65,8 @@ export class TigerWorkspacePublisherService {
65
65
  return convertPublisherPageLayout(response.data.data, response.data.included);
66
66
  });
67
67
  };
68
- updatePageLayout = async (layout) => {
69
- const objectId = this.editableObjectId(layout.ref, "Page layout");
68
+ updatePageTemplate = async (layout) => {
69
+ const objectId = this.editableObjectId(layout.ref, "Page template");
70
70
  return this.authCall(async (client) => {
71
71
  const response = await EntitiesApi_UpdateEntityReportPageLayouts(client.axios, client.basePath, {
72
72
  workspaceId: this.workspace,
@@ -83,8 +83,8 @@ export class TigerWorkspacePublisherService {
83
83
  return convertPublisherPageLayout(response.data.data, response.data.included);
84
84
  });
85
85
  };
86
- deletePageLayout = async (ref) => {
87
- const objectId = this.editableObjectId(ref, "Page layout");
86
+ deletePageTemplate = async (ref) => {
87
+ const objectId = this.editableObjectId(ref, "Page template");
88
88
  await this.authCall((client) => EntitiesApi_DeleteEntityReportPageLayouts(client.axios, client.basePath, {
89
89
  workspaceId: this.workspace,
90
90
  objectId,
@@ -241,16 +241,16 @@ export class TigerWorkspacePublisherService {
241
241
  if (!ref) {
242
242
  return uuidv4();
243
243
  }
244
- this.assertNotBuiltIn(ref, what);
244
+ this.assertNotDefault(ref, what);
245
245
  return objRefToIdentifier(ref, this.authCall);
246
246
  }
247
247
  editableObjectId(ref, what) {
248
- this.assertNotBuiltIn(ref, what);
248
+ this.assertNotDefault(ref, what);
249
249
  return objRefToIdentifier(ref, this.authCall);
250
250
  }
251
- assertNotBuiltIn(ref, what) {
252
- if (findBuiltInPageLayout(ref)) {
253
- throw new UnexpectedError(`${what} "${objRefToString(ref)}" is built-in and cannot be changed.`);
251
+ assertNotDefault(ref, what) {
252
+ if (findDefaultPageTemplate(ref)) {
253
+ throw new UnexpectedError(`${what} "${objRefToString(ref)}" is one of the defaults and cannot be changed.`);
254
254
  }
255
255
  }
256
256
  }
@@ -1,6 +1,6 @@
1
1
  import { type JsonApiReportOut, type JsonApiReportOutWithLinks, type JsonApiReportPageLayoutOut, type JsonApiReportPageLayoutOutWithLinks, type JsonApiReportTemplateOut, type JsonApiReportTemplateOutWithLinks, type JsonApiUserIdentifierOutWithLinks } from "@gooddata/api-client-tiger";
2
- import { type IPublisherDocument, type IPublisherDocumentTemplate, type IPublisherPageLayout } from "@gooddata/sdk-model";
3
- export declare function convertPublisherPageLayout(entity: JsonApiReportPageLayoutOut | JsonApiReportPageLayoutOutWithLinks, included?: JsonApiUserIdentifierOutWithLinks[]): IPublisherPageLayout;
2
+ import { type IPublisherDocument, type IPublisherDocumentTemplate, type IPublisherPageTemplate } from "@gooddata/sdk-model";
3
+ export declare function convertPublisherPageLayout(entity: JsonApiReportPageLayoutOut | JsonApiReportPageLayoutOutWithLinks, included?: JsonApiUserIdentifierOutWithLinks[]): IPublisherPageTemplate;
4
4
  export declare function convertPublisherDocumentTemplate(entity: JsonApiReportTemplateOut | JsonApiReportTemplateOutWithLinks, included?: JsonApiUserIdentifierOutWithLinks[]): IPublisherDocumentTemplate;
5
5
  export declare function convertPublisherDocument(entity: JsonApiReportOut | JsonApiReportOutWithLinks, included?: JsonApiUserIdentifierOutWithLinks[]): IPublisherDocument;
6
6
  //# sourceMappingURL=PublisherConverter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublisherConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/PublisherConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,kBAAkB,EAEvB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EAG5B,MAAM,qBAAqB,CAAC;AAW7B,wBAAgB,0BAA0B,CACtC,MAAM,EAAE,0BAA0B,GAAG,mCAAmC,EACxE,QAAQ,GAAE,iCAAiC,EAAO,GACnD,oBAAoB,CActB;AAED,wBAAgB,gCAAgC,CAC5C,MAAM,EAAE,wBAAwB,GAAG,iCAAiC,EACpE,QAAQ,GAAE,iCAAiC,EAAO,GACnD,0BAA0B,CAc5B;AAED,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,gBAAgB,GAAG,yBAAyB,EACpD,QAAQ,GAAE,iCAAiC,EAAO,GACnD,kBAAkB,CAiBpB"}
1
+ {"version":3,"file":"PublisherConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/PublisherConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,kBAAkB,EAEvB,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAG9B,MAAM,qBAAqB,CAAC;AAW7B,wBAAgB,0BAA0B,CACtC,MAAM,EAAE,0BAA0B,GAAG,mCAAmC,EACxE,QAAQ,GAAE,iCAAiC,EAAO,GACnD,sBAAsB,CAcxB;AAED,wBAAgB,gCAAgC,CAC5C,MAAM,EAAE,wBAAwB,GAAG,iCAAiC,EACpE,QAAQ,GAAE,iCAAiC,EAAO,GACnD,0BAA0B,CAc5B;AAED,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,gBAAgB,GAAG,yBAAyB,EACpD,QAAQ,GAAE,iCAAiC,EAAO,GACnD,kBAAkB,CAiBpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/AgentConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EACjC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,MAAM,EAA0B,KAAK,WAAW,EAAmB,MAAM,qBAAqB,CAAC;AA+B7G,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,sBAAsB,CAsB3E;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,WAAW,GAAG,yBAAyB,CA0BxF"}
1
+ {"version":3,"file":"AgentConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/AgentConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAGH,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EACjC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,MAAM,EAA0B,KAAK,WAAW,EAAmB,MAAM,qBAAqB,CAAC;AAsC7G,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,sBAAsB,CAsB3E;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,WAAW,GAAG,yBAAyB,CA0BxF"}
@@ -26,6 +26,10 @@ function convertInstructionsToBackend(instructions) {
26
26
  isDisabled: instruction.isDisabled,
27
27
  }));
28
28
  }
29
+ function convertCustomSkillsToBackend(customSkills) {
30
+ // The generated enum can lag behind the server, which accepts every AgentCustomSkill.
31
+ return customSkills;
32
+ }
29
33
  export function convertAgentToBackend(agent) {
30
34
  const relationships = buildRelationships(agent);
31
35
  return {
@@ -38,7 +42,7 @@ export function convertAgentToBackend(agent) {
38
42
  description: agent.description,
39
43
  personality: agent.personality,
40
44
  skillsMode: agent.skillsMode,
41
- customSkills: agent.customSkills,
45
+ customSkills: convertCustomSkillsToBackend(agent.customSkills),
42
46
  aiKnowledge: agent.aiKnowledge,
43
47
  availableToAll: agent.availableToAll,
44
48
  isPreview: agent.isPreview,
@@ -60,7 +64,7 @@ export function convertAgentPatchToBackend(agent) {
60
64
  description: agent.description,
61
65
  personality: agent.personality,
62
66
  skillsMode: agent.skillsMode,
63
- customSkills: agent.customSkills,
67
+ customSkills: convertCustomSkillsToBackend(agent.customSkills),
64
68
  aiKnowledge: agent.aiKnowledge,
65
69
  availableToAll: agent.availableToAll,
66
70
  isPreview: agent.isPreview,
@@ -1,6 +1,6 @@
1
1
  import { type JsonApiReportInAttributes, type JsonApiReportPageLayoutInAttributes, type JsonApiReportTemplateInAttributes } from "@gooddata/api-client-tiger";
2
- import { type IPublisherDocumentDefinition, type IPublisherDocumentTemplateDefinition, type IPublisherPageLayoutDefinition } from "@gooddata/sdk-model";
3
- export declare function convertPublisherPageLayoutToBackend(layout: IPublisherPageLayoutDefinition): JsonApiReportPageLayoutInAttributes;
2
+ import { type IPublisherDocumentDefinition, type IPublisherDocumentTemplateDefinition, type IPublisherPageTemplateDefinition } from "@gooddata/sdk-model";
3
+ export declare function convertPublisherPageLayoutToBackend(layout: IPublisherPageTemplateDefinition): JsonApiReportPageLayoutInAttributes;
4
4
  export declare function convertPublisherDocumentTemplateToBackend(template: IPublisherDocumentTemplateDefinition): JsonApiReportTemplateInAttributes;
5
5
  export declare function convertPublisherDocumentToBackend(publisherDocument: IPublisherDocumentDefinition): JsonApiReportInAttributes;
6
6
  //# sourceMappingURL=PublisherConverter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublisherConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/PublisherConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,8BAA8B,EACtC,MAAM,qBAAqB,CAAC;AAE7B,wBAAgB,mCAAmC,CAC/C,MAAM,EAAE,8BAA8B,GACvC,mCAAmC,CAOrC;AAED,wBAAgB,yCAAyC,CACrD,QAAQ,EAAE,oCAAoC,GAC/C,iCAAiC,CAOnC;AAED,wBAAgB,iCAAiC,CAC7C,iBAAiB,EAAE,4BAA4B,GAChD,yBAAyB,CAU3B"}
1
+ {"version":3,"file":"PublisherConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/PublisherConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACxC,MAAM,qBAAqB,CAAC;AAE7B,wBAAgB,mCAAmC,CAC/C,MAAM,EAAE,gCAAgC,GACzC,mCAAmC,CAOrC;AAED,wBAAgB,yCAAyC,CACrD,QAAQ,EAAE,oCAAoC,GAC/C,iCAAiC,CAOnC;AAED,wBAAgB,iCAAiC,CAC7C,iBAAiB,EAAE,4BAA4B,GAChD,yBAAyB,CAU3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-tiger",
3
- "version": "11.63.0-alpha.1",
3
+ "version": "11.63.0-alpha.2",
4
4
  "description": "GoodData Backend SPI implementation for GoodData Cloud and GoodData.CN",
5
5
  "license": "MIT",
6
6
  "author": "GoodData",
@@ -34,12 +34,12 @@
34
34
  "ts-invariant": "0.10.3",
35
35
  "tslib": "2.8.1",
36
36
  "uuid": "11.1.1",
37
- "@gooddata/api-client-tiger": "11.63.0-alpha.1",
38
- "@gooddata/sdk-backend-base": "11.63.0-alpha.1",
39
- "@gooddata/sdk-backend-spi": "11.63.0-alpha.1",
40
- "@gooddata/sdk-code-convertors": "11.63.0-alpha.1",
41
- "@gooddata/sdk-model": "11.63.0-alpha.1",
42
- "@gooddata/util": "11.63.0-alpha.1"
37
+ "@gooddata/sdk-backend-spi": "11.63.0-alpha.2",
38
+ "@gooddata/api-client-tiger": "11.63.0-alpha.2",
39
+ "@gooddata/sdk-code-convertors": "11.63.0-alpha.2",
40
+ "@gooddata/sdk-backend-base": "11.63.0-alpha.2",
41
+ "@gooddata/sdk-model": "11.63.0-alpha.2",
42
+ "@gooddata/util": "11.63.0-alpha.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@gooddata/fixtures": "3.7.0",
@@ -64,10 +64,10 @@
64
64
  "oxlint-tsgolint": "7.0.2001",
65
65
  "typescript": "7.0.2",
66
66
  "vitest": "5.0.4",
67
- "@gooddata/catalog-export": "11.63.0-alpha.1",
68
- "@gooddata/eslint-config": "11.63.0-alpha.1",
69
- "@gooddata/oxlint-config": "11.63.0-alpha.1",
70
- "@gooddata/reference-workspace": "11.63.0-alpha.1"
67
+ "@gooddata/oxlint-config": "11.63.0-alpha.2",
68
+ "@gooddata/eslint-config": "11.63.0-alpha.2",
69
+ "@gooddata/reference-workspace": "11.63.0-alpha.2",
70
+ "@gooddata/catalog-export": "11.63.0-alpha.2"
71
71
  },
72
72
  "scripts": {
73
73
  "_phase:build": "npm run build",