Files
dc/client/src/app/free-tier.config.ts
T
sead ed40df6295
Build / Build-and-ng-test (pull_request) Successful in 4m3s
Build / Build-and-test-development (pull_request) Failing after 11m54s
Lighthouse Checks / lighthouse (24.5.0) (pull_request) Successful in 18m35s
fix: guard CSV upload with fileUpload licence flag
2026-04-02 17:40:16 +02:00

37 lines
1.3 KiB
TypeScript

import { LicenceState } from './models/LicenceState'
/**
* These properties Will be applied when NO KEY FREE TIER is active
* and when key is FREE TIER it is used for limit values that are not set
* props from the LICENCE KEY is will be used to override these values
*
* @param users_allowed - users allowed IF NO key is provided
* @param viewer_rows_allowed ---------
* @param editor_rows_allowed ---- Infinity is unlimited
* @param stage_rows_allowed ----- positive number is rows limit
* @param history_rows_allowed ---
* @param submit_rows_limit -----------
* @param viewbox_limit - number of viewboxes allowed to open
* @param lineage_daily_limit - dailiy limit of opening lineage diagrams
* @param tables_in_library_limit - limit of shown tables in library lists
* @param viewbox - enable/disable Viewbox feature
* @param fileUpload - enable/disable File Upload in table feature
* @param editRecord - enable/disable Edit Record feature
* @param addRecord - enable/disable Add Record feature
*/
export const freeTierConfig: LicenceState = {
users_allowed: 1,
viewer_rows_allowed: 15,
editor_rows_allowed: 15,
stage_rows_allowed: Infinity,
history_rows_allowed: 15,
submit_rows_limit: 5,
viewbox_limit: 1,
lineage_daily_limit: 3,
tables_in_library_limit: 35,
viewbox: true,
fileUpload: false,
editRecord: true,
addRecord: true
}