UNPKG

@vectorize-io/vectorize-client

Version:
67 lines (56 loc) 1.6 kB
/* tslint:disable */ /* eslint-disable */ /** * Vectorize API * API for Vectorize services (Beta) * * The version of the OpenAPI document: 0.1.2 * * * 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'; /** * Configuration for Supabase connector * @export * @interface SUPABASEConfig */ export interface SUPABASEConfig { /** * Table Name. Example: Enter <table name> or <schema>.<table name> * @type {string} * @memberof SUPABASEConfig */ table: string; } /** * Check if a given object implements the SUPABASEConfig interface. */ export function instanceOfSUPABASEConfig(value: object): value is SUPABASEConfig { if (!('table' in value) || value['table'] === undefined) return false; return true; } export function SUPABASEConfigFromJSON(json: any): SUPABASEConfig { return SUPABASEConfigFromJSONTyped(json, false); } export function SUPABASEConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SUPABASEConfig { if (json == null) { return json; } return { 'table': json['table'], }; } export function SUPABASEConfigToJSON(json: any): SUPABASEConfig { return SUPABASEConfigToJSONTyped(json, false); } export function SUPABASEConfigToJSONTyped(value?: SUPABASEConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'table': value['table'], }; }