chore: moved shared-requests into shortcode module

This commit is contained in:
Balu Babu
2023-11-06 13:08:59 +05:30
parent 8fe1483de5
commit 1b00ff6c9e
13 changed files with 339 additions and 1060 deletions

View File

@@ -3,7 +3,7 @@ import { Field, ID, ObjectType } from '@nestjs/graphql';
@ObjectType()
export class Shortcode {
@Field(() => ID, {
description: 'The shortcode. 12 digit alphanumeric.',
description: 'The 12 digit alphanumeric code',
})
id: string;
@@ -13,7 +13,13 @@ export class Shortcode {
request: string;
@Field({
description: 'Timestamp of when the Shortcode was created',
description: 'JSON string representing the properties for an embed',
nullable: true,
})
properties: string;
@Field({
description: 'Timestamp of when the SharedRequest was created',
})
createdOn: Date;
}