@forge/dashboards-bridge 1.3.1-next.1-experimental-13c2f8d → 2.0.0-next.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/CHANGELOG.md +3 -4
- package/out/filters/get-filter-bridge.d.ts +0 -1
- package/out/filters/get-filter-bridge.d.ts.map +1 -1
- package/out/filters/index.d.ts +1 -3
- package/out/filters/index.d.ts.map +1 -1
- package/out/filters/index.js +0 -2
- package/out/filters/onProductSave.d.ts.map +1 -1
- package/out/filters/types.d.ts +15 -7
- package/out/filters/types.d.ts.map +1 -1
- package/out/index.d.ts +1 -1
- package/out/index.d.ts.map +1 -1
- package/out/widgets/index.d.ts +1 -1
- package/out/widgets/index.d.ts.map +1 -1
- package/out/widgets/types.d.ts +8 -3
- package/out/widgets/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/out/filters/onOverridesClear.d.ts +0 -3
- package/out/filters/onOverridesClear.d.ts.map +0 -1
- package/out/filters/onOverridesClear.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# @forge/dashboards-bridge
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 2.0.0-next.2
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Major Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- @forge/bridge@7.0.1-next.0-experimental-13c2f8d
|
|
7
|
+
- 5722a06: Updated dashboard filter types for app-stored filters: `filter.onProductSave` must return a filter group payload, filter payloads can now be AVP-stored or app-stored, and returned filters must be narrowed before reading AVP-managed state fields.
|
|
9
8
|
|
|
10
9
|
## 1.3.1-next.1
|
|
11
10
|
|
|
@@ -2,7 +2,6 @@ export declare const getFilterBridge: () => Promise<{
|
|
|
2
2
|
onSave: (onSave: import("./types").FilterOnSave) => void;
|
|
3
3
|
onProductSave: (onProductSave: import("./types").FilterOnProductSave) => void;
|
|
4
4
|
updateOverrides: (filterId: string, override: import("./types").FilterOverride) => import("./types").FilterOverride;
|
|
5
|
-
onOverridesClear: (onOverridesClear: import("./types").OnOverridesClear) => void;
|
|
6
5
|
onDropdownClose: (onDropdownClose: import("./types").OnDropdownClose) => void;
|
|
7
6
|
closeDropdown: () => void;
|
|
8
7
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-filter-bridge.d.ts","sourceRoot":"","sources":["../../src/filters/get-filter-bridge.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"get-filter-bridge.d.ts","sourceRoot":"","sources":["../../src/filters/get-filter-bridge.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;EAAiD,CAAC"}
|
package/out/filters/index.d.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { onProductSave } from './onProductSave';
|
|
2
2
|
import { onSave } from './onSave';
|
|
3
3
|
import { updateOverrides } from './updateOverrides';
|
|
4
|
-
import { onOverridesClear } from './onOverridesClear';
|
|
5
4
|
import { onDropdownClose } from './onDropdownClose';
|
|
6
5
|
import { closeDropdown } from './closeDropdown';
|
|
7
6
|
export declare const filter: {
|
|
8
7
|
onProductSave: typeof onProductSave;
|
|
9
8
|
onSave: typeof onSave;
|
|
10
9
|
updateOverrides: typeof updateOverrides;
|
|
11
|
-
onOverridesClear: typeof onOverridesClear;
|
|
12
10
|
onDropdownClose: typeof onDropdownClose;
|
|
13
11
|
closeDropdown: typeof closeDropdown;
|
|
14
12
|
};
|
|
15
|
-
export type { FilterPayload, FilterGroupPayload, FilterDimension, Filter, FilterGroup, FilterOverride, FilterOverrides, FilterOnProductSave, FilterOnSave,
|
|
13
|
+
export type { AppStoredFilterPayload, AvpStoredFilterPayload, FilterPayload, FilterGroupPayload, FilterDimension, AppStoredFilter, AvpStoredFilter, Filter, FilterGroup, FilterOverride, FilterOverrides, FilterOnProductSave, FilterOnSave, OnDropdownClose, FilterFunction } from './types';
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC;AAEF,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,eAAe,EACf,MAAM,EACN,WAAW,EACX,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,cAAc,EACf,MAAM,SAAS,CAAC"}
|
package/out/filters/index.js
CHANGED
|
@@ -4,14 +4,12 @@ exports.filter = void 0;
|
|
|
4
4
|
const onProductSave_1 = require("./onProductSave");
|
|
5
5
|
const onSave_1 = require("./onSave");
|
|
6
6
|
const updateOverrides_1 = require("./updateOverrides");
|
|
7
|
-
const onOverridesClear_1 = require("./onOverridesClear");
|
|
8
7
|
const onDropdownClose_1 = require("./onDropdownClose");
|
|
9
8
|
const closeDropdown_1 = require("./closeDropdown");
|
|
10
9
|
exports.filter = {
|
|
11
10
|
onProductSave: onProductSave_1.onProductSave,
|
|
12
11
|
onSave: onSave_1.onSave,
|
|
13
12
|
updateOverrides: updateOverrides_1.updateOverrides,
|
|
14
|
-
onOverridesClear: onOverridesClear_1.onOverridesClear,
|
|
15
13
|
onDropdownClose: onDropdownClose_1.onDropdownClose,
|
|
16
14
|
closeDropdown: closeDropdown_1.closeDropdown
|
|
17
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onProductSave.d.ts","sourceRoot":"","sources":["../../src/filters/onProductSave.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"onProductSave.d.ts","sourceRoot":"","sources":["../../src/filters/onProductSave.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAwC9C,wBAAsB,aAAa,CAAC,aAAa,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CAOrF"}
|
package/out/filters/types.d.ts
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
import type { Filter, FilterDimension, FilterGroup } from '../widgets/types';
|
|
2
|
-
export type { Filter, FilterDimension, FilterGroup };
|
|
3
|
-
export type
|
|
1
|
+
import type { AppStoredFilter, AvpStoredFilter, Filter, FilterDimension, FilterGroup } from '../widgets/types';
|
|
2
|
+
export type { AppStoredFilter, AvpStoredFilter, Filter, FilterDimension, FilterGroup };
|
|
3
|
+
export type AvpStoredFilterPayload = {
|
|
4
4
|
id?: string;
|
|
5
|
-
label
|
|
5
|
+
label: string;
|
|
6
6
|
comparison: string;
|
|
7
|
-
defaultValues
|
|
7
|
+
defaultValues: Array<string | null>;
|
|
8
8
|
metadata?: string;
|
|
9
9
|
dimensions: string[];
|
|
10
10
|
};
|
|
11
|
+
export type AppStoredFilterPayload = {
|
|
12
|
+
id?: string;
|
|
13
|
+
label: string;
|
|
14
|
+
comparison?: never;
|
|
15
|
+
defaultValues?: never;
|
|
16
|
+
metadata?: never;
|
|
17
|
+
dimensions?: never;
|
|
18
|
+
};
|
|
19
|
+
export type FilterPayload = AvpStoredFilterPayload | AppStoredFilterPayload;
|
|
11
20
|
export type FilterGroupPayload = {
|
|
12
21
|
operator: 'AND' | 'OR';
|
|
13
22
|
groups: FilterPayload[];
|
|
@@ -18,9 +27,8 @@ export type FilterOverride = {
|
|
|
18
27
|
metadata?: string;
|
|
19
28
|
};
|
|
20
29
|
export type FilterOverrides = Record<string, FilterOverride>;
|
|
21
|
-
export type FilterOnProductSave = () => Promise<FilterGroupPayload
|
|
30
|
+
export type FilterOnProductSave = () => Promise<FilterGroupPayload>;
|
|
22
31
|
export type FilterOnSave = (filterGroup: FilterGroup) => Promise<void>;
|
|
23
|
-
export type OnOverridesClear = () => Promise<void>;
|
|
24
32
|
export type OnDropdownClose = (filter: Filter) => Promise<void>;
|
|
25
33
|
export type FilterFunction = (event: {
|
|
26
34
|
filterGroup: FilterGroup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/filters/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/filters/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/G,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC;AAEvF,MAAM,MAAM,sBAAsB,GAAG;IAKnC,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,KAAK,EAAE,MAAM,CAAC;IAId,UAAU,EAAE,MAAM,CAAC;IAInB,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAIpC,QAAQ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G,IAAI,CAAC,CAAC"}
|
package/out/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './widgets';
|
|
2
2
|
export { filter } from './filters';
|
|
3
|
-
export type { FilterPayload, FilterGroupPayload, FilterOverride, FilterOverrides,
|
|
3
|
+
export type { AppStoredFilterPayload, AvpStoredFilterPayload, FilterPayload, FilterGroupPayload, FilterOverride, FilterOverrides, OnDropdownClose, FilterOnSave, FilterOnProductSave, FilterFunction, AppStoredFilter, AvpStoredFilter } from './filters';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/out/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,EAChB,MAAM,WAAW,CAAC"}
|
package/out/widgets/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { widgetEdit } from './edit';
|
|
2
2
|
export { widget } from './view';
|
|
3
|
-
export type { WidgetConfig, Layout, WidgetContext, WidgetPlacement, FilterDimension, FilterExpression, Filter, FilterGroup, OnSave, OnProductSave, OnSaveError, ForgeAiContextCell, ForgeAiContextColumn, ForgeAiContextRow, ForgeAiContextResponse } from './types';
|
|
3
|
+
export type { WidgetConfig, Layout, WidgetContext, WidgetPlacement, FilterDimension, FilterExpression, AppStoredFilter, AvpStoredFilter, Filter, FilterGroup, OnSave, OnProductSave, OnSaveError, ForgeAiContextCell, ForgeAiContextColumn, ForgeAiContextRow, ForgeAiContextResponse } from './types';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/widgets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,YAAY,EACV,YAAY,EACZ,MAAM,EACN,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,MAAM,EACN,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/widgets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,YAAY,EACV,YAAY,EACZ,MAAM,EACN,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,MAAM,EACN,WAAW,EACX,MAAM,EACN,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,SAAS,CAAC"}
|
package/out/widgets/types.d.ts
CHANGED
|
@@ -11,14 +11,18 @@ export type FilterGroup = {
|
|
|
11
11
|
operator: 'AND' | 'OR';
|
|
12
12
|
groups: FilterExpression[];
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type BaseStoredFilter = {
|
|
15
15
|
id: string;
|
|
16
|
-
label
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
export type AvpStoredFilter = BaseStoredFilter & {
|
|
17
19
|
comparison: string;
|
|
18
|
-
defaultValues
|
|
20
|
+
defaultValues: Array<string | null>;
|
|
19
21
|
metadata?: string;
|
|
20
22
|
dimensions: FilterDimension[];
|
|
21
23
|
};
|
|
24
|
+
export type AppStoredFilter = BaseStoredFilter;
|
|
25
|
+
export type Filter = AvpStoredFilter | AppStoredFilter;
|
|
22
26
|
export type FilterDimension = {
|
|
23
27
|
name: string;
|
|
24
28
|
product?: string;
|
|
@@ -52,4 +56,5 @@ export type ForgeAiContextResponse<ColumnKey extends string = string> = {
|
|
|
52
56
|
columns: Array<ForgeAiContextColumn<ColumnKey>>;
|
|
53
57
|
rows: Array<ForgeAiContextRow<ColumnKey>>;
|
|
54
58
|
};
|
|
59
|
+
export {};
|
|
55
60
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/widgets/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEnD,MAAM,MAAM,MAAM,GAAG;IAInB,KAAK,EAAE,MAAM,CAAC;IAId,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAIlD,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;CACjC,CAAC;AAKF,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,MAAM,CAAC;AAEpD,MAAM,MAAM,WAAW,GAAG;IAIxB,EAAE,EAAE,MAAM,CAAC;IAIX,QAAQ,EAAE,KAAK,GAAG,IAAI,CAAC;IAIvB,MAAM,EAAE,gBAAgB,EAAE,CAAC;C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AAElE,MAAM,MAAM,oBAAoB,CAAC,SAAS,SAAS,MAAM,GAAG,MAAM,IAAI;IAEpE,GAAG,EAAE,SAAS,CAAC;IAEf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,SAAS,SAAS,MAAM,GAAG,MAAM,IAC3D,kBAAkB,EAAE,GACpB,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAC,CAAC;AAQnD,MAAM,MAAM,sBAAsB,CAAC,SAAS,SAAS,MAAM,GAAG,MAAM,IAAI;IAEtE,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,KAAK,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;IAChD,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC;CAC3C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/dashboards-bridge",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-next.2",
|
|
4
4
|
"description": "Forge Dashboards custom bridge API",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"registry": "https://packages.atlassian.com/api/npm/npm-public/"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@forge/bridge": "^7.0.1-next.0
|
|
18
|
+
"@forge/bridge": "^7.0.1-next.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"typescript": ">=5.0.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onOverridesClear.d.ts","sourceRoot":"","sources":["../../src/filters/onOverridesClear.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAc3C,wBAAsB,gBAAgB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAOxF"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.onOverridesClear = onOverridesClear;
|
|
4
|
-
const errors_1 = require("../errors");
|
|
5
|
-
const get_filter_bridge_1 = require("./get-filter-bridge");
|
|
6
|
-
async function onOverridesClear(onOverridesClear) {
|
|
7
|
-
try {
|
|
8
|
-
const bridge = await (0, get_filter_bridge_1.getFilterBridge)();
|
|
9
|
-
bridge.onOverridesClear(onOverridesClear);
|
|
10
|
-
}
|
|
11
|
-
catch (err) {
|
|
12
|
-
throw new errors_1.BridgeAPIError('Unable to set filter.onOverridesClear: ' + err.message);
|
|
13
|
-
}
|
|
14
|
-
}
|