This repository has been archived by the owner on Feb 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from Kerosene-Labs/BIL-4-create-fixed
BIL-4: adding initial landing page
- Loading branch information
Showing
2 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
74 changes: 74 additions & 0 deletions
74
src/main/svelte/src/lib/sdk/models/GetRecurringExpenseEventCreatorsResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* API Documentation | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: 1.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { mapValues } from '../runtime'; | ||
import type { RecurringExpenseEventCreator } from './RecurringExpenseEventCreator'; | ||
import { | ||
RecurringExpenseEventCreatorFromJSON, | ||
RecurringExpenseEventCreatorFromJSONTyped, | ||
RecurringExpenseEventCreatorToJSON, | ||
RecurringExpenseEventCreatorToJSONTyped, | ||
} from './RecurringExpenseEventCreator'; | ||
|
||
/** | ||
* | ||
* @export | ||
* @interface GetRecurringExpenseEventCreatorsResponse | ||
*/ | ||
export interface GetRecurringExpenseEventCreatorsResponse { | ||
/** | ||
* | ||
* @type {Array<RecurringExpenseEventCreator>} | ||
* @memberof GetRecurringExpenseEventCreatorsResponse | ||
*/ | ||
recurringExpenseEventCreators: Array<RecurringExpenseEventCreator>; | ||
} | ||
|
||
/** | ||
* Check if a given object implements the GetRecurringExpenseEventCreatorsResponse interface. | ||
*/ | ||
export function instanceOfGetRecurringExpenseEventCreatorsResponse(value: object): value is GetRecurringExpenseEventCreatorsResponse { | ||
if (!('recurringExpenseEventCreators' in value) || value['recurringExpenseEventCreators'] === undefined) return false; | ||
return true; | ||
} | ||
|
||
export function GetRecurringExpenseEventCreatorsResponseFromJSON(json: any): GetRecurringExpenseEventCreatorsResponse { | ||
return GetRecurringExpenseEventCreatorsResponseFromJSONTyped(json, false); | ||
} | ||
|
||
export function GetRecurringExpenseEventCreatorsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRecurringExpenseEventCreatorsResponse { | ||
if (json == null) { | ||
return json; | ||
} | ||
return { | ||
|
||
'recurringExpenseEventCreators': ((json['recurringExpenseEventCreators'] as Array<any>).map(RecurringExpenseEventCreatorFromJSON)), | ||
}; | ||
} | ||
|
||
export function GetRecurringExpenseEventCreatorsResponseToJSON(json: any): GetRecurringExpenseEventCreatorsResponse { | ||
return GetRecurringExpenseEventCreatorsResponseToJSONTyped(json, false); | ||
} | ||
|
||
export function GetRecurringExpenseEventCreatorsResponseToJSONTyped(value?: GetRecurringExpenseEventCreatorsResponse | null, ignoreDiscriminator: boolean = false): any { | ||
if (value == null) { | ||
return value; | ||
} | ||
|
||
return { | ||
|
||
'recurringExpenseEventCreators': ((value['recurringExpenseEventCreators'] as Array<any>).map(RecurringExpenseEventCreatorToJSON)), | ||
}; | ||
} | ||
|
93 changes: 93 additions & 0 deletions
93
src/main/svelte/src/lib/sdk/models/RecurringExpenseEventCreator.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* API Documentation | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: 1.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { mapValues } from '../runtime'; | ||
/** | ||
* | ||
* @export | ||
* @interface RecurringExpenseEventCreator | ||
*/ | ||
export interface RecurringExpenseEventCreator { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof RecurringExpenseEventCreator | ||
*/ | ||
id: string; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof RecurringExpenseEventCreator | ||
*/ | ||
recursEveryCalendarDay: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof RecurringExpenseEventCreator | ||
*/ | ||
amount: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof RecurringExpenseEventCreator | ||
*/ | ||
description: string; | ||
} | ||
|
||
/** | ||
* Check if a given object implements the RecurringExpenseEventCreator interface. | ||
*/ | ||
export function instanceOfRecurringExpenseEventCreator(value: object): value is RecurringExpenseEventCreator { | ||
if (!('id' in value) || value['id'] === undefined) return false; | ||
if (!('recursEveryCalendarDay' in value) || value['recursEveryCalendarDay'] === undefined) return false; | ||
if (!('amount' in value) || value['amount'] === undefined) return false; | ||
if (!('description' in value) || value['description'] === undefined) return false; | ||
return true; | ||
} | ||
|
||
export function RecurringExpenseEventCreatorFromJSON(json: any): RecurringExpenseEventCreator { | ||
return RecurringExpenseEventCreatorFromJSONTyped(json, false); | ||
} | ||
|
||
export function RecurringExpenseEventCreatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecurringExpenseEventCreator { | ||
if (json == null) { | ||
return json; | ||
} | ||
return { | ||
|
||
'id': json['id'], | ||
'recursEveryCalendarDay': json['recursEveryCalendarDay'], | ||
'amount': json['amount'], | ||
'description': json['description'], | ||
}; | ||
} | ||
|
||
export function RecurringExpenseEventCreatorToJSON(json: any): RecurringExpenseEventCreator { | ||
return RecurringExpenseEventCreatorToJSONTyped(json, false); | ||
} | ||
|
||
export function RecurringExpenseEventCreatorToJSONTyped(value?: RecurringExpenseEventCreator | null, ignoreDiscriminator: boolean = false): any { | ||
if (value == null) { | ||
return value; | ||
} | ||
|
||
return { | ||
|
||
'id': value['id'], | ||
'recursEveryCalendarDay': value['recursEveryCalendarDay'], | ||
'amount': value['amount'], | ||
'description': value['description'], | ||
}; | ||
} | ||
|