diff options
| author | Max Nanis | 2025-05-28 04:41:37 +0100 |
|---|---|---|
| committer | Max Nanis | 2025-05-28 04:41:37 +0100 |
| commit | 8caa77413ea372e5cbd2980a9922d701af359c04 (patch) | |
| tree | 9341e2f70fab6b2678fdff53c002954ef69c7b3e /src/models/bucket.ts | |
| download | panel-ui-8caa77413ea372e5cbd2980a9922d701af359c04.tar.gz panel-ui-8caa77413ea372e5cbd2980a9922d701af359c04.zip | |
initial commit
Diffstat (limited to 'src/models/bucket.ts')
| -rw-r--r-- | src/models/bucket.ts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/models/bucket.ts b/src/models/bucket.ts new file mode 100644 index 0000000..a9419a6 --- /dev/null +++ b/src/models/bucket.ts @@ -0,0 +1,32 @@ +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 |
