Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
Merge pull request #136 from Kerosene-Labs/BIL-4-create-fixed
Browse files Browse the repository at this point in the history
BIL-4: adding initial landing page
  • Loading branch information
hlafaille authored Dec 29, 2024
2 parents f4ca1aa + 77a55ca commit b61e1b0
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 0 deletions.
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 src/main/svelte/src/lib/sdk/models/RecurringExpenseEventCreator.ts
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'],
};
}

0 comments on commit b61e1b0

Please sign in to comment.