@itwin/core-common 5.8.0-dev.11 → 5.8.0-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/DbCloudContainerInfo.d.ts +4 -1
- package/lib/cjs/DbCloudContainerInfo.d.ts.map +1 -1
- package/lib/cjs/DbCloudContainerInfo.js.map +1 -1
- package/lib/esm/DbCloudContainerInfo.d.ts +4 -1
- package/lib/esm/DbCloudContainerInfo.d.ts.map +1 -1
- package/lib/esm/DbCloudContainerInfo.js.map +1 -1
- package/package.json +6 -6
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
export interface DbCloudContainerInfo {
|
|
10
10
|
/** The unique identifier of the container. */
|
|
11
11
|
readonly containerId: string;
|
|
12
|
-
/** The base URI for the container's cloud storage.
|
|
12
|
+
/** The base URI for the container's cloud storage.
|
|
13
|
+
* @note This value is intended to be frontend-safe. It must not contain credentials, signed query parameters (e.g. SAS tokens),
|
|
14
|
+
* or userinfo components. Callers should ensure only HTTPS URIs are used.
|
|
15
|
+
*/
|
|
13
16
|
readonly baseUri: string;
|
|
14
17
|
/** The type of cloud storage provider. */
|
|
15
18
|
readonly storageType: "azure" | "google";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DbCloudContainerInfo.d.ts","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,8CAA8C;IAC9C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B
|
|
1
|
+
{"version":3,"file":"DbCloudContainerInfo.d.ts","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,8CAA8C;IAC9C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,0CAA0C;IAC1C,QAAQ,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzC,qDAAqD;IACrD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,+FAA+F;IAC/F,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,8EAA8E;IAC9E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,wEAAwE;IACxE,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,gEAAgE;IAChE,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DbCloudContainerInfo.js","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module CloudStorage\r\n */\r\n\r\n/** Frontend-safe, serializable subset of cloud-hosted database container properties.\r\n * Contains only identification and configuration fields suitable for display in user interfaces,\r\n * without backend-only operational fields like access tokens, lock timeouts, or sync behavior.\r\n * @public\r\n */\r\nexport interface DbCloudContainerInfo {\r\n /** The unique identifier of the container. */\r\n readonly containerId: string;\r\n /** The base URI for the container's cloud storage. */\r\n readonly baseUri: string;\r\n /** The type of cloud storage provider. */\r\n readonly storageType: \"azure\" | \"google\";\r\n /** The name of the database within the container. */\r\n readonly dbName?: string;\r\n /** The range of acceptable versions of the database (semver range, e.g., \">=1.2.0 <2.0.0\"). */\r\n readonly version?: string;\r\n /** An alias for the container. Defaults to `containerId` if not specified. */\r\n readonly alias?: string;\r\n /** A user-friendly description of the container's contents. */\r\n readonly description?: string;\r\n /** Whether the container is public (does not require authorization). */\r\n readonly isPublic?: boolean;\r\n /** Whether the container is allowed to request a write lock. */\r\n readonly writeable?: boolean;\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"DbCloudContainerInfo.js","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module CloudStorage\r\n */\r\n\r\n/** Frontend-safe, serializable subset of cloud-hosted database container properties.\r\n * Contains only identification and configuration fields suitable for display in user interfaces,\r\n * without backend-only operational fields like access tokens, lock timeouts, or sync behavior.\r\n * @public\r\n */\r\nexport interface DbCloudContainerInfo {\r\n /** The unique identifier of the container. */\r\n readonly containerId: string;\r\n /** The base URI for the container's cloud storage.\r\n * @note This value is intended to be frontend-safe. It must not contain credentials, signed query parameters (e.g. SAS tokens),\r\n * or userinfo components. Callers should ensure only HTTPS URIs are used.\r\n */\r\n readonly baseUri: string;\r\n /** The type of cloud storage provider. */\r\n readonly storageType: \"azure\" | \"google\";\r\n /** The name of the database within the container. */\r\n readonly dbName?: string;\r\n /** The range of acceptable versions of the database (semver range, e.g., \">=1.2.0 <2.0.0\"). */\r\n readonly version?: string;\r\n /** An alias for the container. Defaults to `containerId` if not specified. */\r\n readonly alias?: string;\r\n /** A user-friendly description of the container's contents. */\r\n readonly description?: string;\r\n /** Whether the container is public (does not require authorization). */\r\n readonly isPublic?: boolean;\r\n /** Whether the container is allowed to request a write lock. */\r\n readonly writeable?: boolean;\r\n}\r\n"]}
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
export interface DbCloudContainerInfo {
|
|
10
10
|
/** The unique identifier of the container. */
|
|
11
11
|
readonly containerId: string;
|
|
12
|
-
/** The base URI for the container's cloud storage.
|
|
12
|
+
/** The base URI for the container's cloud storage.
|
|
13
|
+
* @note This value is intended to be frontend-safe. It must not contain credentials, signed query parameters (e.g. SAS tokens),
|
|
14
|
+
* or userinfo components. Callers should ensure only HTTPS URIs are used.
|
|
15
|
+
*/
|
|
13
16
|
readonly baseUri: string;
|
|
14
17
|
/** The type of cloud storage provider. */
|
|
15
18
|
readonly storageType: "azure" | "google";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DbCloudContainerInfo.d.ts","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,8CAA8C;IAC9C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B
|
|
1
|
+
{"version":3,"file":"DbCloudContainerInfo.d.ts","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,8CAA8C;IAC9C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,0CAA0C;IAC1C,QAAQ,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzC,qDAAqD;IACrD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,+FAA+F;IAC/F,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,8EAA8E;IAC9E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,wEAAwE;IACxE,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,gEAAgE;IAChE,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DbCloudContainerInfo.js","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module CloudStorage\r\n */\r\n\r\n/** Frontend-safe, serializable subset of cloud-hosted database container properties.\r\n * Contains only identification and configuration fields suitable for display in user interfaces,\r\n * without backend-only operational fields like access tokens, lock timeouts, or sync behavior.\r\n * @public\r\n */\r\nexport interface DbCloudContainerInfo {\r\n /** The unique identifier of the container. */\r\n readonly containerId: string;\r\n /** The base URI for the container's cloud storage. */\r\n readonly baseUri: string;\r\n /** The type of cloud storage provider. */\r\n readonly storageType: \"azure\" | \"google\";\r\n /** The name of the database within the container. */\r\n readonly dbName?: string;\r\n /** The range of acceptable versions of the database (semver range, e.g., \">=1.2.0 <2.0.0\"). */\r\n readonly version?: string;\r\n /** An alias for the container. Defaults to `containerId` if not specified. */\r\n readonly alias?: string;\r\n /** A user-friendly description of the container's contents. */\r\n readonly description?: string;\r\n /** Whether the container is public (does not require authorization). */\r\n readonly isPublic?: boolean;\r\n /** Whether the container is allowed to request a write lock. */\r\n readonly writeable?: boolean;\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"DbCloudContainerInfo.js","sourceRoot":"","sources":["../../src/DbCloudContainerInfo.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module CloudStorage\r\n */\r\n\r\n/** Frontend-safe, serializable subset of cloud-hosted database container properties.\r\n * Contains only identification and configuration fields suitable for display in user interfaces,\r\n * without backend-only operational fields like access tokens, lock timeouts, or sync behavior.\r\n * @public\r\n */\r\nexport interface DbCloudContainerInfo {\r\n /** The unique identifier of the container. */\r\n readonly containerId: string;\r\n /** The base URI for the container's cloud storage.\r\n * @note This value is intended to be frontend-safe. It must not contain credentials, signed query parameters (e.g. SAS tokens),\r\n * or userinfo components. Callers should ensure only HTTPS URIs are used.\r\n */\r\n readonly baseUri: string;\r\n /** The type of cloud storage provider. */\r\n readonly storageType: \"azure\" | \"google\";\r\n /** The name of the database within the container. */\r\n readonly dbName?: string;\r\n /** The range of acceptable versions of the database (semver range, e.g., \">=1.2.0 <2.0.0\"). */\r\n readonly version?: string;\r\n /** An alias for the container. Defaults to `containerId` if not specified. */\r\n readonly alias?: string;\r\n /** A user-friendly description of the container's contents. */\r\n readonly description?: string;\r\n /** Whether the container is public (does not require authorization). */\r\n readonly isPublic?: boolean;\r\n /** Whether the container is allowed to request a write lock. */\r\n readonly writeable?: boolean;\r\n}\r\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/core-common",
|
|
3
|
-
"version": "5.8.0-dev.
|
|
3
|
+
"version": "5.8.0-dev.12",
|
|
4
4
|
"description": "iTwin.js components common to frontend and backend",
|
|
5
5
|
"main": "lib/cjs/core-common.js",
|
|
6
6
|
"module": "lib/esm/core-common.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"js-base64": "^3.6.1"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@itwin/core-bentley": "5.8.0-dev.
|
|
31
|
-
"@itwin/core-geometry": "5.8.0-dev.
|
|
30
|
+
"@itwin/core-bentley": "5.8.0-dev.12",
|
|
31
|
+
"@itwin/core-geometry": "5.8.0-dev.12"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@itwin/eslint-plugin": "^6.0.0",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"rimraf": "^6.0.1",
|
|
43
43
|
"typescript": "~5.6.2",
|
|
44
44
|
"vitest": "^3.0.6",
|
|
45
|
-
"@itwin/
|
|
46
|
-
"@itwin/
|
|
47
|
-
"@itwin/core-geometry": "5.8.0-dev.
|
|
45
|
+
"@itwin/build-tools": "5.8.0-dev.12",
|
|
46
|
+
"@itwin/core-bentley": "5.8.0-dev.12",
|
|
47
|
+
"@itwin/core-geometry": "5.8.0-dev.12"
|
|
48
48
|
},
|
|
49
49
|
"nyc": {
|
|
50
50
|
"extends": "./node_modules/@itwin/build-tools/.nycrc",
|