projects/netgrif-components-core/src/lib/resources/interface/case.ts
Object from Backend
Properties |
|
author |
author:
|
Type : Author
|
color |
color:
|
Type : string
|
Example: color-fg-amber-500 |
creationDate |
creationDate:
|
Type : NaeDate
|
Example: [ 2020, 3, 5, 11, 35, 34, 880000000 ] |
icon |
icon:
|
Type : string
|
Optional |
Example: home |
lastModified |
lastModified:
|
Type : NaeDate
|
Example: [ 2020, 3, 17, 7, 50, 32, 240000000 ] |
permissions |
permissions:
|
Type : Permissions
|
Example: {} |
petriNetId |
petriNetId:
|
Type : string
|
Example: 5e4cd5070a975a19858772aa |
petriNetObjectId |
petriNetObjectId:
|
Type : PetriNetObjectId
|
Example: { "timestamp": 1582093194, "machineIdentifier": 694106, "processIdentifier": 6533, "counter": 8866186, "time": 1582093194000, "date": 1582093194000, "timeSecond": 1582093194 } |
processIdentifier |
processIdentifier:
|
Type : string
|
Example: personal_information |
resetArcTokens |
resetArcTokens:
|
Type : object
|
Example: {} |
stringId |
stringId:
|
Type : string
|
Example: 5e4cd53c0a975a1985877b63 |
tasks |
tasks:
|
Type : Array<TaskPair>
|
Optional |
Set of TaskPair |
title |
title:
|
Type : string
|
Example: New instance - Personal information |
userRefs |
userRefs:
|
Type : UserRefs
|
Optional |
users |
users:
|
Type : UserPermissions
|
Optional |
Example: {} |
viewRoles |
viewRoles:
|
Type : Array<string>
|
Optional |
Example: [] |
visualId |
visualId:
|
Type : string
|
Example: PER-1669965980 |
import {Author} from './author';
import {PetriNetObjectId} from './petri-net-object-id';
import {ImmediateData} from './immediate-data';
import {NaeDate} from '../types/nae-date-type';
import {Permissions, UserPermissions, UserRefs} from '../../process/permissions';
import { TaskPair } from './task-pair';
/**
* Object from Backend
*/
export interface Case {
/**
* **Example:** [
* 2020,
* 3,
* 17,
* 7,
* 50,
* 32,
* 240000000
* ]
*/
lastModified: NaeDate;
/**
* **Example:** PER-1669965980
*/
visualId: string;
/**
* **Example:**
*
* {
* "timestamp": 1582093194,
* "machineIdentifier": 694106,
* "processIdentifier": 6533,
* "counter": 8866186,
* "time": 1582093194000,
* "date": 1582093194000,
* "timeSecond": 1582093194
* }
*/
petriNetObjectId: PetriNetObjectId;
/**
* **Example:** personal_information
*/
processIdentifier: string;
/**
* Uri node ID
* */
/**
* **Example:** New instance - Personal information
*/
title: string;
/**
* **Example:** color-fg-amber-500
*/
color: string;
/**
* **Example:** [
* 2020,
* 3,
* 5,
* 11,
* 35,
* 34,
* 880000000
* ]
*/
creationDate: NaeDate;
/**
* **Example:**
*
* [{
* "importId": "zoznam",
* "name": {
* "defaultValue": "Zoznam vozidiel",
* "translations": {}
* },
* "description": {
* "defaultValue": "Súbor obsahujúcizáznamy o vozidlách.",
* "translations": {}
* },
* "order": 0,
* "remote": false,
* "type": "file",
* "stringId": "zoznam"
* }]
*
*/
immediateData: Array<ImmediateData>;
/**
* **Example:** {
*
* "email": "example@netgrif.com",
*
* "fullName": "Example Netgrif"
*
* }
*/
author: Author;
/**
* **Example:** {}
*/
resetArcTokens: object;
/**
* **Example:** 5e4cd53c0a975a1985877b63
*/
stringId: string;
/**
* **Example:** 5e4cd5070a975a19858772aa
*/
petriNetId: string;
/**
* **Example:** home
*/
icon?: string;
/**
* **Example:** {}
*/
permissions: Permissions;
/**
* **Example:** {}
*/
users?: UserPermissions;
userRefs?: UserRefs;
/**
* **Example:** []
*/
viewRoles?: Array<string>;
/**
* Set of TaskPair
* */
tasks?: Array<TaskPair>;
}