@gooddata/sdk-backend-mockingbird 11.62.0-alpha.1 → 11.62.0-alpha.3
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/recordedBackend/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,kBAAkB,EAKvB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recordedBackend/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,kBAAkB,EAKvB,KAAK,oBAAoB,EAwD5B,MAAM,2BAA2B,CAAC;AAkCnC,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"}
|
|
@@ -500,6 +500,9 @@ function recordedWorkspace(workspace, recordings = {}, implConfig) {
|
|
|
500
500
|
}),
|
|
501
501
|
};
|
|
502
502
|
},
|
|
503
|
+
localization() {
|
|
504
|
+
return recordedLocalizationService();
|
|
505
|
+
},
|
|
503
506
|
};
|
|
504
507
|
}
|
|
505
508
|
function recordedEntitlements() {
|
|
@@ -633,6 +636,8 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
633
636
|
setAiRateLimit: () => Promise.resolve(),
|
|
634
637
|
deleteAiRateLimit: () => Promise.resolve(),
|
|
635
638
|
getAiRateLimit: () => Promise.resolve(undefined),
|
|
639
|
+
getMetadataLocale: () => Promise.resolve(undefined),
|
|
640
|
+
getDataLocale: () => Promise.resolve(undefined),
|
|
636
641
|
setEnableDrillToUrlByDefault: () => Promise.resolve(),
|
|
637
642
|
setEnablePartialDataResults: () => Promise.resolve(),
|
|
638
643
|
setEnableNullJoins: () => Promise.resolve(),
|
|
@@ -811,6 +816,21 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
811
816
|
delete: () => Promise.resolve(),
|
|
812
817
|
};
|
|
813
818
|
},
|
|
819
|
+
localization() {
|
|
820
|
+
return recordedLocalizationService();
|
|
821
|
+
},
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
function recordedLocalizationService() {
|
|
825
|
+
return {
|
|
826
|
+
getUsage: () => Promise.resolve({
|
|
827
|
+
defaults: { LOCALE: null, METADATA_LOCALE: null, DATA_LOCALE: null },
|
|
828
|
+
values: [],
|
|
829
|
+
}),
|
|
830
|
+
getUsageWorkspaces: () => Promise.resolve({ workspaces: [], totalCount: 0 }),
|
|
831
|
+
getUsageUsers: () => Promise.resolve({ users: [], totalCount: 0 }),
|
|
832
|
+
getStatistics: () => Promise.resolve({ metadata: { locales: [] }, data: { locales: [] } }),
|
|
833
|
+
getStatisticsWorkspaces: () => Promise.resolve({ workspaces: [], totalCount: 0 }),
|
|
814
834
|
};
|
|
815
835
|
}
|
|
816
836
|
function recordedOrganizations(implConfig) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-mockingbird",
|
|
3
|
-
"version": "11.62.0-alpha.
|
|
3
|
+
"version": "11.62.0-alpha.3",
|
|
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/
|
|
29
|
-
"@gooddata/sdk-backend-
|
|
30
|
-
"@gooddata/sdk-
|
|
31
|
-
"@gooddata/
|
|
28
|
+
"@gooddata/sdk-backend-base": "11.62.0-alpha.3",
|
|
29
|
+
"@gooddata/sdk-backend-spi": "11.62.0-alpha.3",
|
|
30
|
+
"@gooddata/sdk-model": "11.62.0-alpha.3",
|
|
31
|
+
"@gooddata/util": "11.62.0-alpha.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"oxlint-plugin-eslint": "1.82.0",
|
|
50
50
|
"oxlint-tsgolint": "7.0.2001",
|
|
51
51
|
"typescript": "7.0.2",
|
|
52
|
-
"vitest": "
|
|
53
|
-
"@gooddata/
|
|
54
|
-
"@gooddata/
|
|
55
|
-
"@gooddata/reference-workspace": "11.62.0-alpha.
|
|
52
|
+
"vitest": "5.0.4",
|
|
53
|
+
"@gooddata/eslint-config": "11.62.0-alpha.3",
|
|
54
|
+
"@gooddata/oxlint-config": "11.62.0-alpha.3",
|
|
55
|
+
"@gooddata/reference-workspace": "11.62.0-alpha.3"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"_phase:build": "npm run build",
|