Update def.ts
This commit is contained in:
parent
5d93bf527c
commit
8090429e9a
|
@ -374,6 +374,11 @@ export const PREF_DEF = {
|
|||
watermarkPresets: {
|
||||
accountDependent: true,
|
||||
default: [] as WatermarkPreset[],
|
||||
mergeStrategy: (a, b) => {
|
||||
const sameIdExists = a.some(x => b.some(y => x.id === y.id));
|
||||
if (sameIdExists) throw new Error();
|
||||
return a.concat(b);
|
||||
},
|
||||
},
|
||||
defaultWatermarkPresetId: {
|
||||
accountDependent: true,
|
||||
|
|
Loading…
Reference in New Issue