@superdurable/connector-notion 0.1.0 → 0.2.0
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/README.md +17 -3
- package/dex-connector.json +549 -7
- package/dist/{chunk-LZTWSFD4.js → chunk-5TNYF4VH.js} +8 -3
- package/dist/{connection-CFdIOEsZ.d.ts → connection-C7B_dh-s.d.ts} +6 -0
- package/dist/index.d.ts +189 -11
- package/dist/index.js +626 -9
- package/dist/mock.d.ts +1 -1
- package/dist/mock.js +1 -1
- package/package.json +9 -7
package/dist/mock.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MockQuery, MockMutation, Case } from '@superdurable/connectors-sdk/connectormock';
|
|
2
2
|
import { Failure } from '@superdurable/connectors-sdk';
|
|
3
|
-
import { O as Operations, b as Connection, S as SearchInput, e as SearchOutput, Q as QueryDatabaseInput, d as QueryDatabaseOutput, G as GetPageInput, c as GetPageOutput, C as CreatePageInput, a as CreatePageOutput, U as UpdatePagePropertiesInput, f as UpdatePagePropertiesOutput, D as DateRange, P as Page, p as PageContent, r as PageProperty, u as Parent, w as PropertyValue, A as QueryFilter, E as QuerySort, I as SearchMatch } from './connection-
|
|
3
|
+
import { O as Operations, b as Connection, S as SearchInput, e as SearchOutput, Q as QueryDatabaseInput, d as QueryDatabaseOutput, G as GetPageInput, c as GetPageOutput, C as CreatePageInput, a as CreatePageOutput, U as UpdatePagePropertiesInput, f as UpdatePagePropertiesOutput, D as DateRange, P as Page, p as PageContent, r as PageProperty, u as Parent, w as PropertyValue, A as QueryFilter, E as QuerySort, I as SearchMatch } from './connection-C7B_dh-s.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
/** Go zero value for SearchInput in scripted cases. */
|
package/dist/mock.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
UpdatePagePropertiesInputSchema,
|
|
27
27
|
UpdatePagePropertiesOutputSchema,
|
|
28
28
|
newConnectionWithOperations
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5TNYF4VH.js";
|
|
30
30
|
|
|
31
31
|
// src/generated/mock.ts
|
|
32
32
|
import { branchCase, retryCase, uncertainCase, newMutation, newQuery } from "@superdurable/connectors-sdk/connectormock";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdurable/connector-notion",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"description": "Notion connector for Dex TypeScript applications",
|
|
5
|
+
"description": "Notion connector and databaseRowChanged poll Trigger for Dex TypeScript applications",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/superdurable/dex-connectors-library.git",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"./mock": {
|
|
23
23
|
"types": "./dist/mock.d.ts",
|
|
24
24
|
"import": "./dist/mock.js"
|
|
25
|
-
}
|
|
25
|
+
},
|
|
26
|
+
"./dex-connector.json": "./dex-connector.json"
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
29
|
"dist",
|
|
@@ -35,15 +36,16 @@
|
|
|
35
36
|
"build": "tsup src/index.ts src/mock.ts --format esm --dts --clean",
|
|
36
37
|
"typecheck": "tsc --noEmit",
|
|
37
38
|
"lint": "eslint src test examples",
|
|
38
|
-
"test": "vitest run --exclude test/integration
|
|
39
|
-
"test:integration": "vitest run test/integration/*.integration.test.ts",
|
|
39
|
+
"test": "npm run build && vitest run --exclude \"test/integration/**\"",
|
|
40
|
+
"test:integration": "npm run build && vitest run test/integration/*.integration.test.ts",
|
|
40
41
|
"example:worker": "tsx examples/search-pages/worker.ts",
|
|
41
42
|
"example:start": "tsx examples/search-pages/start.ts",
|
|
43
|
+
"example:row-changed": "tsx examples/row-changed/main.ts",
|
|
42
44
|
"check": "npm run typecheck && npm run lint && npm test && npm run build"
|
|
43
45
|
},
|
|
44
46
|
"dependencies": {
|
|
45
|
-
"@superdurable/connectors-sdk": "0.
|
|
46
|
-
"@superdurable/dex": ">=1.
|
|
47
|
+
"@superdurable/connectors-sdk": "0.12.0",
|
|
48
|
+
"@superdurable/dex": ">=1.45.4",
|
|
47
49
|
"zod": "^4.1.0"
|
|
48
50
|
},
|
|
49
51
|
"devDependencies": {
|