@crystaldesign/diva-backoffice 24.4.1 → 24.4.2-rc.1
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/build/esm/index.js +64 -1
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -4383,7 +4383,14 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
4383
4383
|
filterServerSide: true
|
|
4384
4384
|
},
|
|
4385
4385
|
"delete": '${mediaService}/rooms/${id}'
|
|
4386
|
-
}
|
|
4386
|
+
},
|
|
4387
|
+
rowAction: [{
|
|
4388
|
+
actionType: 'Detail',
|
|
4389
|
+
type: 'RelationSelector',
|
|
4390
|
+
id: 'SelectorRoomOrganizations',
|
|
4391
|
+
title: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label'),
|
|
4392
|
+
label: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label')
|
|
4393
|
+
}]
|
|
4387
4394
|
},
|
|
4388
4395
|
TableRenderjobs: {
|
|
4389
4396
|
title: t('backoffice.table.renderjobs.title'),
|
|
@@ -9278,6 +9285,62 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
9278
9285
|
AUTH_0020: t('errorcodes._source.labels.error.AUTH_0020')
|
|
9279
9286
|
}
|
|
9280
9287
|
},
|
|
9288
|
+
SelectorRoomOrganizations: {
|
|
9289
|
+
type: 'RelationSelector',
|
|
9290
|
+
searchApiInterface: {
|
|
9291
|
+
read: '${authService}/v2/organizations'
|
|
9292
|
+
},
|
|
9293
|
+
apiInterface: {
|
|
9294
|
+
read: '${mediaService}/rooms/${roomId}/organizations',
|
|
9295
|
+
create: '${mediaService}/rooms/${roomId}/organizations/${organizationId}',
|
|
9296
|
+
"delete": '${mediaService}/rooms/${roomId}/organizations/${organizationId}'
|
|
9297
|
+
},
|
|
9298
|
+
configuration: {
|
|
9299
|
+
download: false,
|
|
9300
|
+
readListMapping: {
|
|
9301
|
+
type: 'query',
|
|
9302
|
+
map: [{
|
|
9303
|
+
sourceField: '_id',
|
|
9304
|
+
targetField: 'roomId'
|
|
9305
|
+
}]
|
|
9306
|
+
},
|
|
9307
|
+
deleteMapping: {
|
|
9308
|
+
type: 'query',
|
|
9309
|
+
map: [{
|
|
9310
|
+
sourceField: '_id',
|
|
9311
|
+
targetField: 'roomId'
|
|
9312
|
+
}, {
|
|
9313
|
+
sourceField: 'relatedId',
|
|
9314
|
+
targetField: 'organizationId'
|
|
9315
|
+
}]
|
|
9316
|
+
},
|
|
9317
|
+
createMapping: {
|
|
9318
|
+
type: 'query',
|
|
9319
|
+
map: [{
|
|
9320
|
+
sourceField: '_id',
|
|
9321
|
+
targetField: 'roomId'
|
|
9322
|
+
}, {
|
|
9323
|
+
sourceField: 'relatedId',
|
|
9324
|
+
targetField: 'organizationId'
|
|
9325
|
+
}]
|
|
9326
|
+
},
|
|
9327
|
+
search: {
|
|
9328
|
+
fields: ['_id', 'displayName']
|
|
9329
|
+
},
|
|
9330
|
+
functionalities: {
|
|
9331
|
+
canDelete: true,
|
|
9332
|
+
canEdit: false
|
|
9333
|
+
},
|
|
9334
|
+
filter: {
|
|
9335
|
+
fields: ['_id', 'displayName'],
|
|
9336
|
+
type: 'default'
|
|
9337
|
+
},
|
|
9338
|
+
list: {
|
|
9339
|
+
title: ['displayName'],
|
|
9340
|
+
description: ['_id']
|
|
9341
|
+
}
|
|
9342
|
+
}
|
|
9343
|
+
},
|
|
9281
9344
|
MediaUploadOrganizationLogoMobile: {
|
|
9282
9345
|
type: 'MediaUpload',
|
|
9283
9346
|
size: 'medium',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.4.1",
|
|
3
|
+
"version": "24.4.2-rc.1",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
},
|
|
51
51
|
"module": "build/esm/index.js",
|
|
52
52
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "2fe64d120be957875a639059e28a424806ee0263"
|
|
54
54
|
}
|