@itwin/ecschema-rpcinterface-impl 3.0.0-extension.0 → 3.0.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,99 @@
1
1
  # Change Log - @itwin/ecschema-rpcinterface-impl
2
2
 
3
- This log was last generated on Tue, 21 Sep 2021 21:06:40 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 24 Feb 2022 15:26:55 GMT and should not be manually modified.
4
+
5
+ ## 3.0.1
6
+ Thu, 24 Feb 2022 15:26:55 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 3.0.0
11
+ Mon, 24 Jan 2022 14:00:52 GMT
12
+
13
+ ### Updates
14
+
15
+ - fix code for breaking change to .query() method
16
+ - Upgrade target to ES2019
17
+ - fix ecsql row format
18
+ - use new @itwin package names
19
+ - rename to @itwin/ecschema-rpcinterface-impl
20
+ - remove ClientRequestContext.current
21
+ - Lock down and update version numbers so docs will build.
22
+
23
+ ## 2.19.28
24
+ Wed, 12 Jan 2022 14:52:38 GMT
25
+
26
+ _Version update only_
27
+
28
+ ## 2.19.27
29
+ Wed, 05 Jan 2022 20:07:20 GMT
30
+
31
+ _Version update only_
32
+
33
+ ## 2.19.26
34
+ Wed, 08 Dec 2021 20:54:52 GMT
35
+
36
+ _Version update only_
37
+
38
+ ## 2.19.25
39
+ Fri, 03 Dec 2021 20:05:49 GMT
40
+
41
+ _Version update only_
42
+
43
+ ## 2.19.24
44
+ Mon, 29 Nov 2021 18:44:31 GMT
45
+
46
+ _Version update only_
47
+
48
+ ## 2.19.23
49
+ Mon, 22 Nov 2021 20:41:39 GMT
50
+
51
+ _Version update only_
52
+
53
+ ## 2.19.22
54
+ Wed, 17 Nov 2021 01:23:26 GMT
55
+
56
+ _Version update only_
57
+
58
+ ## 2.19.21
59
+ Wed, 10 Nov 2021 10:58:24 GMT
60
+
61
+ _Version update only_
62
+
63
+ ## 2.19.20
64
+ Fri, 29 Oct 2021 16:14:22 GMT
65
+
66
+ _Version update only_
67
+
68
+ ## 2.19.19
69
+ Mon, 25 Oct 2021 16:16:25 GMT
70
+
71
+ _Version update only_
72
+
73
+ ## 2.19.18
74
+ Thu, 21 Oct 2021 20:59:44 GMT
75
+
76
+ _Version update only_
77
+
78
+ ## 2.19.17
79
+ Thu, 14 Oct 2021 21:19:43 GMT
80
+
81
+ _Version update only_
82
+
83
+ ## 2.19.16
84
+ Mon, 11 Oct 2021 17:37:46 GMT
85
+
86
+ _Version update only_
87
+
88
+ ## 2.19.15
89
+ Fri, 08 Oct 2021 16:44:23 GMT
90
+
91
+ _Version update only_
92
+
93
+ ## 2.19.14
94
+ Fri, 01 Oct 2021 13:07:03 GMT
95
+
96
+ _Version update only_
4
97
 
5
98
  ## 2.19.13
6
99
  Tue, 21 Sep 2021 21:06:40 GMT
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright © 2017-2021 Bentley Systems, Incorporated. All rights reserved.
3
+ Copyright © 2017-2022 Bentley Systems, Incorporated. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
@@ -42,7 +42,7 @@ class ECSchemaRpcImpl extends ecschema_rpcinterface_common_1.ECSchemaRpcInterfac
42
42
  // Iterate over the rows returned from AsyncIterableIterator. The custom Query overload returns
43
43
  // a typed row instance instead of any.
44
44
  const schemaNameQuery = `SELECT Name as schemaName, VersionMajor as read, VersionWrite as write, VersionMinor as minor FROM main.meta.ECSchemaDef`;
45
- for await (const row of iModelDb.query(schemaNameQuery, undefined, core_common_1.QueryRowFormat.UseJsPropertyNames)) {
45
+ for await (const row of iModelDb.query(schemaNameQuery, undefined, { rowFormat: core_common_1.QueryRowFormat.UseJsPropertyNames })) {
46
46
  const schemaDefinitionRow = row;
47
47
  const schemaFullName = schemaDefinitionRow.schemaName;
48
48
  const read = Number(schemaDefinitionRow.read);
@@ -1 +1 @@
1
- {"version":3,"file":"ECSchemaRpcImpl.js","sourceRoot":"","sources":["../../src/ECSchemaRpcImpl.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oDAAgF;AAEhF;;;+FAG+F;AAC/F,sFAA2E;AAY3E;;;GAGG;AACH,MAAa,eAAgB,SAAQ,mDAAoB;IACvD;;OAEG;IACI,MAAM,CAAC,QAAQ;QACpB,wBAAU,CAAC,YAAY,CAAC,mDAAoB,EAAE,eAAe,CAAC,CAAC;IACjE,CAAC;IAED;;;;;OAKG;IACK,KAAK,CAAC,iBAAiB,CAAC,UAA0B;QACxD,OAAO,IAAI,OAAO,CAAmB,CAAC,OAAO,EAAE,EAAE;YAC/C,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACa,KAAK,CAAC,aAAa,CAAC,UAA0B;QAE5D,MAAM,cAAc,GAAqB,EAAE,CAAC;QAC5C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAE1D,+FAA+F;QAC/F,uCAAuC;QACvC,MAAM,eAAe,GAAG,0HAA0H,CAAC;QACnJ,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,eAAe,EAAE,SAAS,EAAE,4BAAc,CAAC,kBAAkB,CAAC,EAAE;YACrG,MAAM,mBAAmB,GAAG,GAAoB,CAAC;YACjD,MAAM,cAAc,GAAG,mBAAmB,CAAC,UAAU,CAAC;YACtD,MAAM,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,KAAK,GAAG,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;YAChD,MAAM,KAAK,GAAG,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;YAChD,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;SACnE;QACD,OAAO,cAAc,CAAC;IACxB,CAAC;IAED;;;;;;OAMG;IACa,KAAK,CAAC,aAAa,CAAC,UAA0B,EAAE,UAAkB;QAChF,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;YACrD,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;SAChE;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAC1D,MAAM,YAAY,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAE7D,IAAI,YAAY,CAAC,KAAK,KAAK,SAAS,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;SAC7C;QAED,IAAI,YAAY,CAAC,MAAM,KAAK,SAAS,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;SAC3C;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACF;AAtED,0CAsEC","sourcesContent":["import * as backend from \"@itwin/core-backend\";\r\nimport { IModelRpcProps, QueryRowFormat, RpcManager } from \"@itwin/core-common\";\r\nimport { SchemaKeyProps, SchemaProps } from \"@itwin/ecschema-metadata\";\r\n/*---------------------------------------------------------------------------------------------\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\nimport { ECSchemaRpcInterface } from \"@itwin/ecschema-rpcinterface-common\";\r\n\r\n/**\r\n * Defines the interface how the rows of the iModel query look like.\r\n */\r\ninterface SchemaNameRow {\r\n schemaName: string;\r\n read: string;\r\n write: string;\r\n minor: string;\r\n}\r\n\r\n/**\r\n * Implementation of the SchemaRpcInterface.\r\n * @internal\r\n */\r\nexport class ECSchemaRpcImpl extends ECSchemaRpcInterface {\r\n /**\r\n * Registers the RPC interface with its corresponding implementation class.\r\n */\r\n public static register() {\r\n RpcManager.registerImpl(ECSchemaRpcInterface, ECSchemaRpcImpl);\r\n }\r\n\r\n /**\r\n * Gets an iModelDb instance. It is important that the database has been opened before\r\n * otherwise it can't be found.\r\n * @param tokenProps The iModelToken props that hold the information which iModel is used.\r\n * @returns Instance of IModelDb.\r\n */\r\n private async getIModelDatabase(tokenProps: IModelRpcProps): Promise<backend.IModelDb> {\r\n return new Promise<backend.IModelDb>((resolve) => {\r\n resolve(backend.IModelDb.findByKey(tokenProps.key));\r\n });\r\n }\r\n\r\n /**\r\n * Returns an array of SchemaKeyProps that exists in the current iModel context. The client can call\r\n * SchemaKey.fromJson() to parse the props to a SchemaKey.\r\n * @param tokenProps The iModelToken props that hold the information which iModel is used.\r\n * @returns An array of SchemaKeyProps.\r\n */\r\n public override async getSchemaKeys(tokenProps: IModelRpcProps): Promise<SchemaKeyProps[]> {\r\n\r\n const schemaKeyProps: SchemaKeyProps[] = [];\r\n const iModelDb = await this.getIModelDatabase(tokenProps);\r\n\r\n // Iterate over the rows returned from AsyncIterableIterator. The custom Query overload returns\r\n // a typed row instance instead of any.\r\n const schemaNameQuery = `SELECT Name as schemaName, VersionMajor as read, VersionWrite as write, VersionMinor as minor FROM main.meta.ECSchemaDef`;\r\n for await (const row of iModelDb.query(schemaNameQuery, undefined, QueryRowFormat.UseJsPropertyNames)) {\r\n const schemaDefinitionRow = row as SchemaNameRow;\r\n const schemaFullName = schemaDefinitionRow.schemaName;\r\n const read = Number(schemaDefinitionRow.read);\r\n const write = Number(schemaDefinitionRow.write);\r\n const minor = Number(schemaDefinitionRow.minor);\r\n schemaKeyProps.push({ name: schemaFullName, read, write, minor });\r\n }\r\n return schemaKeyProps;\r\n }\r\n\r\n /**\r\n * Gets the schema JSON for the current iModel context and returns the schema as a SchemaProps which\r\n * the client can call Schema.fromJson() to return a Schema.\r\n * @param tokenProps The iModelToken props that hold the information which iModel is used.\r\n * @param schemaName The name of the schema that shall be returned.\r\n * @returns The SchemaProps.\r\n */\r\n public override async getSchemaJSON(tokenProps: IModelRpcProps, schemaName: string): Promise<SchemaProps> {\r\n if (schemaName === undefined || schemaName.length < 1) {\r\n throw new Error(`Schema name must not be undefined or empty.`);\r\n }\r\n\r\n const iModelDb = await this.getIModelDatabase(tokenProps);\r\n const schemaResult = iModelDb.nativeDb.getSchema(schemaName);\r\n\r\n if (schemaResult.error !== undefined) {\r\n throw new Error(schemaResult.error.message);\r\n }\r\n\r\n if (schemaResult.result === undefined) {\r\n throw new Error(\"Schema does not exists\");\r\n }\r\n\r\n return JSON.parse(schemaResult.result);\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"ECSchemaRpcImpl.js","sourceRoot":"","sources":["../../src/ECSchemaRpcImpl.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oDAAgF;AAEhF;;;+FAG+F;AAC/F,sFAA2E;AAY3E;;;GAGG;AACH,MAAa,eAAgB,SAAQ,mDAAoB;IACvD;;OAEG;IACI,MAAM,CAAC,QAAQ;QACpB,wBAAU,CAAC,YAAY,CAAC,mDAAoB,EAAE,eAAe,CAAC,CAAC;IACjE,CAAC;IAED;;;;;OAKG;IACK,KAAK,CAAC,iBAAiB,CAAC,UAA0B;QACxD,OAAO,IAAI,OAAO,CAAmB,CAAC,OAAO,EAAE,EAAE;YAC/C,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACa,KAAK,CAAC,aAAa,CAAC,UAA0B;QAE5D,MAAM,cAAc,GAAqB,EAAE,CAAC;QAC5C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAE1D,+FAA+F;QAC/F,uCAAuC;QACvC,MAAM,eAAe,GAAG,0HAA0H,CAAC;QACnJ,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,eAAe,EAAE,SAAS,EAAE,EAAC,SAAS,EAAE,4BAAc,CAAC,kBAAkB,EAAC,CAAC,EAAE;YAClH,MAAM,mBAAmB,GAAG,GAAoB,CAAC;YACjD,MAAM,cAAc,GAAG,mBAAmB,CAAC,UAAU,CAAC;YACtD,MAAM,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,KAAK,GAAG,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;YAChD,MAAM,KAAK,GAAG,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;YAChD,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;SACnE;QACD,OAAO,cAAc,CAAC;IACxB,CAAC;IAED;;;;;;OAMG;IACa,KAAK,CAAC,aAAa,CAAC,UAA0B,EAAE,UAAkB;QAChF,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;YACrD,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;SAChE;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAC1D,MAAM,YAAY,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAE7D,IAAI,YAAY,CAAC,KAAK,KAAK,SAAS,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;SAC7C;QAED,IAAI,YAAY,CAAC,MAAM,KAAK,SAAS,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;SAC3C;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACF;AAtED,0CAsEC","sourcesContent":["import * as backend from \"@itwin/core-backend\";\r\nimport { IModelRpcProps, QueryRowFormat, RpcManager } from \"@itwin/core-common\";\r\nimport { SchemaKeyProps, SchemaProps } from \"@itwin/ecschema-metadata\";\r\n/*---------------------------------------------------------------------------------------------\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\nimport { ECSchemaRpcInterface } from \"@itwin/ecschema-rpcinterface-common\";\r\n\r\n/**\r\n * Defines the interface how the rows of the iModel query look like.\r\n */\r\ninterface SchemaNameRow {\r\n schemaName: string;\r\n read: string;\r\n write: string;\r\n minor: string;\r\n}\r\n\r\n/**\r\n * Implementation of the SchemaRpcInterface.\r\n * @internal\r\n */\r\nexport class ECSchemaRpcImpl extends ECSchemaRpcInterface {\r\n /**\r\n * Registers the RPC interface with its corresponding implementation class.\r\n */\r\n public static register() {\r\n RpcManager.registerImpl(ECSchemaRpcInterface, ECSchemaRpcImpl);\r\n }\r\n\r\n /**\r\n * Gets an iModelDb instance. It is important that the database has been opened before\r\n * otherwise it can't be found.\r\n * @param tokenProps The iModelToken props that hold the information which iModel is used.\r\n * @returns Instance of IModelDb.\r\n */\r\n private async getIModelDatabase(tokenProps: IModelRpcProps): Promise<backend.IModelDb> {\r\n return new Promise<backend.IModelDb>((resolve) => {\r\n resolve(backend.IModelDb.findByKey(tokenProps.key));\r\n });\r\n }\r\n\r\n /**\r\n * Returns an array of SchemaKeyProps that exists in the current iModel context. The client can call\r\n * SchemaKey.fromJson() to parse the props to a SchemaKey.\r\n * @param tokenProps The iModelToken props that hold the information which iModel is used.\r\n * @returns An array of SchemaKeyProps.\r\n */\r\n public override async getSchemaKeys(tokenProps: IModelRpcProps): Promise<SchemaKeyProps[]> {\r\n\r\n const schemaKeyProps: SchemaKeyProps[] = [];\r\n const iModelDb = await this.getIModelDatabase(tokenProps);\r\n\r\n // Iterate over the rows returned from AsyncIterableIterator. The custom Query overload returns\r\n // a typed row instance instead of any.\r\n const schemaNameQuery = `SELECT Name as schemaName, VersionMajor as read, VersionWrite as write, VersionMinor as minor FROM main.meta.ECSchemaDef`;\r\n for await (const row of iModelDb.query(schemaNameQuery, undefined, {rowFormat: QueryRowFormat.UseJsPropertyNames})) {\r\n const schemaDefinitionRow = row as SchemaNameRow;\r\n const schemaFullName = schemaDefinitionRow.schemaName;\r\n const read = Number(schemaDefinitionRow.read);\r\n const write = Number(schemaDefinitionRow.write);\r\n const minor = Number(schemaDefinitionRow.minor);\r\n schemaKeyProps.push({ name: schemaFullName, read, write, minor });\r\n }\r\n return schemaKeyProps;\r\n }\r\n\r\n /**\r\n * Gets the schema JSON for the current iModel context and returns the schema as a SchemaProps which\r\n * the client can call Schema.fromJson() to return a Schema.\r\n * @param tokenProps The iModelToken props that hold the information which iModel is used.\r\n * @param schemaName The name of the schema that shall be returned.\r\n * @returns The SchemaProps.\r\n */\r\n public override async getSchemaJSON(tokenProps: IModelRpcProps, schemaName: string): Promise<SchemaProps> {\r\n if (schemaName === undefined || schemaName.length < 1) {\r\n throw new Error(`Schema name must not be undefined or empty.`);\r\n }\r\n\r\n const iModelDb = await this.getIModelDatabase(tokenProps);\r\n const schemaResult = iModelDb.nativeDb.getSchema(schemaName);\r\n\r\n if (schemaResult.error !== undefined) {\r\n throw new Error(schemaResult.error.message);\r\n }\r\n\r\n if (schemaResult.result === undefined) {\r\n throw new Error(\"Schema does not exists\");\r\n }\r\n\r\n return JSON.parse(schemaResult.result);\r\n }\r\n}\r\n"]}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@itwin/ecschema-rpcinterface-impl",
3
- "version": "3.0.0-extension.0",
3
+ "version": "3.0.1",
4
4
  "description": "Schema RPC Interface backend implementation",
5
5
  "main": "lib/cjs/ecschema-rpc-impl.js",
6
6
  "typings": "lib/cjs/ecschema-rpc-impl",
7
7
  "license": "MIT",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/imodeljs/imodeljs/tree/master/core/ecschema-rpc/impl"
10
+ "url": "https://github.com/iTwin/itwinjs-core/tree/master/core/ecschema-rpc/impl"
11
11
  },
12
12
  "keywords": [
13
13
  "iModel",
@@ -20,24 +20,22 @@
20
20
  "url": "http://www.bentley.com"
21
21
  },
22
22
  "peerDependencies": {
23
- "@itwin/core-bentley": "3.0.0-extension.0",
24
- "@itwin/ecschema-metadata": "3.0.0-extension.0",
25
- "@itwin/ecschema-rpcinterface-common": "3.0.0-extension.0",
26
- "@itwin/core-geometry": "3.0.0-extension.0",
27
- "@itwin/core-backend": "3.0.0-extension.0",
28
- "@itwin/core-common": "3.0.0-extension.0",
29
- "@bentley/itwin-client": "3.0.0-extension.0"
23
+ "@itwin/core-backend": "3.0.1",
24
+ "@itwin/core-bentley": "3.0.1",
25
+ "@itwin/core-common": "3.0.1",
26
+ "@itwin/core-geometry": "3.0.1",
27
+ "@itwin/ecschema-metadata": "3.0.1",
28
+ "@itwin/ecschema-rpcinterface-common": "3.0.1"
30
29
  },
31
30
  "devDependencies": {
32
- "@bentley/itwin-client": "3.0.0-extension.0",
33
- "@itwin/core-bentley": "3.0.0-extension.0",
34
- "@itwin/build-tools": "3.0.0-extension.0",
35
- "@itwin/ecschema-metadata": "3.0.0-extension.0",
36
- "@itwin/ecschema-rpcinterface-common": "3.0.0-extension.0",
37
- "@itwin/eslint-plugin": "3.0.0-extension.0",
38
- "@itwin/core-geometry": "3.0.0-extension.0",
39
- "@itwin/core-backend": "3.0.0-extension.0",
40
- "@itwin/core-common": "3.0.0-extension.0",
31
+ "@itwin/build-tools": "3.0.1",
32
+ "@itwin/core-backend": "3.0.1",
33
+ "@itwin/core-bentley": "3.0.1",
34
+ "@itwin/core-common": "3.0.1",
35
+ "@itwin/core-geometry": "3.0.1",
36
+ "@itwin/ecschema-metadata": "3.0.1",
37
+ "@itwin/ecschema-rpcinterface-common": "3.0.1",
38
+ "@itwin/eslint-plugin": "3.0.1",
41
39
  "eslint": "^7.11.0",
42
40
  "rimraf": "^3.0.2",
43
41
  "typescript": "~4.4.0"
@@ -58,5 +56,6 @@
58
56
  "extract-api": "betools extract-api --entry=ecschema-rpc-impl",
59
57
  "lint": "eslint -f visualstudio \"./src/**/*.ts\" 1>&2",
60
58
  "test": ""
61
- }
59
+ },
60
+ "readme": "# iTwin.js Schema RPC Interface Implementation\r\n\r\nCopyright © Bentley Systems, Incorporated. All rights reserved.\r\n\r\nThis package contains the Schema RPC Interface Implementation which can be added to a backend.\r\n\r\n## Testing\r\n\r\nThe tests for this RPC Interface are available in the [@itwin/ecschema-rpcinterface-tests](https://www.npmjs.com/package/@itwin/ecschema-rpcinterface-tests) package, please visit the README in that package for more information.\r\n"
62
61
  }