@gooddata/sdk-backend-mockingbird 11.46.0-alpha.4 → 11.46.0-alpha.5
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/legacyRecordedBackend/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAY7B,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/legacyRecordedBackend/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAY7B,KAAK,SAAS,EA6CjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGH,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EAKtB,KAAK,oBAAoB,EAS5B,MAAM,qBAAqB,CAAC;AAa7B;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,CAAC,SAAS,EAAE,MAAM,GAAG,yBAAyB,CAAC;CAClD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACpC,SAAS,CAAC,EAAE;QACR,CAAC,EAAE,EAAE,MAAM,GAAG,wBAAwB,CAAC;KAC1C,CAAC;IACF,QAAQ,CAAC,EAAE;QACP,oBAAoB,CAAC,EAAE;YAAE,CAAC,EAAE,EAAE,MAAM,GAAG,mCAAmC,CAAA;SAAE,CAAC;KAChF,CAAC;IACF,QAAQ,CAAC,EAAE;QACP,CAAC,EAAE,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAAC;KACrC,CAAC;CACL,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC,UAAU,EAAE,oBAAoB,CAAC;IACjC,QAAQ,EAAE,GAAG,CAAC;IACd,MAAM,EAAE,GAAG,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,qBAAqB,CACjC,KAAK,EAAE,oBAAoB,EAC3B,MAAM,GAAE,wBAAwC,GACjD,kBAAkB,CAsDpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,wBAAwB,GAAG,SAAS,CAMrF"}
|
|
@@ -172,6 +172,9 @@ function recordedWorkspace(workspace, recordings = {}) {
|
|
|
172
172
|
references() {
|
|
173
173
|
throw new NotSupported("not supported");
|
|
174
174
|
},
|
|
175
|
+
exportTemplates() {
|
|
176
|
+
throw new NotSupported("not supported");
|
|
177
|
+
},
|
|
175
178
|
};
|
|
176
179
|
}
|
|
177
180
|
class RecordedExecutionFactory extends AbstractExecutionFactory {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recordedBackend/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,KAAK,kBAAkB,EAKvB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recordedBackend/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,KAAK,kBAAkB,EAKvB,KAAK,oBAAoB,EAqD5B,MAAM,2BAA2B,CAAC;AA+BnC,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAkB7E;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,oBAehD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC3B,KAAK,EAAE,cAAc,EACrB,MAAM,GAAE,qBAAqC,EAC7C,YAAY,uBAAqC,GAClD,kBAAkB,CAsDpB"}
|
|
@@ -202,6 +202,12 @@ function recordedWorkspace(workspace, recordings = {}, implConfig) {
|
|
|
202
202
|
async deleteDashboardFiltersApplyMode() {
|
|
203
203
|
return Promise.resolve();
|
|
204
204
|
},
|
|
205
|
+
async setDefaultExportTemplate() {
|
|
206
|
+
return Promise.resolve();
|
|
207
|
+
},
|
|
208
|
+
async deleteDefaultExportTemplate() {
|
|
209
|
+
return Promise.resolve();
|
|
210
|
+
},
|
|
205
211
|
async setEnableAiOnData() {
|
|
206
212
|
return Promise.resolve();
|
|
207
213
|
},
|
|
@@ -369,6 +375,15 @@ function recordedWorkspace(workspace, recordings = {}, implConfig) {
|
|
|
369
375
|
},
|
|
370
376
|
};
|
|
371
377
|
},
|
|
378
|
+
exportTemplates() {
|
|
379
|
+
return {
|
|
380
|
+
getExportTemplates: () => Promise.resolve([]),
|
|
381
|
+
getExportTemplate: (ref) => Promise.resolve({ ref, name: "" }),
|
|
382
|
+
createExportTemplate: (template) => Promise.resolve({ ref: idRef("recordedExportTemplate"), ...template }),
|
|
383
|
+
patchExportTemplate: (ref, template) => Promise.resolve({ ref, name: "", ...template }),
|
|
384
|
+
deleteExportTemplate: () => Promise.resolve(),
|
|
385
|
+
};
|
|
386
|
+
},
|
|
372
387
|
};
|
|
373
388
|
}
|
|
374
389
|
function recordedEntitlements() {
|
|
@@ -495,6 +510,8 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
495
510
|
setColorPalette: () => Promise.resolve(),
|
|
496
511
|
setOpenAiConfig: () => Promise.resolve(),
|
|
497
512
|
setDashboardFiltersApplyMode: () => Promise.resolve(),
|
|
513
|
+
setDefaultExportTemplate: () => Promise.resolve(),
|
|
514
|
+
deleteDefaultExportTemplate: () => Promise.resolve(),
|
|
498
515
|
setEnableAiOnData: () => Promise.resolve(),
|
|
499
516
|
setAiRateLimit: () => Promise.resolve(),
|
|
500
517
|
deleteAiRateLimit: () => Promise.resolve(),
|
|
@@ -653,6 +670,10 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
653
670
|
exportTemplates() {
|
|
654
671
|
return {
|
|
655
672
|
getExportTemplates: () => Promise.resolve([]),
|
|
673
|
+
getExportTemplate: (ref) => Promise.resolve({ ref, name: "" }),
|
|
674
|
+
createExportTemplate: (template) => Promise.resolve({ ref: idRef("recordedExportTemplate"), ...template }),
|
|
675
|
+
patchExportTemplate: (ref, template) => Promise.resolve({ ref, name: "", ...template }),
|
|
676
|
+
deleteExportTemplate: () => Promise.resolve(),
|
|
656
677
|
};
|
|
657
678
|
},
|
|
658
679
|
ipAllowlists() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-mockingbird",
|
|
3
|
-
"version": "11.46.0-alpha.
|
|
3
|
+
"version": "11.46.0-alpha.5",
|
|
4
4
|
"description": "Mock GoodData Backend SPI implementation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"ts-invariant": "0.10.3",
|
|
26
26
|
"tslib": "2.8.1",
|
|
27
27
|
"uuid": "11.1.1",
|
|
28
|
-
"@gooddata/sdk-backend-
|
|
29
|
-
"@gooddata/sdk-model": "11.46.0-alpha.
|
|
30
|
-
"@gooddata/sdk-backend-
|
|
31
|
-
"@gooddata/util": "11.46.0-alpha.
|
|
28
|
+
"@gooddata/sdk-backend-spi": "11.46.0-alpha.5",
|
|
29
|
+
"@gooddata/sdk-model": "11.46.0-alpha.5",
|
|
30
|
+
"@gooddata/sdk-backend-base": "11.46.0-alpha.5",
|
|
31
|
+
"@gooddata/util": "11.46.0-alpha.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"oxlint-tsgolint": "0.15.0",
|
|
53
53
|
"typescript": "5.9.3",
|
|
54
54
|
"vitest": "4.1.8",
|
|
55
|
-
"@gooddata/eslint-config": "11.46.0-alpha.
|
|
56
|
-
"@gooddata/oxlint-config": "11.46.0-alpha.
|
|
57
|
-
"@gooddata/reference-workspace": "11.46.0-alpha.
|
|
55
|
+
"@gooddata/eslint-config": "11.46.0-alpha.5",
|
|
56
|
+
"@gooddata/oxlint-config": "11.46.0-alpha.5",
|
|
57
|
+
"@gooddata/reference-workspace": "11.46.0-alpha.5"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"_phase:build": "npm run build",
|