Rename @objectstack/client-sdk to @objectstack/client #248
Annotations
17 errors
|
src/system/driver.test.ts > DriverInterfaceSchema > Bulk Operations > should validate bulkDelete method:
packages/spec/src/system/driver.test.ts#L236
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:236:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > Bulk Operations > should validate bulkUpdate method:
packages/spec/src/system/driver.test.ts#L224
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:224:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > Bulk Operations > should validate bulkCreate method:
packages/spec/src/system/driver.test.ts#L209
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:209:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > CRUD Operations > should validate delete method signature:
packages/spec/src/system/driver.test.ts#L171
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:171:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > CRUD Operations > should validate update method signature:
packages/spec/src/system/driver.test.ts#L159
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:159:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > CRUD Operations > should validate create method signature:
packages/spec/src/system/driver.test.ts#L146
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:146:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > CRUD Operations > should validate findOne method signature:
packages/spec/src/system/driver.test.ts#L133
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:133:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > CRUD Operations > should validate find method signature:
packages/spec/src/system/driver.test.ts#L121
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:121:61
|
|
src/system/driver.test.ts > DriverInterfaceSchema > CRUD Operations > should accept driver with CRUD operations:
packages/spec/src/system/driver.test.ts#L109
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:109:65
|
|
src/system/driver.test.ts > DriverInterfaceSchema > Basic Properties > should accept name and version:
packages/spec/src/system/driver.test.ts#L81
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"connect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"disconnect\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"checkHealth\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"execute\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"count\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"beginTransaction\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"commit\"
],
\"message\": \"Required\"
},
{
\"code\": \"invalid_type\",
\"expected\": \"function\",
\"received\": \"undefined\",
\"path\": [
\"rollback\"
],
\"message\": \"Required\"
}
]"
❯ src/system/driver.test.ts:81:61
|
|
Build
Process completed with exit code 2.
|
|
Build
Module '"@objectstack/runtime"' has no exported member 'RuntimeContext'.
|
|
Build
Module '"@objectstack/runtime"' has no exported member 'RuntimePlugin'.
|
|
Build
Module '"@objectstack/spec"' has no exported member 'DriverOptions'.
|
|
Build
Module '"@objectstack/spec"' has no exported member 'DriverInterface'.
|
|
Build
Module '"@objectstack/spec"' has no exported member 'DriverOptions'.
|
|
Build
Module '"@objectstack/spec"' has no exported member 'DriverInterface'.
|