@cratis/arc 18.7.19 → 18.7.21
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/commands/Command.ts +25 -16
- package/dist/cjs/commands/Command.d.ts +0 -1
- package/dist/cjs/commands/Command.d.ts.map +1 -1
- package/dist/cjs/commands/Command.js +20 -10
- package/dist/cjs/commands/Command.js.map +1 -1
- package/dist/cjs/reflection/PropertyDescriptor.d.ts +2 -1
- package/dist/cjs/reflection/PropertyDescriptor.d.ts.map +1 -1
- package/dist/cjs/reflection/PropertyDescriptor.js +3 -1
- package/dist/cjs/reflection/PropertyDescriptor.js.map +1 -1
- package/dist/esm/commands/Command.d.ts +0 -1
- package/dist/esm/commands/Command.d.ts.map +1 -1
- package/dist/esm/commands/Command.js +20 -10
- package/dist/esm/commands/Command.js.map +1 -1
- package/dist/esm/reflection/PropertyDescriptor.d.ts +2 -1
- package/dist/esm/reflection/PropertyDescriptor.d.ts.map +1 -1
- package/dist/esm/reflection/PropertyDescriptor.js +3 -1
- package/dist/esm/reflection/PropertyDescriptor.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/reflection/PropertyDescriptor.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/arc",
|
|
3
|
-
"version": "18.7.
|
|
3
|
+
"version": "18.7.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Cratis",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,6 +65,6 @@
|
|
|
65
65
|
"up": "yarn g:up"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@cratis/fundamentals": "^7.
|
|
68
|
+
"@cratis/fundamentals": "^7.4.0"
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -11,7 +11,8 @@ export class PropertyDescriptor {
|
|
|
11
11
|
* Initializes a new instance of the {@link PropertyDescriptor} class.
|
|
12
12
|
* @param name Name of the property.
|
|
13
13
|
* @param type Type of the property.
|
|
14
|
+
* @param isOptional Whether the property is optional (nullable).
|
|
14
15
|
*/
|
|
15
|
-
constructor(readonly name: string, readonly type: Constructor) {
|
|
16
|
+
constructor(readonly name: string, readonly type: Constructor, readonly isOptional: boolean = false) {
|
|
16
17
|
}
|
|
17
18
|
}
|