chore(badges): save in-progress changes — background_image_path, cfg_json support, template form TS fix, view boolean fixes

This commit is contained in:
Scott Idem
2026-04-07 13:57:02 -04:00
parent 1e178c14e7
commit 34bf823987
5 changed files with 245 additions and 67 deletions

View File

@@ -4,6 +4,7 @@ export const editable_fields__event_badge_template = [
'logo_filename',
'logo_path',
'header_path',
'background_image_path',
'secondary_header_path',
'footer_path',
'header_row_1',

View File

@@ -15,6 +15,7 @@ export const properties_to_save = [
'logo_filename',
'logo_path',
'header_path',
'background_image_path',
'secondary_header_path',
'footer_path',
'header_row_1',
@@ -36,6 +37,8 @@ export const properties_to_save = [
'layout',
'style_filename',
'style_href',
'cfg_json',
'other_json',
'duplex',
'enable',
'hide',

View File

@@ -223,6 +223,7 @@ export interface Badge_template {
logo_path?: null | string;
header_path?: null | string;
background_image_path?: null | string;
secondary_header_path?: null | string;
footer_path?: null | string;
@@ -256,6 +257,7 @@ export interface Badge_template {
duplex?: null | number | boolean;
cfg_json?: null | string;
other_json?: null | string;
data_json?: null | string;
enable?: null | boolean;