|
|
@ -9245,76 +9245,73 @@ |
|
|
|
"description": "Model for Formula", |
|
|
|
"description": "Model for Formula", |
|
|
|
"examples": [ |
|
|
|
"examples": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"deleted": "string", |
|
|
|
"id": "fm_1lo8wqtvvipdns", |
|
|
|
"fk_column_id": "string", |
|
|
|
"fk_column_id": "cl_h2micb4jdnmsh1", |
|
|
|
"formula": "string", |
|
|
|
"formula": "CONCAT(\"FOO\", {{cl_c5knoi4xs4sfpt}})", |
|
|
|
"formula_raw": "string", |
|
|
|
"formula_raw": "CONCAT(\"FOO\", {Title})", |
|
|
|
"id": "string", |
|
|
|
"error": "Error Message shows here" |
|
|
|
"order": "string", |
|
|
|
|
|
|
|
"type": "string", |
|
|
|
|
|
|
|
"virtual": true |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
"title": "Formula Model", |
|
|
|
|
|
|
|
"type": "object", |
|
|
|
"properties": { |
|
|
|
"properties": { |
|
|
|
"deleted": { |
|
|
|
"id": { |
|
|
|
"type": "string" |
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
|
|
|
|
"description": "Unique ID" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"fk_column_id": { |
|
|
|
"fk_column_id": { |
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
"description": "Foreign Key to Column" |
|
|
|
"description": "Foreign Key to Column" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"formula": { |
|
|
|
"formula": { |
|
|
|
"type": "string" |
|
|
|
"type": "string", |
|
|
|
|
|
|
|
"description": "Formula with column ID replaced", |
|
|
|
|
|
|
|
"example": "CONCAT(\"FOO\", {{cl_c5knoi4xs4sfpt}})" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"formula_raw": { |
|
|
|
"formula_raw": { |
|
|
|
"type": "string" |
|
|
|
"type": "string", |
|
|
|
}, |
|
|
|
"description": "Original Formula inputted in UI", |
|
|
|
"id": { |
|
|
|
"example": "CONCAT(\"FOO\", {Title})" |
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
|
|
|
|
"description": "Unique ID" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"order": { |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"type": { |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
"virtual": { |
|
|
|
"error": { |
|
|
|
"$ref": "#/components/schemas/Bool" |
|
|
|
"type": "string", |
|
|
|
|
|
|
|
"description": "Error Message" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
"title": "Formula Model", |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
"FormulaColumnReq": { |
|
|
|
"FormulaColumnReq": { |
|
|
|
"description": "Model for Formula Column Request", |
|
|
|
"description": "Model for Formula Column Request", |
|
|
|
"examples": [ |
|
|
|
"examples": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"formula": "string", |
|
|
|
"formula": "CONCAT(\"FOO\", {{cl_c5knoi4xs4sfpt}})", |
|
|
|
"formula_raw": "string", |
|
|
|
"formula_raw": "CONCAT(\"FOO\", {Title})", |
|
|
|
"title": "string", |
|
|
|
"title": "Formula", |
|
|
|
"uidt": "Formula" |
|
|
|
"uidt": "Formula" |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
"title": "Formula Column Request Model", |
|
|
|
|
|
|
|
"type": "object", |
|
|
|
"properties": { |
|
|
|
"properties": { |
|
|
|
"formula": { |
|
|
|
"formula": { |
|
|
|
"type": "string" |
|
|
|
"type": "string", |
|
|
|
|
|
|
|
"description": "Formula with column ID replaced" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"formula_raw": { |
|
|
|
"formula_raw": { |
|
|
|
"type": "string" |
|
|
|
"type": "string", |
|
|
|
|
|
|
|
"description": "Original Formula inputted in UI" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"title": { |
|
|
|
"title": { |
|
|
|
"maxLength": 255, |
|
|
|
"maxLength": 255, |
|
|
|
"minLength": 1, |
|
|
|
"minLength": 1, |
|
|
|
"type": "string" |
|
|
|
"type": "string", |
|
|
|
|
|
|
|
"description": "Formula Title" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"uidt": { |
|
|
|
"uidt": { |
|
|
|
"enum": ["Formula"], |
|
|
|
"enum": ["Formula"], |
|
|
|
"type": "string" |
|
|
|
"type": "string", |
|
|
|
|
|
|
|
"description": "UI Data Type" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
"title": "Formula Column Request Model", |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
"Gallery": { |
|
|
|
"Gallery": { |
|
|
|
"description": "Model for Gallery", |
|
|
|
"description": "Model for Gallery", |
|
|
|