From e6037b430935720ce60245ae36ecd3622e8a22bf Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Mon, 2 Jun 2025 16:45:21 +0700 Subject: Updated openapi generator to use the latest version (camelCase to underscore - which respects API models). Updating views to use the new swagger definitions. AnswerSlice as a datastore alongside Questions TS interface --- src/models/bucket.ts | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/models/bucket.ts (limited to 'src/models/bucket.ts') diff --git a/src/models/bucket.ts b/src/models/bucket.ts deleted file mode 100644 index a9419a6..0000000 --- a/src/models/bucket.ts +++ /dev/null @@ -1,32 +0,0 @@ -import {SoftPairBucket} from "@/api/models/soft-pair-bucket.ts" - -export class SoftPairBucketClass implements SoftPairBucket { - readonly id: string; - readonly uri: string; - readonly category: any | null; - readonly contents: any; - readonly eligibility: any; - readonly missingQuestions: any | null; - readonly loi: any; - readonly payout: any; - - constructor(data: { - id: string, - uri: string, - category: any | null, - contents: any, - eligibility: any, - missingQuestions: any | null, - loi: any, - payout: any - }) { - this.id = data.id; - this.uri = data.uri; - this.category = data.category; - this.contents = data.contents; - this.eligibility = data.eligibility; - this.missingQuestions = data.missingQuestions; - this.loi = data.loi; - this.payout = data.payout; - } -} \ No newline at end of file -- cgit v1.2.3