Skip to content

Commit

Permalink
feat: update to track latest spec changes
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati authored Jul 2, 2023
2 parents d1bb8d9 + 791b2d8 commit c582321
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
7 changes: 1 addition & 6 deletions generated/models/DefaultEndpointSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
/* tslint:disable */
/* eslint-disable */

import type { PgSettingsData } from './PgSettingsData';

/**
* A collection of settings for a Neon endpoint
*/
export type DefaultEndpointSettings = {
pg_settings?: PgSettingsData;
};

export type DefaultEndpointSettings = Record<string, string>;
4 changes: 2 additions & 2 deletions generated/models/ProjectCreateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

import type { ComputeUnit } from './ComputeUnit';
import type { PgSettingsData } from './PgSettingsData';
import type { DefaultEndpointSettings } from './DefaultEndpointSettings';
import type { PgVersion } from './PgVersion';
import type { ProjectSettingsData } from './ProjectSettingsData';
import type { Provisioner } from './Provisioner';
Expand Down Expand Up @@ -51,7 +51,7 @@ export type ProjectCreateRequest = {
*
*/
region_id?: string;
default_endpoint_settings?: PgSettingsData;
default_endpoint_settings?: DefaultEndpointSettings;
pg_version?: PgVersion;
/**
* Whether or not passwords are stored for roles in the Neon project. Storing passwords facilitates access to Neon features that require authorization.
Expand Down
4 changes: 2 additions & 2 deletions generated/models/ProjectUpdateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* tslint:disable */
/* eslint-disable */

import type { PgSettingsData } from './PgSettingsData';
import type { DefaultEndpointSettings } from './DefaultEndpointSettings';
import type { ProjectSettingsData } from './ProjectSettingsData';

export type ProjectUpdateRequest = {
Expand All @@ -12,7 +12,7 @@ export type ProjectUpdateRequest = {
* The project name
*/
name?: string;
default_endpoint_settings?: PgSettingsData;
default_endpoint_settings?: DefaultEndpointSettings;
/**
* The number of seconds to retain the point-in-time restore (PITR) backup history for this project.
* The default is 604800 seconds (7 days).
Expand Down

0 comments on commit c582321

Please sign in to comment.