@forge/dashboards-bridge 1.0.2-next.0-experimental-bd3d812 → 1.0.2-next.0-experimental-a1600ff
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 -2
- package/out/widgets/edit/utils/get-context-extension.d.ts +1 -2
- package/out/widgets/edit/utils/get-context-extension.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 +0 -21
- package/out/widgets/types.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# @forge/dashboards-bridge
|
|
2
2
|
|
|
3
|
-
## 1.0.2-next.0-experimental-
|
|
3
|
+
## 1.0.2-next.0-experimental-a1600ff
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies [f1ec6d7]
|
|
8
|
-
|
|
8
|
+
- Updated dependencies [c4769ca]
|
|
9
|
+
- @forge/bridge@6.1.1-next.3-experimental-a1600ff
|
|
9
10
|
|
|
10
11
|
## 1.0.2-next.0
|
|
11
12
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { Layout, WidgetConfig, WidgetContext, WidgetPlacement, Context
|
|
1
|
+
import type { Layout, WidgetConfig, WidgetContext, WidgetPlacement, Context } from '../../types';
|
|
2
2
|
export type WidgetContextExtension<Config extends WidgetConfig = WidgetConfig> = {
|
|
3
3
|
layout: Layout;
|
|
4
4
|
context: WidgetContext;
|
|
5
5
|
placement: WidgetPlacement;
|
|
6
|
-
filters?: FilterExpression | null;
|
|
7
6
|
entryPoint?: 'edit';
|
|
8
7
|
config: Config;
|
|
9
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-context-extension.d.ts","sourceRoot":"","sources":["../../../../src/widgets/edit/utils/get-context-extension.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-context-extension.d.ts","sourceRoot":"","sources":["../../../../src/widgets/edit/utils/get-context-extension.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGjG,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,YAAY,GAAG,YAAY,IAAI;IAC/E,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;IACvB,SAAS,EAAE,eAAe,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAU,MAAM,SAAS,YAAY,OAAK,OAAO,CAAC;IACrF,SAAS,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC1C,OAAO,EAAE,OAAO,CAAC;CAClB,CAMA,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,
|
|
3
|
+
export type { WidgetConfig, Layout, WidgetContext, WidgetPlacement, OnSave, OnProductSave, OnSaveError } 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,
|
|
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,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
|
package/out/widgets/types.d.ts
CHANGED
|
@@ -5,27 +5,6 @@ export type Layout = {
|
|
|
5
5
|
rowSpan?: 'xsmall' | 'small' | 'medium' | 'large';
|
|
6
6
|
columnSpan?: 3 | 4 | 6 | 8 | 12;
|
|
7
7
|
};
|
|
8
|
-
export type FilterExpression = FilterGroup | Filter;
|
|
9
|
-
export type FilterGroup = {
|
|
10
|
-
id: string;
|
|
11
|
-
operator: 'AND' | 'OR';
|
|
12
|
-
groups: FilterExpression[];
|
|
13
|
-
metadata?: string | null;
|
|
14
|
-
};
|
|
15
|
-
export type Filter = {
|
|
16
|
-
id: string;
|
|
17
|
-
label?: string | null;
|
|
18
|
-
comparison: string;
|
|
19
|
-
defaultValues?: Array<string | null> | null;
|
|
20
|
-
dimensions: FilterDimension[];
|
|
21
|
-
metadata?: string | null;
|
|
22
|
-
};
|
|
23
|
-
export type FilterDimension = {
|
|
24
|
-
name: string;
|
|
25
|
-
product?: string;
|
|
26
|
-
subProduct?: string | null;
|
|
27
|
-
dynamicDimensionKey?: string;
|
|
28
|
-
};
|
|
29
8
|
export type WidgetContext = {
|
|
30
9
|
widgetId?: string;
|
|
31
10
|
dashboardId: string;
|
|
@@ -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,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CAAC,CAAC;AAEvG,MAAM,MAAM,aAAa,GAAG,CAC1B,MAAM,EAAE,YAAY,EACpB,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,KACb,OAAO,CAAC,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;AAC9C,MAAM,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,YAAY,KAAK,OAAO,CAAC,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;AAErG,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;AACjG,MAAM,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/dashboards-bridge",
|
|
3
|
-
"version": "1.0.2-next.0-experimental-
|
|
3
|
+
"version": "1.0.2-next.0-experimental-a1600ff",
|
|
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": "^6.1.1-next.3-experimental-
|
|
18
|
+
"@forge/bridge": "^6.1.1-next.3-experimental-a1600ff"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"typescript": ">=5.0.0"
|