@gooddata/sdk-backend-mockingbird 11.40.0-alpha.2 → 11.40.0-alpha.4
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.
|
@@ -145,6 +145,9 @@ function recordedWorkspace(workspace, recordings = {}) {
|
|
|
145
145
|
accessControl() {
|
|
146
146
|
throw new NotSupported("not supported");
|
|
147
147
|
},
|
|
148
|
+
objectPermissions() {
|
|
149
|
+
throw new NotSupported("not supported");
|
|
150
|
+
},
|
|
148
151
|
attributeHierarchies() {
|
|
149
152
|
throw new NotSupported("not supported");
|
|
150
153
|
},
|
|
@@ -304,6 +304,9 @@ function recordedWorkspace(workspace, recordings = {}, implConfig) {
|
|
|
304
304
|
accessControl() {
|
|
305
305
|
return recordedAccessControlFactory(implConfig);
|
|
306
306
|
},
|
|
307
|
+
objectPermissions() {
|
|
308
|
+
throw new NotSupported("not supported");
|
|
309
|
+
},
|
|
307
310
|
attributeHierarchies() {
|
|
308
311
|
return new RecordedAttributeHierarchiesService(implConfig);
|
|
309
312
|
},
|
|
@@ -372,23 +375,6 @@ function recordedEntitlements() {
|
|
|
372
375
|
},
|
|
373
376
|
};
|
|
374
377
|
}
|
|
375
|
-
class RecordedLlmEndpointsQuery {
|
|
376
|
-
withSize(_size) {
|
|
377
|
-
return this;
|
|
378
|
-
}
|
|
379
|
-
withPage(_page) {
|
|
380
|
-
return this;
|
|
381
|
-
}
|
|
382
|
-
withSorting(_sort) {
|
|
383
|
-
return this;
|
|
384
|
-
}
|
|
385
|
-
query() {
|
|
386
|
-
return Promise.resolve(new InMemoryPaging([]));
|
|
387
|
-
}
|
|
388
|
-
queryAll() {
|
|
389
|
-
return Promise.resolve([]);
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
378
|
class RecordedLlmProvidersQuery {
|
|
393
379
|
withSize(_size) {
|
|
394
380
|
return this;
|
|
@@ -602,31 +588,6 @@ function recordedOrganization(organizationId, implConfig) {
|
|
|
602
588
|
unsubscribeAutomations: () => Promise.resolve(),
|
|
603
589
|
};
|
|
604
590
|
},
|
|
605
|
-
llmEndpoints() {
|
|
606
|
-
const dummyEndpoint = {
|
|
607
|
-
id: "dummyLlmEndpoint",
|
|
608
|
-
title: "Dummy Llm Endpoint",
|
|
609
|
-
provider: "OPENAI",
|
|
610
|
-
model: "gpt-4o-mini",
|
|
611
|
-
};
|
|
612
|
-
return {
|
|
613
|
-
getCount: () => Promise.resolve(0),
|
|
614
|
-
getEndpointsQuery: () => new RecordedLlmEndpointsQuery(),
|
|
615
|
-
deleteLlmEndpoint: () => Promise.resolve(),
|
|
616
|
-
getLlmEndpoint: () => Promise.resolve({
|
|
617
|
-
...dummyEndpoint,
|
|
618
|
-
}),
|
|
619
|
-
createLlmEndpoint: () => Promise.resolve({
|
|
620
|
-
...dummyEndpoint,
|
|
621
|
-
}),
|
|
622
|
-
updateLlmEndpoint: () => Promise.resolve({
|
|
623
|
-
...dummyEndpoint,
|
|
624
|
-
}),
|
|
625
|
-
patchLlmEndpoint: () => Promise.resolve({
|
|
626
|
-
...dummyEndpoint,
|
|
627
|
-
}),
|
|
628
|
-
};
|
|
629
|
-
},
|
|
630
591
|
llmProviders() {
|
|
631
592
|
const dummyProvider = {
|
|
632
593
|
id: "dummyLlmProvider",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-mockingbird",
|
|
3
|
-
"version": "11.40.0-alpha.
|
|
3
|
+
"version": "11.40.0-alpha.4",
|
|
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.0",
|
|
28
|
-
"@gooddata/sdk-backend-base": "11.40.0-alpha.
|
|
29
|
-
"@gooddata/sdk-backend-spi": "11.40.0-alpha.
|
|
30
|
-
"@gooddata/sdk-model": "11.40.0-alpha.
|
|
31
|
-
"@gooddata/util": "11.40.0-alpha.
|
|
28
|
+
"@gooddata/sdk-backend-base": "11.40.0-alpha.4",
|
|
29
|
+
"@gooddata/sdk-backend-spi": "11.40.0-alpha.4",
|
|
30
|
+
"@gooddata/sdk-model": "11.40.0-alpha.4",
|
|
31
|
+
"@gooddata/util": "11.40.0-alpha.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"eslint-plugin-no-barrel-files": "1.2.2",
|
|
48
48
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
49
49
|
"npm-run-all": "^4.1.5",
|
|
50
|
-
"oxfmt": "0.
|
|
51
|
-
"oxlint": "
|
|
52
|
-
"oxlint-tsgolint": "0.
|
|
50
|
+
"oxfmt": "0.52.0",
|
|
51
|
+
"oxlint": "1.51.0",
|
|
52
|
+
"oxlint-tsgolint": "0.15.0",
|
|
53
53
|
"typescript": "5.9.3",
|
|
54
|
-
"vitest": "4.1.
|
|
55
|
-
"@gooddata/
|
|
56
|
-
"@gooddata/
|
|
57
|
-
"@gooddata/reference-workspace": "11.40.0-alpha.
|
|
54
|
+
"vitest": "4.1.8",
|
|
55
|
+
"@gooddata/eslint-config": "11.40.0-alpha.4",
|
|
56
|
+
"@gooddata/oxlint-config": "11.40.0-alpha.4",
|
|
57
|
+
"@gooddata/reference-workspace": "11.40.0-alpha.4"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"_phase:build": "npm run build",
|