feat: bringing shortcodes from central to selfhost

This commit is contained in:
ankitsridhar16
2023-02-09 12:07:26 +05:30
committed by Balu Babu
parent 757d1add5b
commit 056a5df4e1
5 changed files with 972 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { Field, ID, ObjectType } from '@nestjs/graphql';
@ObjectType()
export class Shortcode {
@Field(() => ID, {
description: 'The shortcode. 12 digit alphanumeric.',
})
id: string;
@Field({
description: 'JSON string representing the request data',
})
request: string;
@Field({
description: 'Timestamp of when the Shortcode was created',
})
createdOn: Date;
}