Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -579,12 +579,54 @@ request.Zipname is null
/// <param name="zip">
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </param>
/// <param name="zipname">
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </param>
/// <param name="runtime"></param>
/// <param name="environment">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,54 @@ public partial interface IFunctionsClient
/// <param name="zip">
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </param>
/// <param name="zipname">
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </param>
/// <param name="runtime"></param>
/// <param name="environment">
Expand Down
92 changes: 88 additions & 4 deletions src/libs/Neon/Generated/Neon.Models.FunctionDeployRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,57 @@ public sealed partial class FunctionDeployRequest
/// <summary>
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("zip")]
public byte[]? Zip { get; set; }

/// <summary>
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("zipname")]
public string? Zipname { get; set; }
Expand Down Expand Up @@ -55,12 +97,54 @@ public sealed partial class FunctionDeployRequest
/// <param name="zip">
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </param>
/// <param name="zipname">
/// Optional ZIP archive of the function source code. Omit to reuse the<br/>
/// latest version's bundle (a config-only change). Required for the<br/>
/// first deployment of a function.
/// first deployment of a function.<br/>
/// Place `index.mjs` or `index.js` at the archive root, without a<br/>
/// containing directory. If both exist, `index.mjs` is loaded. Export a<br/>
/// request handler function or an object with a `fetch` method. Use<br/>
/// `export default` for ESM or `module.exports` for CommonJS; prefer<br/>
/// `index.mjs` for ESM.<br/>
/// Upload JavaScript ready to run on Node.js 24. Compile TypeScript<br/>
/// before uploading. Bundle dependencies into the entry module, or<br/>
/// include the required modules and assets in the archive with their<br/>
/// relative paths preserved (including `node_modules` for external<br/>
/// packages). Node.js built-in modules do not need to be bundled.<br/>
/// The API does not transpile, bundle, or install dependencies.<br/>
/// The ZIP is limited to 32 MiB compressed and 128 MiB extracted, with<br/>
/// at most 32,768 entries and 64 MiB per file. Bundle large dependency<br/>
/// trees to keep the archive small. ZIPs larger than 32 MiB are rejected<br/>
/// with HTTP 413 before creating a deployment. The extracted-size,<br/>
/// entry-count, and per-file limits are enforced during the asynchronous<br/>
/// build; an accepted upload that exceeds them fails the build.<br/>
/// For example, a self-contained ESM bundle needs only `index.mjs`<br/>
/// at the ZIP root. The Neon CLI bundles source into this layout by<br/>
/// default; `neon function deploy --no-bundle` packages a prebuilt<br/>
/// directory or an entry file named `index.mjs` or `index.js`.
/// </param>
/// <param name="runtime"></param>
/// <param name="environment">
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Neon/Generated/Neon.Models.Role.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public sealed partial class Role
public bool? Protected { get; set; }

/// <summary>
/// Authentication method configured for this role: `password`, `oauth`, or `no_login`.<br/>
/// Authentication method configured for this role: `password`, `oauth`, `oidc`, or `no_login`.<br/>
/// Example: password
/// </summary>
/// <example>password</example>
Expand Down Expand Up @@ -84,7 +84,7 @@ public sealed partial class Role
/// Whether or not the role is system-protected
/// </param>
/// <param name="authenticationMethod">
/// Authentication method configured for this role: `password`, `oauth`, or `no_login`.<br/>
/// Authentication method configured for this role: `password`, `oauth`, `oidc`, or `no_login`.<br/>
/// Example: password
/// </param>
#if NET7_0_OR_GREATER
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Neon/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13690,7 +13690,7 @@
"type": "boolean"
},
"authentication_method": {
"description": "Authentication method configured for this role: `password`, `oauth`, or `no_login`.\n",
"description": "Authentication method configured for this role: `password`, `oauth`, `oidc`, or `no_login`.\n",
"type": "string",
"example": "password"
},
Expand Down Expand Up @@ -18278,7 +18278,7 @@
"zip": {
"type": "string",
"format": "binary",
"description": "Optional ZIP archive of the function source code. Omit to reuse the\nlatest version's bundle (a config-only change). Required for the\nfirst deployment of a function.\n"
"description": "Optional ZIP archive of the function source code. Omit to reuse the\nlatest version's bundle (a config-only change). Required for the\nfirst deployment of a function.\n\nPlace `index.mjs` or `index.js` at the archive root, without a\ncontaining directory. If both exist, `index.mjs` is loaded. Export a\nrequest handler function or an object with a `fetch` method. Use\n`export default` for ESM or `module.exports` for CommonJS; prefer\n`index.mjs` for ESM.\n\nUpload JavaScript ready to run on Node.js 24. Compile TypeScript\nbefore uploading. Bundle dependencies into the entry module, or\ninclude the required modules and assets in the archive with their\nrelative paths preserved (including `node_modules` for external\npackages). Node.js built-in modules do not need to be bundled.\nThe API does not transpile, bundle, or install dependencies.\nThe ZIP is limited to 32 MiB compressed and 128 MiB extracted, with\nat most 32,768 entries and 64 MiB per file. Bundle large dependency\ntrees to keep the archive small. ZIPs larger than 32 MiB are rejected\nwith HTTP 413 before creating a deployment. The extracted-size,\nentry-count, and per-file limits are enforced during the asynchronous\nbuild; an accepted upload that exceeds them fails the build.\n\nFor example, a self-contained ESM bundle needs only `index.mjs`\nat the ZIP root. The Neon CLI bundles source into this layout by\ndefault; `neon function deploy --no-bundle` packages a prebuilt\ndirectory or an entry file named `index.mjs` or `index.js`.\n"
},
"runtime": {
"type": "string",
Expand Down
Loading