src/app/models/LicenceState.ts
Properties |
| addRecord |
addRecord:
|
Type : boolean
|
|
Defined in src/app/models/LicenceState.ts:14
|
| editor_rows_allowed |
editor_rows_allowed:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:4
|
| editRecord |
editRecord:
|
Type : boolean
|
|
Defined in src/app/models/LicenceState.ts:13
|
| fileUpload |
fileUpload:
|
Type : boolean
|
|
Defined in src/app/models/LicenceState.ts:12
|
| history_rows_allowed |
history_rows_allowed:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:6
|
| lineage_daily_limit |
lineage_daily_limit:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:9
|
| stage_rows_allowed |
stage_rows_allowed:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:5
|
| submit_rows_limit |
submit_rows_limit:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:7
|
| tables_in_library_limit |
tables_in_library_limit:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:10
|
| users_allowed |
users_allowed:
|
Type : number
|
| Optional |
|
Defined in src/app/models/LicenceState.ts:2
|
| viewbox |
viewbox:
|
Type : boolean
|
|
Defined in src/app/models/LicenceState.ts:11
|
| viewbox_limit |
viewbox_limit:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:8
|
| viewer_rows_allowed |
viewer_rows_allowed:
|
Type : number
|
|
Defined in src/app/models/LicenceState.ts:3
|
export interface LicenceState {
users_allowed?: number
viewer_rows_allowed: number
editor_rows_allowed: number
stage_rows_allowed: number
history_rows_allowed: number
submit_rows_limit: number
viewbox_limit: number
lineage_daily_limit: number
tables_in_library_limit: number //If limit is 5 that means first 5 tables in the list will be UNLOCKED, rest of it LOCKED
viewbox: boolean
fileUpload: boolean
editRecord: boolean
addRecord: boolean
}
/**
* Legacy-format decode table only - newly-issued keys use a named
* LicenceFeaturesObject instead (see decodeLicenceFeatures.ts). Kept
* unchanged and permanently, since every already-issued key still relies
* on these ordinal positions to decode.
*
* '-' means unset
* '0' disabled
* '1' enabled
* '10' number when not toggling position
* ',' separator
*
* Example:
* coding: '10,15,15,-,15,5,35,1,1,3,1,1,1,1'
*/
export enum LicenceFeaturesMap {
viewer_rows_allowed = 0,
editor_rows_allowed = 1,
stage_rows_allowed = 2,
history_rows_allowed = 3,
submit_rows_limit = 4,
tables_in_library_limit = 5,
viewbox = 6,
viewbox_limit = 7,
lineage_daily_limit = 8,
fileUpload = 9,
editRecord = 10,
addRecord = 11
}