Merge pull request #39 from Microsoft/omarmstr/permission_enum_fix
permission enum fix
This commit is contained in:
Коммит
a6f4320d79
|
@ -94,6 +94,7 @@ export const validateReportLoad = validate(loadSchema, {
|
|||
export interface IReportCreateConfiguration {
|
||||
accessToken: string;
|
||||
datasetId: string;
|
||||
settings?: ISettings;
|
||||
}
|
||||
|
||||
export const validateCreateReport = validate(createReportSchema);
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
},
|
||||
"permissions": {
|
||||
"type": "number",
|
||||
"enum": [0, 1, 2, 3],
|
||||
"enum": [0, 1, 2, 4, 7],
|
||||
"default": 0,
|
||||
"invalidMessage": "permissions property is invalid"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче