@graview/core 0.2.14 → 0.2.16
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 +8 -2
- package/dist/cli/document-schema.js +1 -1
- package/dist/cli/document-schema.js.map +1 -1
- package/dist/document/connection-findings.d.ts.map +1 -1
- package/dist/document/connection-findings.js +103 -10
- package/dist/document/connection-findings.js.map +1 -1
- package/dist/document/connection-spec.d.ts +43 -3
- package/dist/document/connection-spec.d.ts.map +1 -1
- package/dist/document/connection-spec.js +51 -4
- package/dist/document/connection-spec.js.map +1 -1
- package/dist/document/describe-place.d.ts.map +1 -1
- package/dist/document/describe-place.js +2 -0
- package/dist/document/describe-place.js.map +1 -1
- package/dist/document/described.d.ts +6 -0
- package/dist/document/described.d.ts.map +1 -1
- package/dist/document/edit.js +1 -1
- package/dist/document/edit.js.map +1 -1
- package/dist/document/kept-in-step-with.d.ts +4 -4
- package/dist/document/kept-in-step-with.d.ts.map +1 -1
- package/dist/document/kept-in-step-with.js +5 -1
- package/dist/document/kept-in-step-with.js.map +1 -1
- package/dist/document/kept-in-step.js +1 -1
- package/dist/document/kept-in-step.js.map +1 -1
- package/dist/document.schema.json +154 -3
- package/dist/sync/connection.d.ts +22 -5
- package/dist/sync/connection.d.ts.map +1 -1
- package/dist/sync/connection.js +274 -6
- package/dist/sync/connection.js.map +1 -1
- package/dist/sync/engine.d.ts +38 -1
- package/dist/sync/engine.d.ts.map +1 -1
- package/dist/sync/engine.js +184 -12
- package/dist/sync/engine.js.map +1 -1
- package/dist/sync/google-calendar.d.ts.map +1 -1
- package/dist/sync/google-calendar.js +27 -4
- package/dist/sync/google-calendar.js.map +1 -1
- package/dist/sync/guests.d.ts +7 -2
- package/dist/sync/guests.d.ts.map +1 -1
- package/dist/sync/guests.js +33 -15
- package/dist/sync/guests.js.map +1 -1
- package/dist/sync/index.d.ts +10 -3
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +6 -2
- package/dist/sync/index.js.map +1 -1
- package/dist/sync/notion.d.ts.map +1 -1
- package/dist/sync/notion.js +18 -10
- package/dist/sync/notion.js.map +1 -1
- package/dist/sync/todoist-due.d.ts +35 -0
- package/dist/sync/todoist-due.d.ts.map +1 -0
- package/dist/sync/todoist-due.js +132 -0
- package/dist/sync/todoist-due.js.map +1 -0
- package/dist/sync/todoist-stub.d.ts +85 -0
- package/dist/sync/todoist-stub.d.ts.map +1 -0
- package/dist/sync/todoist-stub.js +316 -0
- package/dist/sync/todoist-stub.js.map +1 -0
- package/dist/sync/todoist-types.d.ts +27 -0
- package/dist/sync/todoist-types.d.ts.map +1 -0
- package/dist/sync/todoist-types.js +46 -0
- package/dist/sync/todoist-types.js.map +1 -0
- package/dist/sync/todoist.d.ts +112 -0
- package/dist/sync/todoist.d.ts.map +1 -0
- package/dist/sync/todoist.js +892 -0
- package/dist/sync/todoist.js.map +1 -0
- package/dist/sync/types.d.ts +53 -2
- package/dist/sync/types.d.ts.map +1 -1
- package/dist/sync/types.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
export interface KeptInStepWith {
|
|
3
3
|
/** The connection's name in the declaration. */
|
|
4
4
|
readonly connection: string;
|
|
5
|
-
readonly system: "notion" | "google-calendar";
|
|
6
|
-
/** "Notion · Tasks", "Google Calendar": the system, and the data source by its name where the declaration names one. */
|
|
5
|
+
readonly system: "notion" | "google-calendar" | "todoist";
|
|
6
|
+
/** "Notion · Tasks", "Google Calendar", "Todoist": the system, and the data source by its name where the declaration names one. */
|
|
7
7
|
readonly words: string;
|
|
8
|
-
/** Where it is there: a
|
|
8
|
+
/** Where it is there: a record made from Todoist's opens at its task, and one made from a Notion page at its page; otherwise the database, when the declaration names it by id. */
|
|
9
9
|
readonly href?: string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* THE OTHER SYSTEM A RECORD IS KEPT IN STEP WITH, said on its page: the
|
|
13
13
|
* first connection that keeps its kind — a Notion data source (named, when
|
|
14
|
-
* the declaration names it by its name)
|
|
14
|
+
* the declaration names it by its name), a Google calendar or a Todoist project — with a link
|
|
15
15
|
* to the page in Notion where the record came from there (its id carries
|
|
16
16
|
* the page's), else to the database. Read loosely from the declaration, as
|
|
17
17
|
* `fieldsKeptInStep` is; undefined when nothing keeps the kind.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kept-in-step-with.d.ts","sourceRoot":"","sources":["../../src/document/kept-in-step-with.ts"],"names":[],"mappings":"AAQA,8FAA8F;AAC9F,MAAM,WAAW,cAAc;IAC7B,gDAAgD;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"kept-in-step-with.d.ts","sourceRoot":"","sources":["../../src/document/kept-in-step-with.ts"],"names":[],"mappings":"AAQA,8FAA8F;AAC9F,MAAM,WAAW,cAAc;IAC7B,gDAAgD;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,iBAAiB,GAAG,SAAS,CAAC;IAC1D,mIAAmI;IACnI,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mLAAmL;IACnL,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAKD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAoBzG"}
|
|
@@ -8,7 +8,7 @@ const notionHex = (id) => id.replace(/-/g, "").toLowerCase();
|
|
|
8
8
|
/**
|
|
9
9
|
* THE OTHER SYSTEM A RECORD IS KEPT IN STEP WITH, said on its page: the
|
|
10
10
|
* first connection that keeps its kind — a Notion data source (named, when
|
|
11
|
-
* the declaration names it by its name)
|
|
11
|
+
* the declaration names it by its name), a Google calendar or a Todoist project — with a link
|
|
12
12
|
* to the page in Notion where the record came from there (its id carries
|
|
13
13
|
* the page's), else to the database. Read loosely from the declaration, as
|
|
14
14
|
* `fieldsKeptInStep` is; undefined when nothing keeps the kind.
|
|
@@ -21,6 +21,10 @@ export function keptInStepWith(connections, kind, id) {
|
|
|
21
21
|
continue;
|
|
22
22
|
if (raw.system === "google-calendar" && raw.kind === kind)
|
|
23
23
|
return { connection: name, system: "google-calendar", words: "Google Calendar" };
|
|
24
|
+
if (raw.system === "todoist" && raw.kind === kind) {
|
|
25
|
+
const task = id.startsWith(`${kind}:${name}-`) ? id.slice(`${kind}:${name}-`.length) : "";
|
|
26
|
+
return { connection: name, system: "todoist", words: "Todoist", ...(/^[A-Za-z0-9]{6,}(?:-\d+)?$/.test(task) ? { href: `https://app.todoist.com/app/task/${task.split("-")[0]}` } : {}) };
|
|
27
|
+
}
|
|
24
28
|
if (raw.system !== "notion")
|
|
25
29
|
continue;
|
|
26
30
|
const sources = Array.isArray(raw.sources) ? raw.sources : [{ kind: raw.kind, source: raw.source }];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kept-in-step-with.js","sourceRoot":"","sources":["../../src/document/kept-in-step-with.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAeH,MAAM,UAAU,GAAG,gBAAgB,CAAC;AACpC,MAAM,SAAS,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;AAErE;;;;;;;GAOG;AACH,MAAM,UAAU,cAAc,CAAC,WAAoB,EAAE,IAAY,EAAE,EAAU;IAC3E,IAAI,CAAC,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAC;IACtE,KAAK,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,MAAM,CAA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endar" && raw.fields && typeof raw.fields === "object") {
|
|
16
|
+
if ((raw.system === "google-calendar" || raw.system === "todoist") && raw.fields && typeof raw.fields === "object") {
|
|
17
17
|
mapped = Object.values(raw.fields).filter((field) => typeof field === "string");
|
|
18
18
|
}
|
|
19
19
|
else if (raw.system === "notion") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kept-in-step.js","sourceRoot":"","sources":["../../src/document/kept-in-step.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAc3D,mFAAmF;AACnF,MAAM,UAAU,gBAAgB,CAAC,WAAoB,EAAE,KAAyG;IAC9J,MAAM,IAAI,GAAG,IAAI,GAAG,EAAuB,CAAC;IAC5C,IAAI,CAAC,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ;QAAE,OAAO,IAAI,GAAG,EAAE,CAAC;IACtE,4GAA4G;IAC5G,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,WAAqE,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAW,EAAE,CACzH,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,MAAM,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAE,GAAG,CAAC,OAAmB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAC5P,CAAC;IACF,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC,GAAG,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pD,KAAK,MAAM,KAAK,IAAI,MAAM;YAAE,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAC7E,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAE,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/J,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://unpkg.com/@graview/core@0.2.
|
|
4
|
-
"title": "Graview declaration document, format 1 (@graview/core 0.2.
|
|
3
|
+
"$id": "https://unpkg.com/@graview/core@0.2.16/dist/document.schema.json",
|
|
4
|
+
"title": "Graview declaration document, format 1 (@graview/core 0.2.16)",
|
|
5
5
|
"description": "A whole Graview app as one JSON object: its kinds, fields, relations, acts, rules, roles, views and brand. `graview check --document <file>` compiles it and says what is wrong in words; this schema is the same shape, for an editor. Name it in a document's \"$schema\".",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
@@ -2971,7 +2971,7 @@
|
|
|
2971
2971
|
}
|
|
2972
2972
|
},
|
|
2973
2973
|
"connections": {
|
|
2974
|
-
"description": "Other systems this app is kept in step with, by name: a Google calendar (`system: google-calendar`)
|
|
2974
|
+
"description": "Other systems this app is kept in step with, by name: a Google calendar (`system: google-calendar`), a Notion database (`system: notion`) or a Todoist project (`system: todoist`). `graview serve` and `graview preview` run them, with credentials from the environment; none is ever written here.",
|
|
2975
2975
|
"type": "object",
|
|
2976
2976
|
"propertyNames": {
|
|
2977
2977
|
"type": "string",
|
|
@@ -3404,6 +3404,157 @@
|
|
|
3404
3404
|
"direction"
|
|
3405
3405
|
],
|
|
3406
3406
|
"additionalProperties": false
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"type": "object",
|
|
3410
|
+
"properties": {
|
|
3411
|
+
"system": {
|
|
3412
|
+
"type": "string",
|
|
3413
|
+
"const": "todoist"
|
|
3414
|
+
},
|
|
3415
|
+
"description": {
|
|
3416
|
+
"type": "string",
|
|
3417
|
+
"minLength": 1,
|
|
3418
|
+
"maxLength": 500
|
|
3419
|
+
},
|
|
3420
|
+
"project": {
|
|
3421
|
+
"anyOf": [
|
|
3422
|
+
{
|
|
3423
|
+
"type": "string",
|
|
3424
|
+
"minLength": 1,
|
|
3425
|
+
"maxLength": 200
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"type": "object",
|
|
3429
|
+
"properties": {
|
|
3430
|
+
"env": {
|
|
3431
|
+
"type": "string",
|
|
3432
|
+
"pattern": "^[A-Z][A-Z0-9_]*$"
|
|
3433
|
+
}
|
|
3434
|
+
},
|
|
3435
|
+
"required": [
|
|
3436
|
+
"env"
|
|
3437
|
+
],
|
|
3438
|
+
"additionalProperties": false
|
|
3439
|
+
}
|
|
3440
|
+
]
|
|
3441
|
+
},
|
|
3442
|
+
"section": {
|
|
3443
|
+
"type": "string",
|
|
3444
|
+
"minLength": 1,
|
|
3445
|
+
"maxLength": 200
|
|
3446
|
+
},
|
|
3447
|
+
"label": {
|
|
3448
|
+
"type": "string",
|
|
3449
|
+
"minLength": 1,
|
|
3450
|
+
"maxLength": 60
|
|
3451
|
+
},
|
|
3452
|
+
"auth": {
|
|
3453
|
+
"type": "object",
|
|
3454
|
+
"properties": {
|
|
3455
|
+
"env": {
|
|
3456
|
+
"type": "string",
|
|
3457
|
+
"pattern": "^[A-Z][A-Z0-9_]*$"
|
|
3458
|
+
},
|
|
3459
|
+
"file": {
|
|
3460
|
+
"type": "string",
|
|
3461
|
+
"minLength": 1,
|
|
3462
|
+
"maxLength": 500
|
|
3463
|
+
}
|
|
3464
|
+
},
|
|
3465
|
+
"required": [
|
|
3466
|
+
"env"
|
|
3467
|
+
],
|
|
3468
|
+
"additionalProperties": false
|
|
3469
|
+
},
|
|
3470
|
+
"kind": {
|
|
3471
|
+
"type": "string",
|
|
3472
|
+
"pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
|
|
3473
|
+
},
|
|
3474
|
+
"fields": {
|
|
3475
|
+
"type": "object",
|
|
3476
|
+
"properties": {
|
|
3477
|
+
"content": {
|
|
3478
|
+
"type": "string",
|
|
3479
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3480
|
+
},
|
|
3481
|
+
"description": {
|
|
3482
|
+
"type": "string",
|
|
3483
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3484
|
+
},
|
|
3485
|
+
"due": {
|
|
3486
|
+
"type": "string",
|
|
3487
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3488
|
+
},
|
|
3489
|
+
"deadline": {
|
|
3490
|
+
"type": "string",
|
|
3491
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3492
|
+
},
|
|
3493
|
+
"priority": {
|
|
3494
|
+
"type": "string",
|
|
3495
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3496
|
+
},
|
|
3497
|
+
"labels": {
|
|
3498
|
+
"type": "string",
|
|
3499
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3500
|
+
},
|
|
3501
|
+
"section": {
|
|
3502
|
+
"type": "string",
|
|
3503
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3504
|
+
},
|
|
3505
|
+
"assignee": {
|
|
3506
|
+
"type": "string",
|
|
3507
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3508
|
+
},
|
|
3509
|
+
"parent": {
|
|
3510
|
+
"type": "string",
|
|
3511
|
+
"pattern": "^(?:[a-z][a-z0-9]*(?:-[a-z0-9]+)*|[a-z][A-Za-z0-9]*)$"
|
|
3512
|
+
},
|
|
3513
|
+
"completed": {
|
|
3514
|
+
"type": "string",
|
|
3515
|
+
"pattern": "^[a-z][A-Za-z0-9]*$"
|
|
3516
|
+
}
|
|
3517
|
+
},
|
|
3518
|
+
"required": [
|
|
3519
|
+
"content"
|
|
3520
|
+
],
|
|
3521
|
+
"additionalProperties": false
|
|
3522
|
+
},
|
|
3523
|
+
"sendExisting": {
|
|
3524
|
+
"type": "boolean"
|
|
3525
|
+
},
|
|
3526
|
+
"direction": {
|
|
3527
|
+
"type": "string",
|
|
3528
|
+
"enum": [
|
|
3529
|
+
"read",
|
|
3530
|
+
"both"
|
|
3531
|
+
]
|
|
3532
|
+
},
|
|
3533
|
+
"conflicts": {
|
|
3534
|
+
"type": "string",
|
|
3535
|
+
"enum": [
|
|
3536
|
+
"report",
|
|
3537
|
+
"theirs",
|
|
3538
|
+
"ours"
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
"every": {
|
|
3542
|
+
"type": "integer",
|
|
3543
|
+
"minimum": 2,
|
|
3544
|
+
"maximum": 86400
|
|
3545
|
+
},
|
|
3546
|
+
"paused": {
|
|
3547
|
+
"type": "boolean"
|
|
3548
|
+
}
|
|
3549
|
+
},
|
|
3550
|
+
"required": [
|
|
3551
|
+
"system",
|
|
3552
|
+
"project",
|
|
3553
|
+
"kind",
|
|
3554
|
+
"fields",
|
|
3555
|
+
"direction"
|
|
3556
|
+
],
|
|
3557
|
+
"additionalProperties": false
|
|
3407
3558
|
}
|
|
3408
3559
|
]
|
|
3409
3560
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { GraviewApp } from "../app.js";
|
|
2
2
|
import type { AnySchema } from "../schema/schema.js";
|
|
3
3
|
import type { Store } from "../store.js";
|
|
4
|
-
import { type ConnectionSpec, type NotionConnectionSpec, type NotionSourceSpec } from "../document/connection-spec.js";
|
|
4
|
+
import { type ConnectionSpec, type NotionConnectionSpec, type NotionSourceSpec, type TodoistConnectionSpec } from "../document/connection-spec.js";
|
|
5
5
|
import { SyncEngine, type SharedLinks } from "./engine.js";
|
|
6
6
|
import { type Fetcher, type GoogleTokenRequest } from "./google-calendar.js";
|
|
7
7
|
import { type GuestGraph } from "./guests.js";
|
|
8
8
|
import { type NotionMade } from "./notion.js";
|
|
9
|
+
import { type TodoistRefs } from "./todoist.js";
|
|
9
10
|
import type { RemoteSystem, ResourceMapping, SyncMapping, SyncState } from "./types.js";
|
|
10
11
|
/**
|
|
11
12
|
* A DECLARED CONNECTION, RUN.
|
|
@@ -57,13 +58,21 @@ import type { RemoteSystem, ResourceMapping, SyncMapping, SyncState } from "./ty
|
|
|
57
58
|
* names it, or, matched by name, as the field reads ("Due date"). The
|
|
58
59
|
* name field is the title Notion always has. None is made for a
|
|
59
60
|
* connection that only reads, or that says `create: false`.
|
|
61
|
+
* - A TODOIST PROJECT's tasks (or one section's, or one label's) are the
|
|
62
|
+
* kind's records, each part the field the declaration maps. What Todoist
|
|
63
|
+
* always has is compared as it has it: a record that says no priority is
|
|
64
|
+
* at p4, one that does not say it is completed is not. A due date that
|
|
65
|
+
* repeats is the repeat beside its date, where `todoist-due.ts` can read
|
|
66
|
+
* Todoist's words for it and say them back; a repeat it cannot is left
|
|
67
|
+
* there, and one here that Todoist's words cannot say is held unsent. A
|
|
68
|
+
* subtask's parent is a relation of one, found through `links`.
|
|
60
69
|
* - READ means the other system owns the kind: an act here that would change
|
|
61
70
|
* a record of it is refused with a sentence saying so (`SyncEngine.guard`),
|
|
62
71
|
* rather than accepted and never sent.
|
|
63
72
|
* - Inbound changes land through the app's own acts — one that creates the
|
|
64
73
|
* kind from the fields mapped alone (`creatingAct`), `edit-<kind>` and
|
|
65
74
|
* `remove-<kind>` — authored by the system
|
|
66
|
-
* (`google-calendar`, `notion`), so Activity credits it and undo works.
|
|
75
|
+
* (`google-calendar`, `notion`, `todoist`), so Activity credits it and undo works.
|
|
67
76
|
*/
|
|
68
77
|
export { CONNECTION_TAG, GOOGLE_COLORS, MADE_BY_GRAVIEW, inConnectionFilter } from "./connection-filter.js";
|
|
69
78
|
export type ConnectionDeclaration = ConnectionSpec;
|
|
@@ -77,13 +86,15 @@ export interface ConnectionRun<S extends AnySchema> {
|
|
|
77
86
|
readonly calendarId?: string;
|
|
78
87
|
/** A Notion connection's database id, resolved likewise. */
|
|
79
88
|
readonly databaseId?: string;
|
|
89
|
+
/** A Todoist connection's project, its id or its name, resolved likewise. */
|
|
90
|
+
readonly projectId?: string;
|
|
80
91
|
/**
|
|
81
92
|
* An access token for Google, asked again with `{ refresh: true }` when
|
|
82
93
|
* Google refuses the last one; for Notion, the internal integration's
|
|
83
|
-
* secret.
|
|
94
|
+
* secret; for Todoist, the account's personal API token.
|
|
84
95
|
*/
|
|
85
96
|
token(request?: GoogleTokenRequest): Promise<string> | string;
|
|
86
|
-
/** What the secret is called where the host keeps it (`NOTION_TOKEN`), for the sentence a refusal says. Never its value. */
|
|
97
|
+
/** What the secret is called where the host keeps it (`NOTION_TOKEN`, `TODOIST_TOKEN`), for the sentence a refusal says. Never its value. */
|
|
87
98
|
readonly secretName?: string;
|
|
88
99
|
readonly fetch?: Fetcher;
|
|
89
100
|
/** What the engine kept from the last run: its cursor, its links. */
|
|
@@ -92,7 +103,7 @@ export interface ConnectionRun<S extends AnySchema> {
|
|
|
92
103
|
say?(line: string): void;
|
|
93
104
|
/**
|
|
94
105
|
* THE APP'S LINKS, shared by every connection it runs (`sharedLinks()`):
|
|
95
|
-
* where a relation finds the record a Notion page is, whichever
|
|
106
|
+
* where a relation finds the record a Notion page or a Todoist task is, whichever
|
|
96
107
|
* connection linked it. This connection's engine is added to it. Absent:
|
|
97
108
|
* the connection's own links alone.
|
|
98
109
|
*/
|
|
@@ -134,6 +145,12 @@ export declare function notionConnectionMapping(app: GraviewApp, declaration: No
|
|
|
134
145
|
readonly spec: NotionSourceSpec;
|
|
135
146
|
})[];
|
|
136
147
|
};
|
|
148
|
+
/** What a Todoist connection maps: the engine's mapping, and the parts of a task the transport reads. */
|
|
149
|
+
export declare function todoistMapping(app: GraviewApp, declaration: TodoistConnectionSpec, zone?: string): {
|
|
150
|
+
readonly mapping: SyncMapping;
|
|
151
|
+
readonly refs: TodoistRefs;
|
|
152
|
+
readonly zone?: string;
|
|
153
|
+
};
|
|
137
154
|
/**
|
|
138
155
|
* The act a record of the kind from another system is made through: one
|
|
139
156
|
* that creates it, takes no subject and asks for nothing the connection
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/sync/connection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EAAqD,KAAK,cAAc,EAAqC,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/sync/connection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EAAqD,KAAK,cAAc,EAAqC,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAA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