@lightdash/common 0.2169.1 → 0.2170.0
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/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/authorization/jwtAbility.d.ts +2 -2
- package/dist/cjs/authorization/jwtAbility.d.ts.map +1 -1
- package/dist/cjs/authorization/jwtAbility.js +31 -26
- package/dist/cjs/authorization/jwtAbility.js.map +1 -1
- package/dist/cjs/authorization/jwtAbility.test.js +3 -1
- package/dist/cjs/authorization/jwtAbility.test.js.map +1 -1
- package/dist/cjs/ee/embed/index.d.ts +2 -2
- package/dist/cjs/ee/embed/index.d.ts.map +1 -1
- package/dist/cjs/ee/embed/index.js.map +1 -1
- package/dist/cjs/types/auth.d.ts +14 -4
- package/dist/cjs/types/auth.d.ts.map +1 -1
- package/dist/cjs/types/auth.js.map +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/authorization/jwtAbility.d.ts +2 -2
- package/dist/esm/authorization/jwtAbility.d.ts.map +1 -1
- package/dist/esm/authorization/jwtAbility.js +31 -26
- package/dist/esm/authorization/jwtAbility.js.map +1 -1
- package/dist/esm/authorization/jwtAbility.test.js +3 -1
- package/dist/esm/authorization/jwtAbility.test.js.map +1 -1
- package/dist/esm/ee/embed/index.d.ts +2 -2
- package/dist/esm/ee/embed/index.d.ts.map +1 -1
- package/dist/esm/ee/embed/index.js.map +1 -1
- package/dist/esm/types/auth.d.ts +14 -4
- package/dist/esm/types/auth.d.ts.map +1 -1
- package/dist/esm/types/auth.js.map +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/authorization/jwtAbility.d.ts +2 -2
- package/dist/types/authorization/jwtAbility.d.ts.map +1 -1
- package/dist/types/authorization/jwtAbility.js +31 -26
- package/dist/types/authorization/jwtAbility.js.map +1 -1
- package/dist/types/authorization/jwtAbility.test.js +3 -1
- package/dist/types/authorization/jwtAbility.test.js.map +1 -1
- package/dist/types/ee/embed/index.d.ts +2 -2
- package/dist/types/ee/embed/index.d.ts.map +1 -1
- package/dist/types/ee/embed/index.js.map +1 -1
- package/dist/types/types/auth.d.ts +14 -4
- package/dist/types/types/auth.d.ts.map +1 -1
- package/dist/types/types/auth.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type AbilityBuilder } from '@casl/ability';
|
|
2
2
|
import { type CreateEmbedJwt } from '../ee';
|
|
3
|
-
import type { OssEmbed } from '../types/auth';
|
|
3
|
+
import type { EmbedContent, OssEmbed } from '../types/auth';
|
|
4
4
|
import type { MemberAbility } from './types';
|
|
5
|
-
export declare function applyEmbeddedAbility(embedUser: CreateEmbedJwt,
|
|
5
|
+
export declare function applyEmbeddedAbility(embedUser: CreateEmbedJwt, content: EmbedContent, embed: OssEmbed, externalId: string, builder: AbilityBuilder<MemberAbility>): void;
|
|
6
6
|
//# sourceMappingURL=jwtAbility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwtAbility.d.ts","sourceRoot":"","sources":["../../../src/authorization/jwtAbility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"jwtAbility.d.ts","sourceRoot":"","sources":["../../../src/authorization/jwtAbility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAgL7C,wBAAgB,oBAAoB,CAChC,SAAS,EAAE,cAAc,EACzB,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,QAAQ,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC,QAiBzC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import flow from 'lodash/flow';
|
|
2
2
|
import { isDashboardContent } from '../ee';
|
|
3
|
-
const dashboardAbilities = ({ embedUser,
|
|
3
|
+
const dashboardAbilities = ({ embedUser, content, embed, externalId, builder, }) => {
|
|
4
4
|
const { organization } = embed;
|
|
5
5
|
const { can } = builder;
|
|
6
6
|
can('view', 'Dashboard', {
|
|
7
|
-
dashboardUuid:
|
|
7
|
+
dashboardUuid: content.dashboardUuid,
|
|
8
8
|
organizationUuid: organization.organizationUuid,
|
|
9
9
|
});
|
|
10
10
|
if (embedUser.content.type === 'dashboard' &&
|
|
@@ -22,33 +22,39 @@ const dashboardAbilities = ({ embedUser, contentUuid, contentType, embed, extern
|
|
|
22
22
|
organizationUuid: organization.organizationUuid,
|
|
23
23
|
projectUuid: embed.projectUuid,
|
|
24
24
|
});
|
|
25
|
-
return { embedUser,
|
|
25
|
+
return { embedUser, content, embed, builder, externalId };
|
|
26
26
|
};
|
|
27
|
-
const chartAbilities = ({ embedUser,
|
|
27
|
+
const chartAbilities = ({ embedUser, content, embed, externalId, builder, }) => {
|
|
28
28
|
const { organization } = embed;
|
|
29
29
|
const { can } = builder;
|
|
30
30
|
can('view', 'SavedChart', {
|
|
31
31
|
access: {
|
|
32
32
|
$elemMatch: {
|
|
33
|
-
chartUuid:
|
|
33
|
+
chartUuid: content.chartUuids[0],
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
organizationUuid: organization.organizationUuid,
|
|
37
37
|
projectUuid: embed.projectUuid,
|
|
38
38
|
});
|
|
39
|
+
can('view', 'Explore', {
|
|
40
|
+
organizationUuid: organization.organizationUuid,
|
|
41
|
+
projectUuid: embed.projectUuid,
|
|
42
|
+
exploreNames: { $all: content.explores },
|
|
43
|
+
});
|
|
39
44
|
can('view', 'Project', {
|
|
40
45
|
organizationUuid: organization.organizationUuid,
|
|
41
46
|
projectUuid: embed.projectUuid,
|
|
47
|
+
exploreNames: { $all: content.explores },
|
|
42
48
|
});
|
|
43
|
-
return { embedUser,
|
|
49
|
+
return { embedUser, content, embed, builder, externalId };
|
|
44
50
|
};
|
|
45
|
-
const exploreAbilities = ({ embedUser,
|
|
46
|
-
const { content } = embedUser;
|
|
51
|
+
const exploreAbilities = ({ embedUser, content, embed, externalId, builder, }) => {
|
|
52
|
+
const { content: permissions } = embedUser;
|
|
47
53
|
const { organization } = embed;
|
|
48
54
|
const { can } = builder;
|
|
49
|
-
const canExplore = 'canExplore' in
|
|
50
|
-
const canViewUnderlyingData = 'canViewUnderlyingData' in
|
|
51
|
-
?
|
|
55
|
+
const canExplore = 'canExplore' in permissions ? permissions.canExplore : undefined;
|
|
56
|
+
const canViewUnderlyingData = 'canViewUnderlyingData' in permissions
|
|
57
|
+
? permissions.canViewUnderlyingData
|
|
52
58
|
: undefined;
|
|
53
59
|
if (canExplore || canViewUnderlyingData) {
|
|
54
60
|
can('view', 'UnderlyingData', {
|
|
@@ -62,21 +68,21 @@ const exploreAbilities = ({ embedUser, contentUuid, contentType, embed, external
|
|
|
62
68
|
projectUuid: embed.projectUuid,
|
|
63
69
|
});
|
|
64
70
|
}
|
|
65
|
-
return { embedUser,
|
|
71
|
+
return { embedUser, content, embed, externalId, builder };
|
|
66
72
|
};
|
|
67
|
-
const exportAbilities = ({ embedUser,
|
|
68
|
-
const { content } = embedUser;
|
|
73
|
+
const exportAbilities = ({ embedUser, content, embed, externalId, builder, }) => {
|
|
74
|
+
const { content: permissions } = embedUser;
|
|
69
75
|
const { organization } = embed;
|
|
70
76
|
const { can } = builder;
|
|
71
|
-
const subjectType =
|
|
77
|
+
const subjectType = content.type === 'dashboard' ? 'Dashboard' : 'SavedChart';
|
|
72
78
|
// Common abilities for both dashboard and chart
|
|
73
|
-
if (
|
|
79
|
+
if (permissions.canExportImages) {
|
|
74
80
|
can('export', subjectType, {
|
|
75
81
|
organizationUuid: organization.organizationUuid,
|
|
76
82
|
type: 'images',
|
|
77
83
|
});
|
|
78
84
|
}
|
|
79
|
-
if (
|
|
85
|
+
if (permissions.canExportCsv) {
|
|
80
86
|
can('export', subjectType, {
|
|
81
87
|
organizationUuid: organization.organizationUuid,
|
|
82
88
|
type: 'csv',
|
|
@@ -88,15 +94,15 @@ const exportAbilities = ({ embedUser, contentUuid, contentType, embed, externalI
|
|
|
88
94
|
});
|
|
89
95
|
}
|
|
90
96
|
// Dashboard specific abilities
|
|
91
|
-
if (isDashboardContent(content)) {
|
|
92
|
-
if (content.canExportPagePdf) {
|
|
97
|
+
if (isDashboardContent(embedUser.content)) {
|
|
98
|
+
if (embedUser.content.canExportPagePdf) {
|
|
93
99
|
can('export', 'Dashboard', {
|
|
94
100
|
organizationUuid: organization.organizationUuid,
|
|
95
101
|
type: 'pdf',
|
|
96
102
|
});
|
|
97
103
|
}
|
|
98
104
|
}
|
|
99
|
-
return { embedUser,
|
|
105
|
+
return { embedUser, content, embed, externalId, builder };
|
|
100
106
|
};
|
|
101
107
|
const dashboardTypeAbilities = [
|
|
102
108
|
dashboardAbilities,
|
|
@@ -104,16 +110,15 @@ const dashboardTypeAbilities = [
|
|
|
104
110
|
exploreAbilities,
|
|
105
111
|
];
|
|
106
112
|
const chartTypeAbilities = [chartAbilities, exportAbilities, exploreAbilities];
|
|
107
|
-
export function applyEmbeddedAbility(embedUser,
|
|
108
|
-
if (!
|
|
109
|
-
throw new Error('Content
|
|
113
|
+
export function applyEmbeddedAbility(embedUser, content, embed, externalId, builder) {
|
|
114
|
+
if (!content) {
|
|
115
|
+
throw new Error('Content is required');
|
|
110
116
|
}
|
|
111
|
-
const abilities =
|
|
117
|
+
const abilities = content.type === 'chart' ? chartTypeAbilities : dashboardTypeAbilities;
|
|
112
118
|
const applyAbilities = flow(abilities);
|
|
113
119
|
applyAbilities({
|
|
114
120
|
embedUser,
|
|
115
|
-
|
|
116
|
-
contentType,
|
|
121
|
+
content,
|
|
117
122
|
embed,
|
|
118
123
|
externalId,
|
|
119
124
|
builder,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwtAbility.js","sourceRoot":"","sources":["../../../src/authorization/jwtAbility.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAuB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"jwtAbility.js","sourceRoot":"","sources":["../../../src/authorization/jwtAbility.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAuB,MAAM,OAAO,CAAC;AAgBhE,MAAM,kBAAkB,GAA2B,CAAC,EAChD,SAAS,EACT,OAAO,EACP,KAAK,EACL,UAAU,EACV,OAAO,GACV,EAAE,EAAE;IACD,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;IAExB,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE;QACrB,aAAa,EAAE,OAAO,CAAC,aAAa;QACpC,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;KAClD,CAAC,CAAC;IAEH,IACI,SAAS,CAAC,OAAO,CAAC,IAAI,KAAK,WAAW;QACtC,SAAS,CAAC,OAAO,CAAC,WAAW,EAC/B,CAAC;QACC,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE;YACrB,QAAQ,EAAE,IAAI;YACd,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;SAClD,CAAC,CAAC;IACP,CAAC;IAED,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE;QACtB,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;QAC/C,WAAW,EAAE,KAAK,CAAC,WAAW;KACjC,CAAC,CAAC;IAEH,GAAG,CAAC,MAAM,EAA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AO,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,SAAS,GACX,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,sBAAsB,CAAC;IAC3E,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;IAEvC,cAAc,CAAC;QACX,SAAS;QACT,OAAO;QACP,KAAK;QACL,UAAU;QACV,OAAO;KACV,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -43,7 +43,7 @@ const embed = {
|
|
|
43
43
|
const defineAbilityForEmbedUser = (embedUser, dashboardUuid) => {
|
|
44
44
|
const builder = new AbilityBuilder(Ability);
|
|
45
45
|
const externalId = 'external-id-1';
|
|
46
|
-
applyEmbeddedAbility(embedUser, dashboardUuid, 'dashboard', embed, externalId, builder);
|
|
46
|
+
applyEmbeddedAbility(embedUser, { dashboardUuid, type: 'dashboard', chartUuids: [], explores: [] }, embed, externalId, builder);
|
|
47
47
|
return builder.build();
|
|
48
48
|
};
|
|
49
49
|
describe('Embedded dashboard abilities', () => {
|
|
@@ -203,6 +203,8 @@ describe('Embedded dashboard abilities', () => {
|
|
|
203
203
|
it('should allow only CSV and PDF when images is disabled', () => {
|
|
204
204
|
const embedUser = createEmbedJwt({
|
|
205
205
|
content: {
|
|
206
|
+
type: 'dashboard',
|
|
207
|
+
dashboardUuid,
|
|
206
208
|
canExportCsv: true,
|
|
207
209
|
canExportPagePdf: true,
|
|
208
210
|
canExportImages: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwtAbility.test.js","sourceRoot":"","sources":["../../../src/authorization/jwtAbility.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,cAAc,G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;QAEH,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;YACvE,MAAM,SAAS,GAAG,cAAc,CAAC;gBAC7B,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAChC,CAAC,CAAC;YACH,MAAM,OAAO,GAAG,yBAAyB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;YAEpE,MAAM,CACF,OAAO,CAAC,GAAG,CACP,MAAM,EACN,OAAO,CAAC,SAAS,EAAE;gBACf,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;gBAC/C,WAAW,EAAE,wBAAwB;aACxC,CAAC,CACL,CACJ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACd,MAAM,CACF,OAAO,CAAC,GAAG,CACP,MAAM,EACN,OAAO,CAAC,SAAS,EAAE;gBACf,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;gBAC/C,WAAW,EAAE,wBAAwB;aACxC,CAAC,CACL,CACJ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type { OssEmbed } from '../../types/auth';
|
|
2
|
+
import type { EmbedContent, OssEmbed } from '../../types/auth';
|
|
3
3
|
/** @deprecated Use OssEmbed instead */
|
|
4
4
|
export type Embed = OssEmbed;
|
|
5
5
|
export type DecodedEmbed = Omit<Embed, 'encodedSecret'> & {
|
|
@@ -472,7 +472,7 @@ export type CreateEmbedJwt = {
|
|
|
472
472
|
export declare function isDashboardUuidContent(content: CreateEmbedJwt['content']): content is EmbedJwtContentDashboardUuid;
|
|
473
473
|
export declare function isDashboardSlugContent(content: CreateEmbedJwt['content']): content is EmbedJwtContentDashboardSlug;
|
|
474
474
|
export declare function isChartContent(content: CreateEmbedJwt['content']): content is EmbedJwtContentChart;
|
|
475
|
-
export declare function isDashboardContent(content: CreateEmbedJwt['content']): content is EmbedJwtContentDashboardUuid | EmbedJwtContentDashboardSlug;
|
|
475
|
+
export declare function isDashboardContent(content: CreateEmbedJwt['content'] | EmbedContent): content is EmbedJwtContentDashboardUuid | EmbedJwtContentDashboardSlug;
|
|
476
476
|
export type EmbedUrl = {
|
|
477
477
|
url: string;
|
|
478
478
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ee/embed/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ee/embed/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG/D,uCAAuC;AACvC,MAAM,MAAM,KAAK,GAAG,QAAQ,CAAC;AAE7B,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,EAAE,eAAe,CAAC,GAAG;IACtD,aAAa,EAAE,SAAS,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,MAAM,MAAM,sBAAsB,GAAG;IACjC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAE5B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,oBAAY,yBAAyB;IACjC,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,IAAI,SAAS;CAChB;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,yBAAyB,CAAC,IAAI,CAAC;IACzC,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,4BAA4B,CACxC,0BAAgE;IAEhE,IAAI,CAAC,0BAA0B;QAAE,OAAO,KAAK,CAAC;IAE9C,MAAM,wBAAwB,GAAG,2BAA2B,CACxD,0BAA0B,CAAC,OAAO,CACrC,CAAC;IAEF,QAAQ,wBAAwB,EAAE,CAAC;QAC/B,KAAK,yBAAyB,CAAC,IAAI;YAC/B,OAAO,CACH,0BAA0B,CAAC,cAAc;gBACzC,0BAA0B,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CACvD,CAAC;QACN,KAAK,yBAAyB,CAAC,GAAG;YAC9B,OAAO,IAAI,CAAC;QAChB,KAAK,yBAAyB,CAAC,IAAI;YAC/B,OAAO,KAAK,CAAC;QACjB;YACI,OAAO,iBAAiB,CACpB,wBAAwB,EACxB,oCAAoC,wBAAwB,EAAE,CACjE,CAAC;IACV,CAAC;AACL,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC3C,6BAA6D;IAE7D,OAAO,6BAA6B,EAAE,OAAO,IAAI,KAAK,CAAC;AAC3D,CAAC"}
|
|
@@ -55,11 +55,21 @@ export type UserAccessControls = {
|
|
|
55
55
|
userAttributes: UserAttributeValueMap;
|
|
56
56
|
intrinsicUserAttributes: IntrinsicUserAttributes;
|
|
57
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* Details about the content bound to the given JWT
|
|
60
|
+
*/
|
|
61
|
+
export type EmbedContent = {
|
|
62
|
+
/** The dashboard UUID the JWT may have access to */
|
|
63
|
+
dashboardUuid?: string;
|
|
64
|
+
/** The chart IDs the JWT dashboard may have access to */
|
|
65
|
+
chartUuids: string[];
|
|
66
|
+
/** Explores available to the embedded dashboard */
|
|
67
|
+
explores: string[];
|
|
68
|
+
/** The type of content */
|
|
69
|
+
type: 'dashboard' | 'chart';
|
|
70
|
+
};
|
|
58
71
|
export type EmbedAccess = {
|
|
59
|
-
|
|
60
|
-
contentId?: string;
|
|
61
|
-
/** The type of content (dashboard or chart) */
|
|
62
|
-
contentType?: 'dashboard' | 'chart';
|
|
72
|
+
content: EmbedContent;
|
|
63
73
|
/** Dashboard filtering options for interactivity */
|
|
64
74
|
filtering?: DashboardFilterInteractivityOptions;
|
|
65
75
|
/** User-specific access controls */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EACrC,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,aAAa,EACrB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAE9D;;GAEG;AACH,oBAAY,eAAe;IACvB,IAAI,UAAU;IACd,eAAe,WAAW;IAC1B,qBAAqB,WAAW;IAChC,SAAS,WAAW;IACpB,aAAa,WAAW;CAC3B;AAED,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,KAAK,GAAG,iBAAiB,GAAG,KAAK,GAAG,OAAO,CAAC;AAE/E,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,EAAE,KAAK,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IAClB,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,M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