@crystaldesign/diva-backoffice 24.4.0-beta.31 → 24.4.0-beta.33
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
|
@@ -4377,7 +4377,14 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
4377
4377
|
filterServerSide: true
|
|
4378
4378
|
},
|
|
4379
4379
|
"delete": '${mediaService}/rooms/${id}'
|
|
4380
|
-
}
|
|
4380
|
+
},
|
|
4381
|
+
rowAction: [{
|
|
4382
|
+
actionType: 'Detail',
|
|
4383
|
+
type: 'RelationSelector',
|
|
4384
|
+
id: 'SelectorRoomOrganizations',
|
|
4385
|
+
title: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label'),
|
|
4386
|
+
label: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label')
|
|
4387
|
+
}]
|
|
4381
4388
|
},
|
|
4382
4389
|
TableRenderjobs: {
|
|
4383
4390
|
title: t('backoffice.table.renderjobs.title'),
|
|
@@ -9272,6 +9279,62 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
9272
9279
|
AUTH_0020: t('errorcodes._source.labels.error.AUTH_0020')
|
|
9273
9280
|
}
|
|
9274
9281
|
},
|
|
9282
|
+
SelectorRoomOrganizations: {
|
|
9283
|
+
type: 'RelationSelector',
|
|
9284
|
+
searchApiInterface: {
|
|
9285
|
+
read: '${authService}/v2/organizations'
|
|
9286
|
+
},
|
|
9287
|
+
apiInterface: {
|
|
9288
|
+
read: '${mediaService}/rooms/${roomId}/organizations',
|
|
9289
|
+
create: '${mediaService}/rooms/${roomId}/organizations/${organizationId}',
|
|
9290
|
+
"delete": '${mediaService}/rooms/${roomId}/organizations/${organizationId}'
|
|
9291
|
+
},
|
|
9292
|
+
configuration: {
|
|
9293
|
+
download: false,
|
|
9294
|
+
readListMapping: {
|
|
9295
|
+
type: 'query',
|
|
9296
|
+
map: [{
|
|
9297
|
+
sourceField: '_id',
|
|
9298
|
+
targetField: 'roomId'
|
|
9299
|
+
}]
|
|
9300
|
+
},
|
|
9301
|
+
deleteMapping: {
|
|
9302
|
+
type: 'query',
|
|
9303
|
+
map: [{
|
|
9304
|
+
sourceField: '_id',
|
|
9305
|
+
targetField: 'roomId'
|
|
9306
|
+
}, {
|
|
9307
|
+
sourceField: 'relatedId',
|
|
9308
|
+
targetField: 'organizationId'
|
|
9309
|
+
}]
|
|
9310
|
+
},
|
|
9311
|
+
createMapping: {
|
|
9312
|
+
type: 'query',
|
|
9313
|
+
map: [{
|
|
9314
|
+
sourceField: '_id',
|
|
9315
|
+
targetField: 'roomId'
|
|
9316
|
+
}, {
|
|
9317
|
+
sourceField: 'relatedId',
|
|
9318
|
+
targetField: 'organizationId'
|
|
9319
|
+
}]
|
|
9320
|
+
},
|
|
9321
|
+
search: {
|
|
9322
|
+
fields: ['_id', 'displayName']
|
|
9323
|
+
},
|
|
9324
|
+
functionalities: {
|
|
9325
|
+
canDelete: true,
|
|
9326
|
+
canEdit: false
|
|
9327
|
+
},
|
|
9328
|
+
filter: {
|
|
9329
|
+
fields: ['_id', 'displayName'],
|
|
9330
|
+
type: 'default'
|
|
9331
|
+
},
|
|
9332
|
+
list: {
|
|
9333
|
+
title: ['displayName'],
|
|
9334
|
+
description: ['_id']
|
|
9335
|
+
}
|
|
9336
|
+
}
|
|
9337
|
+
},
|
|
9275
9338
|
MediaUploadOrganizationLogoMobile: {
|
|
9276
9339
|
type: 'MediaUpload',
|
|
9277
9340
|
size: 'medium',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.4.0-beta.
|
|
3
|
+
"version": "24.4.0-beta.33",
|
|
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": "456ddf439b4514b1f474ce3c24ecd9f27efc2af3"
|
|
54
54
|
}
|