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/CashoutMethod.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/CashoutMethod.ts')
| -rw-r--r-- | src/models/CashoutMethod.ts | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/models/CashoutMethod.ts b/src/models/CashoutMethod.ts deleted file mode 100644 index 8da88ac..0000000 --- a/src/models/CashoutMethod.ts +++ /dev/null @@ -1,33 +0,0 @@ -import {CashoutMethodOut} from "@/api/models/cashout-method-out.ts" - -export class CashoutMethod implements CashoutMethodOut { - id: string; // uuid - currency: string; // 3-letter all caps - originalCurrency: string; // 3-letter all caps - data: any; - description: string; // html description - imageUrl: string; // cloudfront cdn - maxValue: number; // pixels int - minValue: number; // pixels int - name: string; - type: string; // TANGO - extId: string; // U179271 - productId?: any; - productUserId?: any; - - constructor(data) { - this.originalCurrency = data.original_currency; - this.currency = data.currency; - this.data = data.data; - this.description = data.description; - this.extId = data.ext_id; - this.id = data.id; - this.imageUrl = data.image_url; - this.maxValue = data.max_value; - this.minValue = data.min_value; - this.name = data.name; - this.type = data.type; - - } - -}
\ No newline at end of file |
