diff options
| author | Max Nanis | 2025-06-02 16:45:21 +0700 |
|---|---|---|
| committer | Max Nanis | 2025-06-02 16:45:21 +0700 |
| commit | e6037b430935720ce60245ae36ecd3622e8a22bf (patch) | |
| tree | 13919b0f73729ad47a31e06bdd710f774d70cac0 /src/models/bucket.ts | |
| parent | 8caa77413ea372e5cbd2980a9922d701af359c04 (diff) | |
| download | panel-ui-e6037b430935720ce60245ae36ecd3622e8a22bf.tar.gz panel-ui-e6037b430935720ce60245ae36ecd3622e8a22bf.zip | |
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
Diffstat (limited to 'src/models/bucket.ts')
| -rw-r--r-- | src/models/bucket.ts | 32 |
1 files changed, 0 insertions, 32 deletions
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 |
