@magda/external-ui-plugin-sdk 2.2.6 → 2.3.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/index.d.ts +12 -10
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,13 @@ declare type Access = {
|
|
|
10
10
|
note?: string;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
+
declare interface AccessControlAspect {
|
|
14
|
+
ownerId?: string;
|
|
15
|
+
orgUnitId?: string;
|
|
16
|
+
preAuthorisedPermissionIds?: string[];
|
|
17
|
+
constraintExemption?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
declare interface CkanExportAspectProperties {
|
|
14
21
|
status: CkanExportStatus;
|
|
15
22
|
exportUserId?: string;
|
|
@@ -1030,11 +1037,7 @@ declare type ParsedDataset = {
|
|
|
1030
1037
|
temporalExtent?: any;
|
|
1031
1038
|
accessLevel?: string;
|
|
1032
1039
|
informationSecurity?: ParsedInformationSecurity;
|
|
1033
|
-
accessControl?:
|
|
1034
|
-
ownerId: string;
|
|
1035
|
-
orgUnitId: string;
|
|
1036
|
-
preAuthorisedPermissionIds: string[];
|
|
1037
|
-
};
|
|
1040
|
+
accessControl?: AccessControlAspect;
|
|
1038
1041
|
ckanExport?: CkanExportAspectType;
|
|
1039
1042
|
access: Access;
|
|
1040
1043
|
defaultLicense?: string;
|
|
@@ -1060,11 +1063,7 @@ declare type ParsedDistribution = {
|
|
|
1060
1063
|
sourceDetails: any;
|
|
1061
1064
|
ckanResource: any;
|
|
1062
1065
|
publishingState?: string;
|
|
1063
|
-
accessControl?:
|
|
1064
|
-
ownerId: string;
|
|
1065
|
-
orgUnitId: string;
|
|
1066
|
-
preAuthorisedPermissionIds: string[];
|
|
1067
|
-
};
|
|
1066
|
+
accessControl?: AccessControlAspect;
|
|
1068
1067
|
version?: VersionAspectData;
|
|
1069
1068
|
byteSize?: number;
|
|
1070
1069
|
rawData: RawDistribution;
|
|
@@ -1097,6 +1096,7 @@ declare interface Permission {
|
|
|
1097
1096
|
createTime?: Date;
|
|
1098
1097
|
editBy?: string;
|
|
1099
1098
|
editTime?: Date;
|
|
1099
|
+
allowExemption: boolean;
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
1102
|
/**
|
|
@@ -1193,6 +1193,7 @@ declare type RawDataset = {
|
|
|
1193
1193
|
currency?: CurrencyData;
|
|
1194
1194
|
publishing?: PublishingAspect;
|
|
1195
1195
|
"preview-map-settings"?: previewMapSettingsAspect;
|
|
1196
|
+
"access-control"?: AccessControlAspect;
|
|
1196
1197
|
};
|
|
1197
1198
|
};
|
|
1198
1199
|
|
|
@@ -1219,6 +1220,7 @@ declare type RawDistribution = {
|
|
|
1219
1220
|
state?: string;
|
|
1220
1221
|
};
|
|
1221
1222
|
version?: VersionAspectData;
|
|
1223
|
+
"access-control"?: AccessControlAspect;
|
|
1222
1224
|
};
|
|
1223
1225
|
};
|
|
1224
1226
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magda/external-ui-plugin-sdk",
|
|
3
3
|
"description": "MAGDA external UI plugin SDK",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.3.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "rimraf dist tsconfig.tsbuildinfo",
|
|
7
7
|
"build": "api-extractor run -l",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"directory": "packages/external-ui-plugin-sdk"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@magda/web-client": "^2.
|
|
21
|
+
"@magda/web-client": "^2.3.0",
|
|
22
22
|
"typescript": "~4.2.4"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|