Skip to content
Snippets Groups Projects
Commit 1a9aa43d authored by michael.minelli's avatar michael.minelli
Browse files

AssignmentHelper => Update validate for optional properties of immutables

parent 84243677
No related branches found
No related tags found
No related merge requests found
...@@ -16,8 +16,10 @@ class SharedAssignmentHelper { ...@@ -16,8 +16,10 @@ class SharedAssignmentHelper {
immutable: { immutable: {
elements: { elements: {
properties : { properties : {
path: { type: 'string' }
},
optionalProperties: {
description: { type: 'string' }, description: { type: 'string' },
path : { type: 'string' },
isDirectory: { type: 'boolean' } isDirectory: { type: 'boolean' }
} }
} }
......
interface ImmutableFileDescriptor { interface ImmutableFileDescriptor {
description: string, description?: string,
path: string, path: string,
isDirectory: boolean, isDirectory?: boolean,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment