chore: created shared-request model

This commit is contained in:
Balu Babu
2023-10-25 20:47:13 +05:30
parent 12f2840013
commit f149582a62

View File

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