@gooddata/sdk-backend-mockingbird 11.64.0-alpha.1 → 11.64.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.
- package/esm/recordedBackend/index.js +26 -1
- package/package.json +8 -8
|
@@ -101,7 +101,7 @@ export function recordedBackend(index, config = defaultConfig, capabilities = de
|
|
|
101
101
|
return recordedEntitlements();
|
|
102
102
|
},
|
|
103
103
|
dataSources() {
|
|
104
|
-
|
|
104
|
+
return recordedDataSourcesService();
|
|
105
105
|
},
|
|
106
106
|
geo() {
|
|
107
107
|
return geoService;
|
|
@@ -839,6 +839,31 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
839
839
|
},
|
|
840
840
|
};
|
|
841
841
|
}
|
|
842
|
+
function recordedDataSourcesService() {
|
|
843
|
+
return {
|
|
844
|
+
getDataSourceIdentifiers: () => Promise.resolve([]),
|
|
845
|
+
getDataSources: () => Promise.resolve([]),
|
|
846
|
+
hasDataSources: () => Promise.resolve(false),
|
|
847
|
+
getDataSource: () => Promise.reject(new NotSupported("not supported")),
|
|
848
|
+
createDataSource: ({ id, name, schema, type }) => Promise.resolve({ id, name, schema, type }),
|
|
849
|
+
updateDataSource: (_id, { id, name, schema, type }) => Promise.resolve({ id, name, schema, type }),
|
|
850
|
+
patchDataSource: () => Promise.reject(new NotSupported("not supported")),
|
|
851
|
+
deleteDataSource: () => Promise.resolve(),
|
|
852
|
+
testConnection: () => Promise.resolve({ successful: true }),
|
|
853
|
+
getSchemata: () => Promise.resolve([]),
|
|
854
|
+
registerUploadNotification: () => Promise.resolve(),
|
|
855
|
+
files: () => ({
|
|
856
|
+
upload: () => Promise.resolve(""),
|
|
857
|
+
analyzeCsv: () => Promise.resolve([]),
|
|
858
|
+
importCsv: () => Promise.resolve([]),
|
|
859
|
+
analyzeSav: () => Promise.resolve([]),
|
|
860
|
+
importSav: () => Promise.resolve([]),
|
|
861
|
+
getFiles: () => Promise.resolve([]),
|
|
862
|
+
deleteFiles: () => Promise.resolve(),
|
|
863
|
+
getCsvManifests: () => Promise.resolve([]),
|
|
864
|
+
}),
|
|
865
|
+
};
|
|
866
|
+
}
|
|
842
867
|
function recordedLocalizationService() {
|
|
843
868
|
return {
|
|
844
869
|
getUsage: () => Promise.resolve({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-mockingbird",
|
|
3
|
-
"version": "11.64.0-alpha.
|
|
3
|
+
"version": "11.64.0-alpha.2",
|
|
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/
|
|
30
|
-
"@gooddata/
|
|
31
|
-
"@gooddata/sdk-backend-
|
|
28
|
+
"@gooddata/sdk-backend-spi": "11.64.0-alpha.2",
|
|
29
|
+
"@gooddata/util": "11.64.0-alpha.2",
|
|
30
|
+
"@gooddata/sdk-model": "11.64.0-alpha.2",
|
|
31
|
+
"@gooddata/sdk-backend-base": "11.64.0-alpha.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"oxlint-tsgolint": "7.0.2001",
|
|
51
51
|
"typescript": "7.0.2",
|
|
52
52
|
"vitest": "5.0.4",
|
|
53
|
-
"@gooddata/
|
|
54
|
-
"@gooddata/
|
|
55
|
-
"@gooddata/
|
|
53
|
+
"@gooddata/eslint-config": "11.64.0-alpha.2",
|
|
54
|
+
"@gooddata/oxlint-config": "11.64.0-alpha.2",
|
|
55
|
+
"@gooddata/reference-workspace": "11.64.0-alpha.2"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"_phase:build": "npm run build",
|