not-options 0.2.7 → 0.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-options",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "not-* family options model in not- environment",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/fields/id.js CHANGED
@@ -1,11 +1,12 @@
1
1
  module.exports = {
2
- ui:{
3
- component: 'UITextfield',
4
- placeholder: 'идентификатор настройки',
5
- label: 'Название'
6
- },
7
- model:{
8
- type: String,
9
- required: true
10
- }
2
+ parent: "not-node//codeName",
3
+ ui: {
4
+ component: "UITextfield",
5
+ placeholder: "идентификатор настройки",
6
+ label: "Название",
7
+ },
8
+ model: {
9
+ type: String,
10
+ required: true,
11
+ },
11
12
  };
@@ -1,15 +1,16 @@
1
- const Schema = require('mongoose').Schema;
1
+ const Schema = require("mongoose").Schema;
2
2
 
3
3
  module.exports = {
4
- model: {
5
- type: Schema.Types.Mixed,
6
- searchable: true,
7
- required: true
8
- },
9
- ui: {
10
- component: 'UITextarea',
11
- placeholder: 'Настройки',
12
- label: 'Значение',
13
- readonly: false
14
- },
4
+ parent: "not-node//requiredObject",
5
+ model: {
6
+ type: Schema.Types.Mixed,
7
+ searchable: true,
8
+ required: true,
9
+ },
10
+ ui: {
11
+ component: "UITextarea",
12
+ placeholder: "Настройки",
13
+ label: "Значение",
14
+ readonly: false,
15
+ },
15
16
  };