@limetech/lime-web-components 5.6.0 → 5.7.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.
@@ -9,8 +9,7 @@ import { LimeType } from '../../limetype';
9
9
  * - Go to the table view of persons.
10
10
  * - Filter everyone who should be included in the marketing activity.
11
11
  * - Select 'Bulk create objects' form the action menu.
12
- * - Select marketing activity as type of content.
13
- * - Fill out the rest of the form and click 'create'.
12
+ * - Fill out the form and click 'create'.
14
13
  * - A toast message appears and gives you 5 seconds to undo the action before it creates the corresponding task.
15
14
  * - Another toast message will inform you after the task is completed.
16
15
  * - If the task ended successful you can go to the participant table view and check the result.
@@ -24,7 +23,7 @@ import { LimeType } from '../../limetype';
24
23
  * {
25
24
  * "id": "limeobject.bulk-create-dialog",
26
25
  * "params": {
27
- * "relations": [<LIST OF CREATABLE, RELATED FIELDS (AS STRINGS)>]
26
+ * "relation": "<name of relation>"
28
27
  * }
29
28
  * }
30
29
  * ],
@@ -46,7 +45,15 @@ export declare class BulkCreateDialogCommand {
46
45
  filter: Expression;
47
46
  /**
48
47
  * A list of relation names that are possible to create from the limetype
48
+ *
49
+ * @deprecated The dialog no longer supports multiple relations to be
50
+ * picked from. Use the new {@link BulkCreateDialogCommand.relation}
51
+ * property instead
49
52
  */
50
53
  relations: string[];
54
+ /**
55
+ * The name of the relation on the limetype to create objects of
56
+ */
57
+ relation: string;
51
58
  }
52
59
  //# sourceMappingURL=bulk-create-dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-create-dialog.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/bulk-create-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAGa,uBAAuB;IAChC;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAC;IAE1B;;;OAGG;IACI,MAAM,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACI,SAAS,EAAE,MAAM,EAAE,CAAM;CACnC"}
1
+ {"version":3,"file":"bulk-create-dialog.d.ts","sourceRoot":"","sources":["../../../src/limeobject/commands/bulk-create-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAGa,uBAAuB;IAChC;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAC;IAE1B;;;OAGG;IACI,MAAM,EAAE,UAAU,CAAC;IAE1B;;;;;;OAMG;IACI,SAAS,EAAE,MAAM,EAAE,CAAM;IAEhC;;OAEG;IACI,QAAQ,EAAE,MAAM,CAAC;CAC3B"}
@@ -9,8 +9,7 @@ import { Command } from '../../commandbus';
9
9
  * - Go to the table view of persons.
10
10
  * - Filter everyone who should be included in the marketing activity.
11
11
  * - Select 'Bulk create objects' form the action menu.
12
- * - Select marketing activity as type of content.
13
- * - Fill out the rest of the form and click 'create'.
12
+ * - Fill out the form and click 'create'.
14
13
  * - A toast message appears and gives you 5 seconds to undo the action before it creates the corresponding task.
15
14
  * - Another toast message will inform you after the task is completed.
16
15
  * - If the task ended successful you can go to the participant table view and check the result.
@@ -24,7 +23,7 @@ import { Command } from '../../commandbus';
24
23
  * {
25
24
  * "id": "limeobject.bulk-create-dialog",
26
25
  * "params": {
27
- * "relations": [<LIST OF CREATABLE, RELATED FIELDS (AS STRINGS)>]
26
+ * "relation": "<name of relation>"
28
27
  * }
29
28
  * }
30
29
  * ],
@@ -38,6 +37,10 @@ let BulkCreateDialogCommand = class BulkCreateDialogCommand {
38
37
  constructor() {
39
38
  /**
40
39
  * A list of relation names that are possible to create from the limetype
40
+ *
41
+ * @deprecated The dialog no longer supports multiple relations to be
42
+ * picked from. Use the new {@link BulkCreateDialogCommand.relation}
43
+ * property instead
41
44
  */
42
45
  this.relations = [];
43
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-web-components",
3
- "version": "5.6.0",
3
+ "version": "5.7.0",
4
4
  "description": "Lime Web Components",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -37,11 +37,11 @@
37
37
  "@commitlint/config-conventional": "^16.2.4",
38
38
  "@microsoft/api-extractor": "^7.34.4",
39
39
  "@types/jest": "^27.5.0",
40
- "@typescript-eslint/eslint-plugin": "^5.57.0",
41
- "@typescript-eslint/parser": "^5.57.0",
40
+ "@typescript-eslint/eslint-plugin": "^5.59.0",
41
+ "@typescript-eslint/parser": "^5.59.0",
42
42
  "commitizen": "^4.3.0",
43
43
  "cz-conventional-changelog": "^3.3.0",
44
- "eslint": "^8.37.0",
44
+ "eslint": "^8.38.0",
45
45
  "eslint-config-prettier": "^8.8.0",
46
46
  "eslint-plugin-ban": "^1.6.0",
47
47
  "eslint-plugin-prefer-arrow": "^1.2.3",