First realish round of updates by Gemini...
This commit is contained in:
23
src/lib/ae_core/core__account.ts
Normal file
23
src/lib/ae_core/core__account.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
export interface Account {
|
||||
id: string;
|
||||
// id_random: string;
|
||||
account_id: string;
|
||||
account_id_random: string;
|
||||
|
||||
code?: string;
|
||||
name: string;
|
||||
short_name?: null|string;
|
||||
description?: null|string;
|
||||
|
||||
enable: null|boolean;
|
||||
enable_from?: null|Date;
|
||||
enable_to?: null|Date;
|
||||
|
||||
hide?: null|boolean;
|
||||
priority?: null|boolean
|
||||
sort?: null|number;
|
||||
group?: null|string;
|
||||
notes?: null|string;
|
||||
created_on: Date;
|
||||
updated_on?: null|Date;
|
||||
}
|
||||
50
src/lib/ae_core/core__site.ts
Normal file
50
src/lib/ae_core/core__site.ts
Normal file
@@ -0,0 +1,50 @@
|
||||
export interface Site {
|
||||
id: string;
|
||||
// id_random: string;
|
||||
site_id: string;
|
||||
site_id_random?: string;
|
||||
|
||||
code?: string;
|
||||
|
||||
account_id: string;
|
||||
account_id_random?: string;
|
||||
|
||||
name: string;
|
||||
description?: null|string;
|
||||
|
||||
restrict_access?: null|boolean;
|
||||
access_key?: null|string;
|
||||
access_code_kv_json?: null|string;
|
||||
|
||||
logo_path?: null|string;
|
||||
logo_bg_color?: null|string; // Not really used currently.
|
||||
// background_image_path?: null|string; // Legacy field
|
||||
// background_bg_color?: null|string; // Legacy field
|
||||
title?: null|string;
|
||||
|
||||
// header_html?: null|string; // Legacy field
|
||||
// header_css?: null|string; // Legacy field
|
||||
// header_image_path?: null|string; // Legacy field
|
||||
// header_image_bg_color?: null|string; // Legacy field
|
||||
// body_html?: null|string; // Legacy field
|
||||
tagline?: null|string;
|
||||
// site_header_h1?: null|string; // Legacy field
|
||||
// site_header_h2?: null|string; // Legacy field
|
||||
style_href?: null|string; // Legacy field
|
||||
// script_src?: null|string; // Legacy field
|
||||
google_tracking_id?: null|string;
|
||||
|
||||
cfg_json?: null|string; // key value config json
|
||||
|
||||
enable: null|boolean;
|
||||
enable_from?: null|Date;
|
||||
enable_to?: null|Date;
|
||||
|
||||
hide?: null|boolean;
|
||||
priority?: null|boolean
|
||||
sort?: null|number;
|
||||
group?: null|string;
|
||||
notes?: null|string;
|
||||
created_on: Date;
|
||||
updated_on?: null|Date;
|
||||
}
|
||||
20
src/lib/ae_core/core__site_domain.ts
Normal file
20
src/lib/ae_core/core__site_domain.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export interface Site_Domain {
|
||||
id: string;
|
||||
// id_random: string;
|
||||
site_id: string;
|
||||
site_id_random?: string;
|
||||
|
||||
fqdn: string;
|
||||
access_key?: null|string;
|
||||
required_referrer?: null|string;
|
||||
valid_for?: null|number; // In hours
|
||||
|
||||
enable: null|boolean;
|
||||
hide?: null|boolean;
|
||||
priority?: null|boolean
|
||||
sort?: null|number;
|
||||
group?: null|string;
|
||||
notes?: null|string;
|
||||
created_on: Date;
|
||||
updated_on?: null|Date;
|
||||
}
|
||||
Reference in New Issue
Block a user