|
|
|
@ -19,13 +19,15 @@ properties: |
|
|
|
|
minimum: 0 |
|
|
|
|
exclusiveMinimum: true |
|
|
|
|
widgets: |
|
|
|
|
type: "[]gridwidget" |
|
|
|
|
type: array |
|
|
|
|
description: |- |
|
|
|
|
The set of `GridWidget`s selected for the grid |
|
|
|
|
|
|
|
|
|
# Conditions |
|
|
|
|
|
|
|
|
|
The widgets cannot overlap |
|
|
|
|
items: |
|
|
|
|
type: object |
|
|
|
|
createdAt: |
|
|
|
|
type: string |
|
|
|
|
format: date-time |
|
|
|
@ -39,72 +41,72 @@ properties: |
|
|
|
|
_links: |
|
|
|
|
type: object |
|
|
|
|
required: |
|
|
|
|
- self |
|
|
|
|
- page |
|
|
|
|
- self |
|
|
|
|
- page |
|
|
|
|
properties: |
|
|
|
|
updateImmediately: |
|
|
|
|
allOf: |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
Directly perform edits on this grid |
|
|
|
|
|
|
|
|
|
# Conditions |
|
|
|
|
|
|
|
|
|
**Permission**: depends on the page the grid is defined for |
|
|
|
|
readOnly: true |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
Directly perform edits on this grid |
|
|
|
|
|
|
|
|
|
# Conditions |
|
|
|
|
|
|
|
|
|
**Permission**: depends on the page the grid is defined for |
|
|
|
|
readOnly: true |
|
|
|
|
update: |
|
|
|
|
allOf: |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
Validate edits on the grid via a form resource before committing |
|
|
|
|
|
|
|
|
|
# Conditions |
|
|
|
|
|
|
|
|
|
**Permission**: depends on the page the grid is defined for |
|
|
|
|
readOnly: true |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
Validate edits on the grid via a form resource before committing |
|
|
|
|
|
|
|
|
|
# Conditions |
|
|
|
|
|
|
|
|
|
**Permission**: depends on the page the grid is defined for |
|
|
|
|
readOnly: true |
|
|
|
|
self: |
|
|
|
|
allOf: |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
This grid |
|
|
|
|
|
|
|
|
|
**Resource**: Grid |
|
|
|
|
readOnly: true |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
This grid |
|
|
|
|
|
|
|
|
|
**Resource**: Grid |
|
|
|
|
readOnly: true |
|
|
|
|
page: |
|
|
|
|
allOf: |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
The url of the page the grid is defined for |
|
|
|
|
|
|
|
|
|
**Resource**: url |
|
|
|
|
|
|
|
|
|
# Conditions |
|
|
|
|
|
|
|
|
|
The page cannot be changed after the creation |
|
|
|
|
- "$ref": "./link.yml" |
|
|
|
|
- description: |- |
|
|
|
|
The url of the page the grid is defined for |
|
|
|
|
|
|
|
|
|
**Resource**: url |
|
|
|
|
|
|
|
|
|
# Conditions |
|
|
|
|
|
|
|
|
|
The page cannot be changed after the creation |
|
|
|
|
example: |
|
|
|
|
_type: Grid |
|
|
|
|
id: 2 |
|
|
|
|
rowCount: 8 |
|
|
|
|
columnCount: 5 |
|
|
|
|
widgets: |
|
|
|
|
- _type: GridWidget |
|
|
|
|
identifier: time_entries_current_user |
|
|
|
|
startRow: 1 |
|
|
|
|
endRow: 8 |
|
|
|
|
startColumn: 1 |
|
|
|
|
endColumn: 3 |
|
|
|
|
- _type: GridWidget |
|
|
|
|
identifier: news |
|
|
|
|
startRow: 3 |
|
|
|
|
endRow: 8 |
|
|
|
|
startColumn: 4 |
|
|
|
|
endColumn: 5 |
|
|
|
|
- _type: GridWidget |
|
|
|
|
identifier: documents |
|
|
|
|
startRow: 1 |
|
|
|
|
endRow: 3 |
|
|
|
|
startColumn: 3 |
|
|
|
|
endColumn: 6 |
|
|
|
|
- _type: GridWidget |
|
|
|
|
identifier: time_entries_current_user |
|
|
|
|
startRow: 1 |
|
|
|
|
endRow: 8 |
|
|
|
|
startColumn: 1 |
|
|
|
|
endColumn: 3 |
|
|
|
|
- _type: GridWidget |
|
|
|
|
identifier: news |
|
|
|
|
startRow: 3 |
|
|
|
|
endRow: 8 |
|
|
|
|
startColumn: 4 |
|
|
|
|
endColumn: 5 |
|
|
|
|
- _type: GridWidget |
|
|
|
|
identifier: documents |
|
|
|
|
startRow: 1 |
|
|
|
|
endRow: 3 |
|
|
|
|
startColumn: 3 |
|
|
|
|
endColumn: 6 |
|
|
|
|
createdAt: '2018-12-03T16:58:30Z' |
|
|
|
|
updatedAt: '2018-12-13T19:36:40Z' |
|
|
|
|
_links: |
|
|
|
|