Skip to content

Commit

Permalink
ci: update webda.module.json
Browse files Browse the repository at this point in the history
  • Loading branch information
loopingz committed Feb 4, 2024
1 parent c3b4de1 commit d23a4a1
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 32 deletions.
43 changes: 17 additions & 26 deletions packages/core/webda.module.json
Original file line number Diff line number Diff line change
Expand Up @@ -893,41 +893,15 @@
"cookie": {
"type": "object",
"properties": {
"expires": {
"type": "string",
"format": "date-time",
"description": "Specifies the `Date` object to be the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.1`Expires` `Set-Cookie` attribute } . By default, no expiration is set, and most clients will consider this a \"non-persistent cookie\" and will delete it on a condition like exiting a web browser application.\n\n*Note* the {@link https://tools.ietf.org/html/rfc6265#section-5.3cookie storage model specification } states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this, so if both are set, they should point to the same date and time."
},
"httpOnly": {
"type": "boolean",
"description": "Specifies the boolean value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.6`HttpOnly` `Set-Cookie` attribute } . When truthy, the `HttpOnly` attribute is set, otherwise it is not. By default, the `HttpOnly` attribute is not set.\n\n*Note* be careful when setting this to true, as compliant clients will not allow client-side JavaScript to see the cookie in `document.cookie`.",
"default": true
},
"maxAge": {
"type": "number",
"description": "Specifies the number (in seconds) to be the value for the `Max-Age` `Set-Cookie` attribute. The given number will be converted to an integer by rounding down. By default, no maximum age is set.\n\n*Note* the {@link https://tools.ietf.org/html/rfc6265#section-5.3cookie storage model specification } states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this, so if both are set, they should point to the same date and time.",
"minimum": 1,
"default": "86400 * 7"
},
"path": {
"type": "string",
"description": "Specifies the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.4`Path` `Set-Cookie` attribute } . By default, the path is considered the \"default path\".",
"default": "/"
},
"sameSite": {
"type": "string",
"enum": [
"none",
"strict",
"lax"
],
"description": "Specifies the boolean or string to be the value for the {@link https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7`SameSite` `Set-Cookie` attribute } .\n\n- `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.\n- `false` will not set the `SameSite` attribute.\n- `'lax'` will set the `SameSite` attribute to Lax for lax same site enforcement.\n- `'strict'` will set the `SameSite` attribute to Strict for strict same site enforcement. - `'none'` will set the SameSite attribute to None for an explicit cross-site cookie.\n\nMore information about the different enforcement levels can be found in {@link https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7the specification } .\n\n*note* This is an attribute that has not yet been fully standardized, and may change in the future. This also means many clients may ignore this attribute until they understand it.",
"default": "lax"
},
"secure": {
"type": "boolean",
"description": "If not set will be true if https request and false otherwise If defined it will be set to the value"
},
"domain": {
"anyOf": [
{
Expand All @@ -940,6 +914,23 @@
],
"description": "if true domain will be set to the request hostname if undefined no domain will be output (browser will use the current domain and only this one) if a string is provided it will be used as the domain\n\nWhen provided a domain is setting the cookie to be available to all subdomains"
},
"maxAge": {
"type": "number",
"minimum": 1,
"default": "86400 * 7"
},
"path": {
"type": "string",
"default": "/"
},
"httpOnly": {
"type": "boolean",
"default": true
},
"secure": {
"type": "boolean",
"description": "If not set will be true if https request and false otherwise If defined it will be set to the value"
},
"name": {
"type": "string",
"description": "Name of the cookie"
Expand Down
40 changes: 34 additions & 6 deletions packages/gcp/webda.module.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
"retry": {
"anyOf": [
{
"$ref": "#/definitions/Partial%3Cclass-657338214-735-3044-657338214-0-15050%3E"
"$ref": "#/definitions/Partial%3Cclass-657338214-822-3488-657338214-0-17392%3E"
},
{
"type": "null"
Expand Down Expand Up @@ -391,7 +391,16 @@
"currentRetryAttempt": {
"type": "number"
},
"shouldRetryFn": {}
"shouldRetryFn": {},
"maxRetryDelay": {
"type": "number"
},
"retryDelayMultiplier": {
"type": "number"
},
"totalTimeout": {
"type": "number"
}
}
}
}
Expand Down Expand Up @@ -585,11 +594,22 @@
"type": "string",
"const": "SCHEMA_MISMATCH"
},
{
"type": "string",
"const": "IN_TRANSIT_LOCATION_RESTRICTION"
},
{
"type": "null"
}
],
"description": "BigQueryConfig state"
},
"useTableSchema": {
"type": [
"boolean",
"null"
],
"description": "BigQueryConfig useTableSchema"
}
},
"description": "Properties of a BigQueryConfig."
Expand Down Expand Up @@ -773,6 +793,10 @@
"type": "string",
"const": "NOT_FOUND"
},
{
"type": "string",
"const": "IN_TRANSIT_LOCATION_RESTRICTION"
},
{
"type": "null"
}
Expand Down Expand Up @@ -1215,7 +1239,7 @@
}
}
},
"Partial<class-657338214-735-3044-657338214-0-15050>": {
"Partial<class-657338214-822-3488-657338214-0-17392>": {
"type": "object",
"properties": {
"retryCodes": {
Expand Down Expand Up @@ -1269,7 +1293,9 @@
"retryDelayMultiplier",
"maxRetryDelayMillis"
]
}
},
"shouldRetryFn": {},
"getResumptionRequestFn": {}
}
},
"google.pubsub.v1.BigQueryConfig.State": {
Expand All @@ -1279,7 +1305,8 @@
1,
2,
3,
4
4,
5
],
"description": "State enum."
},
Expand All @@ -1289,7 +1316,8 @@
0,
1,
2,
3
3,
4
],
"description": "State enum."
},
Expand Down

0 comments on commit d23a4a1

Please sign in to comment.