chore: pulled from main

This commit is contained in:
Mir Arif Hasan
2023-01-24 15:24:11 +06:00
parent d7b02da719
commit 6627514e88
17 changed files with 1381 additions and 3 deletions

View File

@@ -0,0 +1,24 @@
import { Field, ID, ObjectType } from '@nestjs/graphql';
@ObjectType()
export class UserSettings {
@Field(() => ID, {
description: 'ID of the User Setting',
})
id: string;
@Field(() => ID, {
description: 'ID of the user this setting belongs to',
})
userUid: string;
@Field({
description: 'Stringified JSON settings object',
})
properties: string; // JSON string of the userSettings object (format:[{ key: "background", value: "system" }, ...] ) which will be received from the client
@Field({
description: 'Last updated on',
})
updatedOn: Date;
}