/* tslint:disable */ /* eslint-disable */ /** * My API * API documentation for my Laravel app * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export */ export const PageType = { Home: 'home', Page: 'page', Blog: 'blog' } as const; export type PageType = typeof PageType[keyof typeof PageType]; export function instanceOfPageType(value: any): boolean { for (const key in PageType) { if (Object.prototype.hasOwnProperty.call(PageType, key)) { if (PageType[key as keyof typeof PageType] === value) { return true; } } } return false; } export function PageTypeFromJSON(json: any): PageType { return PageTypeFromJSONTyped(json, false); } export function PageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageType { return json as PageType; } export function PageTypeToJSON(value?: PageType | null): any { return value as any; } export function PageTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): PageType { return value as PageType; }