config: device: Add presigned app filters
This commit is contained in:
parent
7f62b4cd24
commit
ff9eeec190
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,7 @@ import path from 'path'
|
|||
import YAML from 'yaml'
|
||||
|
||||
import { readFile } from '../util/fs'
|
||||
import { FilterMode, Filters, parseFilters, PartFilters, SerializedFilters } from './filters'
|
||||
import { FilterMode, Filters, parseFilters, SerializedFilters } from './filters'
|
||||
|
||||
export interface DeviceInfo {
|
||||
name: string
|
||||
|
@ -44,6 +44,7 @@ export interface DeviceConfig {
|
|||
props: Filters
|
||||
overlays: Filters
|
||||
partitions: Filters
|
||||
presigned: Filters
|
||||
files: Filters
|
||||
}
|
||||
}
|
||||
|
@ -79,6 +80,10 @@ const DEFAULT_CONFIG_BASE = {
|
|||
props: structuredClone(EMPTY_FILTERS),
|
||||
overlays: structuredClone(EMPTY_FILTERS),
|
||||
partitions: structuredClone(EMPTY_FILTERS),
|
||||
presigned: {
|
||||
...structuredClone(EMPTY_FILTERS),
|
||||
mode: FilterMode.Include,
|
||||
},
|
||||
files: structuredClone(EMPTY_FILTERS),
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue