@twin.org/entity-storage-connector-mysql 0.0.3-next.2 → 0.0.3-next.21

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/locales/en.json CHANGED
@@ -4,7 +4,9 @@
4
4
  "databaseCreating": "Database \"{databaseName}\" creating",
5
5
  "databaseExists": "Database \"{databaseName}\" created or it already exists",
6
6
  "tableCreating": "Table \"{tableName}\" creating",
7
- "tableExists": "Table \"{tableName}\" created or it already exists"
7
+ "tableExists": "Table \"{tableName}\" created or it already exists",
8
+ "tableDropping": "Dropping table \"{tableName}\"",
9
+ "tableDropped": "Table \"{tableName}\" dropped"
8
10
  }
9
11
  },
10
12
  "error": {
@@ -16,7 +18,20 @@
16
18
  "comparisonNotSupported": "Comparison operator \"{comparison}\" is not supported",
17
19
  "conditionalNotSupported": "Conditional operator \"{operator}\" is not supported",
18
20
  "entitySchemaPropertiesUndefined": "The entity schema properties are undefined",
19
- "databaseCreateFailed": "Unable to create database \"{databaseName}\""
21
+ "databaseCreateFailed": "Unable to create database \"{databaseName}\"",
22
+ "setBatchFailed": "Unable to set batch of entities",
23
+ "countFailed": "Unable to count entities",
24
+ "emptyFailed": "Unable to empty entity storage",
25
+ "removeBatchFailed": "Unable to remove batch of entities",
26
+ "teardownFailed": "Unable to teardown entity storage",
27
+ "getPartitionContextIdsFailed": "Unable to get partition context ids",
28
+ "finalizeMigrationFailedBootstrap": "Finalizing migration failed during bootstrap phase"
29
+ }
30
+ },
31
+ "health": {
32
+ "mySqlEntityStorageConnector": {
33
+ "healthDescription": "Checks if the MySQL table \"{tableName}\" in database \"{database}\" is available",
34
+ "connectionFailed": "Failed to connect to MySQL table \"{tableName}\" in database \"{database}\""
20
35
  }
21
36
  }
22
37
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@twin.org/entity-storage-connector-mysql",
3
- "version": "0.0.3-next.2",
4
- "description": "Entity Storage connector implementation using MySQL storage",
3
+ "version": "0.0.3-next.21",
4
+ "description": "MySQL connector for relational persistence with SQL querying.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/twinfoundation/entity-storage.git",
7
+ "url": "git+https://github.com/iotaledger/twin-entity-storage.git",
8
8
  "directory": "packages/entity-storage-connector-mysql"
9
9
  },
10
10
  "author": "adrian.sanchez.sequeira@iota.org",
@@ -18,10 +18,10 @@
18
18
  "@twin.org/core": "next",
19
19
  "@twin.org/data-json-ld": "next",
20
20
  "@twin.org/entity": "next",
21
- "@twin.org/entity-storage-models": "0.0.3-next.2",
21
+ "@twin.org/entity-storage-models": "0.0.3-next.21",
22
22
  "@twin.org/logging-models": "next",
23
23
  "@twin.org/nameof": "next",
24
- "mysql2": "3.15.3"
24
+ "mysql2": "3.22.3"
25
25
  },
26
26
  "main": "./dist/es/index.js",
27
27
  "types": "./dist/types/index.d.ts",
@@ -55,7 +55,7 @@
55
55
  "integration"
56
56
  ],
57
57
  "bugs": {
58
- "url": "git+https://github.com/twinfoundation/entity-storage/issues"
58
+ "url": "git+https://github.com/iotaledger/twin-entity-storage/issues"
59
59
  },
60
60
  "homepage": "https://twindev.org"
61
61
  }