You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Skip generating types and produce pure JavaScript code. Setting this to true will also change .ts extension to .js where applicable.
/// </summary>
publicboolSkipTypes{get;set;}=false;
/// <summary>
/// Keep TypeScript models unique, meaning, models will same fields and types will be merged into one model with name of the last model. Significantly reduces number of generated models.
/// </summary>
publicboolUniqueModels{get;set;}=false;
/// <summary>
/// Name of the header to use for XSRF token. Set to null to skip.
/// </summary>
publicstring?XsrfTokenHeaderName{get;set;}=null;
/// <summary>
/// Export event sources create functions for streaming events.
/// </summary>
publicboolExportEventSources{get;set;}=true;
/// <summary>
/// List if custom imports to add to the generated code. It adds line to a file. Use full expression like `import { MyType } from './my-type';`
/// </summary>
publicstring[]CustomImports{get;set;}=[];
/// <summary>
/// List if custom headers to add to the each request in generated code. Header key is automatically quoted if it doesn't contain quotes.
/// When true, include PostgreSQL schema name in the generated type names to avoid name collisions. Set to false to simplify type names when no name collisions are expected.
/// </summary>
publicboolIncludeSchemaInNames{get;set;}=false;
/// <summary>
/// Expression to parse error response. Default is "await response.json()".