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 {
|
export interface IReportCreateConfiguration {
|
||||||
accessToken: string;
|
accessToken: string;
|
||||||
datasetId: string;
|
datasetId: string;
|
||||||
|
settings?: ISettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const validateCreateReport = validate(createReportSchema);
|
export const validateCreateReport = validate(createReportSchema);
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"enum": [0, 1, 2, 3],
|
"enum": [0, 1, 2, 4, 7],
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"invalidMessage": "permissions property is invalid"
|
"invalidMessage": "permissions property is invalid"
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче