Variable: PreferencesSubjects
Makaio Framework / services-core/preferences/storage-namespace / PreferencesSubjects
Variable: PreferencesSubjects
Section titled “Variable: PreferencesSubjects”
constPreferencesSubjects:BusSubjects<FlatSubjectDefinitions<"preferences", {delete: {request:ZodObject<{category:ZodString;key:ZodObject<{context:ZodOptional<ZodString>;scope:ZodString;surface:ZodOptional<ZodEnum<{app: …;ui: …; }>>;viewport:ZodOptional<ZodEnum<{desktop: …;mobile: …;tablet: …; }>>; },$strip>; },$strip>;response:ZodObject<{success:ZodBoolean; },$strip>; };get: {request:ZodObject<{category:ZodString;key:ZodObject<{context:ZodOptional<ZodString>;scope:ZodString;surface:ZodOptional<ZodEnum<{app: …;ui: …; }>>;viewport:ZodOptional<ZodEnum<{desktop: …;mobile: …;tablet: …; }>>; },$strip>; },$strip>;response:ZodObject<{value:ZodNullable<ZodType<unknown,unknown,$ZodTypeInternals<unknown,unknown>>>; },$strip>; };list: {request:ZodObject<{category:ZodOptional<ZodString>;key:ZodOptional<ZodObject<{context:ZodOptional<ZodOptional<…>>;scope:ZodOptional<ZodString>;surface:ZodOptional<ZodOptional<…>>;viewport:ZodOptional<ZodOptional<…>>; },$strip>>; },$strip>;response:ZodObject<{items:ZodArray<ZodObject<{category:ZodString;key:ZodObject<{context: …;scope: …;surface: …;viewport: …; },$strip>;updatedAt:ZodNumber;value:ZodType<unknown,unknown,$ZodTypeInternals<…, …>>; },$strip>>; },$strip>; };set: {request:ZodObject<{category:ZodString;key:ZodObject<{context:ZodOptional<ZodString>;scope:ZodString;surface:ZodOptional<ZodEnum<{app: …;ui: …; }>>;viewport:ZodOptional<ZodEnum<{desktop: …;mobile: …;tablet: …; }>>; },$strip>;value:ZodType<unknown,unknown,$ZodTypeInternals<unknown,unknown>>; },$strip>;response:ZodObject<{success:ZodBoolean; },$strip>; }; }>,"preferences"> =PreferencesNamespace.subjects
Defined in: ../../../packages/services/core/src/preferences/storage-namespace.ts:25
Preferences subjects for bus communication.