attodo-atproto 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +38 -2
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/lexicons/at/todos/area.d.ts +3 -0
- package/dist/lexicons/at/todos/area.d.ts.map +1 -0
- package/dist/lexicons/at/todos/area.defs.d.ts +153 -0
- package/dist/lexicons/at/todos/area.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/area.defs.js +28 -0
- package/dist/lexicons/at/todos/area.defs.js.map +1 -0
- package/dist/lexicons/at/todos/area.js +6 -0
- package/dist/lexicons/at/todos/area.js.map +1 -0
- package/dist/lexicons/at/todos/checklistItem.d.ts +3 -0
- package/dist/lexicons/at/todos/checklistItem.d.ts.map +1 -0
- package/dist/lexicons/at/todos/checklistItem.defs.d.ts +154 -0
- package/dist/lexicons/at/todos/checklistItem.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/checklistItem.defs.js +28 -0
- package/dist/lexicons/at/todos/checklistItem.defs.js.map +1 -0
- package/dist/lexicons/at/todos/checklistItem.js +6 -0
- package/dist/lexicons/at/todos/checklistItem.js.map +1 -0
- package/dist/lexicons/at/todos/defs.d.ts +2 -0
- package/dist/lexicons/at/todos/defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/defs.defs.d.ts +128 -0
- package/dist/lexicons/at/todos/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/defs.defs.js +33 -0
- package/dist/lexicons/at/todos/defs.defs.js.map +1 -0
- package/dist/lexicons/at/todos/defs.js +5 -0
- package/dist/lexicons/at/todos/defs.js.map +1 -0
- package/dist/lexicons/at/todos/heading.d.ts +3 -0
- package/dist/lexicons/at/todos/heading.d.ts.map +1 -0
- package/dist/lexicons/at/todos/heading.defs.d.ts +157 -0
- package/dist/lexicons/at/todos/heading.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/heading.defs.js +28 -0
- package/dist/lexicons/at/todos/heading.defs.js.map +1 -0
- package/dist/lexicons/at/todos/heading.js +6 -0
- package/dist/lexicons/at/todos/heading.js.map +1 -0
- package/dist/lexicons/at/todos/item.d.ts +3 -0
- package/dist/lexicons/at/todos/item.d.ts.map +1 -0
- package/dist/lexicons/at/todos/item.defs.d.ts +268 -0
- package/dist/lexicons/at/todos/item.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/item.defs.js +30 -0
- package/dist/lexicons/at/todos/item.defs.js.map +1 -0
- package/dist/lexicons/at/todos/item.js +6 -0
- package/dist/lexicons/at/todos/item.js.map +1 -0
- package/dist/lexicons/at/todos/join.d.ts +3 -0
- package/dist/lexicons/at/todos/join.d.ts.map +1 -0
- package/dist/lexicons/at/todos/join.defs.d.ts +63 -0
- package/dist/lexicons/at/todos/join.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/join.defs.js +23 -0
- package/dist/lexicons/at/todos/join.defs.js.map +1 -0
- package/dist/lexicons/at/todos/join.js +6 -0
- package/dist/lexicons/at/todos/join.js.map +1 -0
- package/dist/lexicons/at/todos/personalSpace.d.ts +3 -0
- package/dist/lexicons/at/todos/personalSpace.d.ts.map +1 -0
- package/dist/lexicons/at/todos/personalSpace.defs.d.ts +18 -0
- package/dist/lexicons/at/todos/personalSpace.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/personalSpace.defs.js +19 -0
- package/dist/lexicons/at/todos/personalSpace.defs.js.map +1 -0
- package/dist/lexicons/at/todos/personalSpace.js +6 -0
- package/dist/lexicons/at/todos/personalSpace.js.map +1 -0
- package/dist/lexicons/at/todos/plan.d.ts +3 -0
- package/dist/lexicons/at/todos/plan.d.ts.map +1 -0
- package/dist/lexicons/at/todos/plan.defs.d.ts +225 -0
- package/dist/lexicons/at/todos/plan.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/plan.defs.js +30 -0
- package/dist/lexicons/at/todos/plan.defs.js.map +1 -0
- package/dist/lexicons/at/todos/plan.js +6 -0
- package/dist/lexicons/at/todos/plan.js.map +1 -0
- package/dist/lexicons/at/todos/project.d.ts +3 -0
- package/dist/lexicons/at/todos/project.d.ts.map +1 -0
- package/dist/lexicons/at/todos/project.defs.d.ts +238 -0
- package/dist/lexicons/at/todos/project.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/project.defs.js +28 -0
- package/dist/lexicons/at/todos/project.defs.js.map +1 -0
- package/dist/lexicons/at/todos/project.js +6 -0
- package/dist/lexicons/at/todos/project.js.map +1 -0
- package/dist/lexicons/at/todos/sharedSpace.d.ts +3 -0
- package/dist/lexicons/at/todos/sharedSpace.d.ts.map +1 -0
- package/dist/lexicons/at/todos/sharedSpace.defs.d.ts +19 -0
- package/dist/lexicons/at/todos/sharedSpace.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/sharedSpace.defs.js +20 -0
- package/dist/lexicons/at/todos/sharedSpace.defs.js.map +1 -0
- package/dist/lexicons/at/todos/sharedSpace.js +6 -0
- package/dist/lexicons/at/todos/sharedSpace.js.map +1 -0
- package/dist/lexicons/at/todos/spaceInfo.d.ts +3 -0
- package/dist/lexicons/at/todos/spaceInfo.d.ts.map +1 -0
- package/dist/lexicons/at/todos/spaceInfo.defs.d.ts +99 -0
- package/dist/lexicons/at/todos/spaceInfo.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/spaceInfo.defs.js +23 -0
- package/dist/lexicons/at/todos/spaceInfo.defs.js.map +1 -0
- package/dist/lexicons/at/todos/spaceInfo.js +6 -0
- package/dist/lexicons/at/todos/spaceInfo.js.map +1 -0
- package/dist/lexicons/at/todos/tag.d.ts +3 -0
- package/dist/lexicons/at/todos/tag.d.ts.map +1 -0
- package/dist/lexicons/at/todos/tag.defs.d.ts +160 -0
- package/dist/lexicons/at/todos/tag.defs.d.ts.map +1 -0
- package/dist/lexicons/at/todos/tag.defs.js +28 -0
- package/dist/lexicons/at/todos/tag.defs.js.map +1 -0
- package/dist/lexicons/at/todos/tag.js +6 -0
- package/dist/lexicons/at/todos/tag.js.map +1 -0
- package/dist/lexicons/at/todos.d.ts +13 -0
- package/dist/lexicons/at/todos.d.ts.map +1 -0
- package/dist/lexicons/at/todos.js +16 -0
- package/dist/lexicons/at/todos.js.map +1 -0
- package/dist/lexicons/at.d.ts +2 -0
- package/dist/lexicons/at.d.ts.map +1 -0
- package/dist/lexicons/at.js +5 -0
- package/dist/lexicons/at.js.map +1 -0
- package/dist/lexicons/index.d.ts +2 -0
- package/dist/lexicons/index.d.ts.map +1 -0
- package/dist/lexicons/index.js +5 -0
- package/dist/lexicons/index.js.map +1 -0
- package/dist/spaces.d.ts +21 -0
- package/dist/spaces.d.ts.map +1 -0
- package/dist/spaces.js +65 -0
- package/dist/spaces.js.map +1 -0
- package/dist/transport.d.ts +40 -0
- package/dist/transport.d.ts.map +1 -0
- package/dist/transport.js +208 -0
- package/dist/transport.js.map +1 -0
- package/package.json +60 -4
- package/src/index.ts +17 -0
- package/src/lexicons/at/todos/area.defs.ts +66 -0
- package/src/lexicons/at/todos/area.ts +6 -0
- package/src/lexicons/at/todos/checklistItem.defs.ts +66 -0
- package/src/lexicons/at/todos/checklistItem.ts +6 -0
- package/src/lexicons/at/todos/defs.defs.ts +154 -0
- package/src/lexicons/at/todos/defs.ts +5 -0
- package/src/lexicons/at/todos/heading.defs.ts +71 -0
- package/src/lexicons/at/todos/heading.ts +6 -0
- package/src/lexicons/at/todos/item.defs.ts +90 -0
- package/src/lexicons/at/todos/item.ts +6 -0
- package/src/lexicons/at/todos/join.defs.ts +39 -0
- package/src/lexicons/at/todos/join.ts +6 -0
- package/src/lexicons/at/todos/personalSpace.defs.ts +29 -0
- package/src/lexicons/at/todos/personalSpace.ts +6 -0
- package/src/lexicons/at/todos/plan.defs.ts +119 -0
- package/src/lexicons/at/todos/plan.ts +6 -0
- package/src/lexicons/at/todos/project.defs.ts +66 -0
- package/src/lexicons/at/todos/project.ts +6 -0
- package/src/lexicons/at/todos/sharedSpace.defs.ts +30 -0
- package/src/lexicons/at/todos/sharedSpace.ts +6 -0
- package/src/lexicons/at/todos/spaceInfo.defs.ts +44 -0
- package/src/lexicons/at/todos/spaceInfo.ts +6 -0
- package/src/lexicons/at/todos/tag.defs.ts +76 -0
- package/src/lexicons/at/todos/tag.ts +6 -0
- package/src/lexicons/at/todos.ts +16 -0
- package/src/lexicons/at.ts +5 -0
- package/src/lexicons/index.ts +5 -0
- package/src/spaces.ts +66 -0
- package/src/transport.ts +219 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Orta Therox
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# attodo-atproto
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The attodo sync engine on atproto. [`attodo-sync`](https://www.npmjs.com/package/attodo-sync) is the engine: it merges, verifies and builds the lists, and it does no I/O. This package connects it to atproto hosts:
|
|
4
|
+
|
|
5
|
+
- **`LexSpaceTransport`**, the engine's `Transport` over [`@atproto/lex-space`](https://www.npmjs.com/package/@atproto/lex-space). It sends each request to the right host, with the user's OAuth session or a space credential, and checks every host's MAC.
|
|
6
|
+
- **Finding the user's spaces:** `ensurePersonalSpace` finds the personal space or creates it, and `joinedSharedSpaces` lists the shared lists the user has joined.
|
|
7
|
+
- **`OAUTH_SCOPE`**, the scopes an attodo app asks for.
|
|
8
|
+
- **`lexicons`**, the `at.todos.*` lexicons, generated by `@atproto/lex`.
|
|
9
|
+
|
|
10
|
+
It works in browsers and in Node 22 or later.
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npm install attodo-sync attodo-atproto
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { Device } from 'attodo-sync'
|
|
18
|
+
import { LexSpaceTransport, ensurePersonalSpace, joinedSharedSpaces } from 'attodo-atproto'
|
|
19
|
+
|
|
20
|
+
// `agent` is the user's OAuth session, e.g. from @atproto/oauth-client-browser.
|
|
21
|
+
const transport = new LexSpaceTransport(agent)
|
|
22
|
+
device.addSpace(await ensurePersonalSpace(agent), 'personal')
|
|
23
|
+
for (const space of await joinedSharedSpaces(agent)) device.addSpace(space, 'shared')
|
|
24
|
+
for (const { space } of device.spaces()) {
|
|
25
|
+
const report = await device.syncSpace(transport, space, Date.now() * 1000)
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Keep one transport for the session. It keeps a client for each space, which holds that space's credential. On a server, pass a `fetch` that refuses private and loopback addresses as the second argument: DID documents name the hosts it connects to, and anyone can publish one.
|
|
30
|
+
|
|
31
|
+
The guide to building an app on it is [`docs/javascript.md`](https://github.com/orta/todos.at/blob/main/docs/javascript.md). The terminal app, [`@orta/attodo`](https://www.npmjs.com/package/@orta/attodo), is a complete app on both packages.
|
|
32
|
+
|
|
33
|
+
## Versions
|
|
34
|
+
|
|
35
|
+
`attodo-atproto` is released with `attodo-sync`, at the same version, and needs that version of it.
|
|
36
|
+
|
|
37
|
+
## Developing
|
|
38
|
+
|
|
39
|
+
The tests run the engine through the transport against a fake host, built from `@atproto/space`'s host-side code. It issues real space credentials, signs real MACs and keeps real commits. `yarn lexicons` regenerates `src/lexicons` from the repository's `lexicons/`.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* attodo-atproto: the attodo sync engine (`attodo-sync`) on atproto. A
|
|
3
|
+
* `Transport` over `@atproto/lex-space`, finding the user's spaces, and the
|
|
4
|
+
* `at.todos.*` lexicons.
|
|
5
|
+
*/
|
|
6
|
+
export { LexSpaceTransport, canonicalCid, toTransportError } from './transport.js';
|
|
7
|
+
export { OAUTH_SCOPE, PERSONAL_SPACE, SHARED_SPACE, ensurePersonalSpace, joinedSharedSpaces, listSpacesOfType, personalSpaceRef, } from './spaces.js';
|
|
8
|
+
/** The `at.todos.*` lexicons, generated from `lexicons/` by `@atproto/lex`. */
|
|
9
|
+
export * as lexicons from './lexicons/index.js';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAClF,OAAO,EACL,WAAW,EACX,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,aAAa,CAAA;AACpB,+EAA+E;AAC/E,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* attodo-atproto: the attodo sync engine (`attodo-sync`) on atproto. A
|
|
3
|
+
* `Transport` over `@atproto/lex-space`, finding the user's spaces, and the
|
|
4
|
+
* `at.todos.*` lexicons.
|
|
5
|
+
*/
|
|
6
|
+
export { LexSpaceTransport, canonicalCid, toTransportError } from './transport.js';
|
|
7
|
+
export { OAUTH_SCOPE, PERSONAL_SPACE, SHARED_SPACE, ensurePersonalSpace, joinedSharedSpaces, listSpacesOfType, personalSpaceRef, } from './spaces.js';
|
|
8
|
+
/** The `at.todos.*` lexicons, generated from `lexicons/` by `@atproto/lex`. */
|
|
9
|
+
export * as lexicons from './lexicons/index.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAClF,OAAO,EACL,WAAW,EACX,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,aAAa,CAAA;AACpB,+EAA+E;AAC/E,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/area.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
import * as TodosDefs from "./defs.defs.js";
|
|
3
|
+
declare const $nsid = "at.todos.area";
|
|
4
|
+
type $nsid = typeof $nsid;
|
|
5
|
+
export { $nsid };
|
|
6
|
+
/** One author's overlay for an area: an ongoing sphere of responsibility that groups projects and to-dos and is never completed. */
|
|
7
|
+
type Main = {
|
|
8
|
+
$type: "at.todos.area";
|
|
9
|
+
"createdAt"?: l.DatetimeString;
|
|
10
|
+
"deleted"?: TodosDefs.Deletion;
|
|
11
|
+
"title"?: string;
|
|
12
|
+
"tags"?: (l.RecordKeyString)[];
|
|
13
|
+
"placement"?: Placement;
|
|
14
|
+
/**
|
|
15
|
+
* App extensions. Keys are NSIDs; each value follows the lexicon its key names. Each key is its own register, clocked in clock.ext (SPEC.md §4.10).
|
|
16
|
+
*/
|
|
17
|
+
"ext"?: l.LexMap;
|
|
18
|
+
"clock": Clock;
|
|
19
|
+
};
|
|
20
|
+
export type { Main };
|
|
21
|
+
/** One author's overlay for an area: an ongoing sphere of responsibility that groups projects and to-dos and is never completed. */
|
|
22
|
+
declare const main: l.RecordSchema<"any", "at.todos.area", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
23
|
+
export { main };
|
|
24
|
+
declare const $type = "at.todos.area";
|
|
25
|
+
type $type = typeof $type;
|
|
26
|
+
export { $type };
|
|
27
|
+
export declare const $isTypeOf: <TValue extends {
|
|
28
|
+
$type?: unknown;
|
|
29
|
+
}>(value: TValue) => value is l.TypedRecord<"at.todos.area", TValue>;
|
|
30
|
+
export declare const $build: {
|
|
31
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
32
|
+
$type: "at.todos.area";
|
|
33
|
+
createdAt?: l.DatetimeString;
|
|
34
|
+
deleted?: TodosDefs.Deletion;
|
|
35
|
+
title?: string;
|
|
36
|
+
tags?: (l.RecordKeyString)[];
|
|
37
|
+
placement?: Placement;
|
|
38
|
+
ext?: l.LexMap;
|
|
39
|
+
clock: Clock;
|
|
40
|
+
};
|
|
41
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
42
|
+
$type: "at.todos.area";
|
|
43
|
+
createdAt?: l.DatetimeString;
|
|
44
|
+
deleted?: TodosDefs.Deletion;
|
|
45
|
+
title?: string;
|
|
46
|
+
tags?: (l.RecordKeyString)[];
|
|
47
|
+
placement?: Placement;
|
|
48
|
+
ext?: l.LexMap;
|
|
49
|
+
clock: Clock;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
53
|
+
$type: "at.todos.area";
|
|
54
|
+
createdAt?: l.DatetimeString;
|
|
55
|
+
deleted?: TodosDefs.Deletion;
|
|
56
|
+
title?: string;
|
|
57
|
+
tags?: (l.RecordKeyString)[];
|
|
58
|
+
placement?: Placement;
|
|
59
|
+
ext?: l.LexMap;
|
|
60
|
+
clock: Clock;
|
|
61
|
+
};
|
|
62
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
63
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
64
|
+
$type: "at.todos.area";
|
|
65
|
+
createdAt?: l.DatetimeString;
|
|
66
|
+
deleted?: TodosDefs.Deletion;
|
|
67
|
+
title?: string;
|
|
68
|
+
tags?: (l.RecordKeyString)[];
|
|
69
|
+
placement?: Placement;
|
|
70
|
+
ext?: l.LexMap;
|
|
71
|
+
clock: Clock;
|
|
72
|
+
};
|
|
73
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
74
|
+
$type: "at.todos.area";
|
|
75
|
+
createdAt?: l.DatetimeString;
|
|
76
|
+
deleted?: TodosDefs.Deletion;
|
|
77
|
+
title?: string;
|
|
78
|
+
tags?: (l.RecordKeyString)[];
|
|
79
|
+
placement?: Placement;
|
|
80
|
+
ext?: l.LexMap;
|
|
81
|
+
clock: Clock;
|
|
82
|
+
}) | undefined;
|
|
83
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
84
|
+
$type: "at.todos.area";
|
|
85
|
+
createdAt?: l.DatetimeString;
|
|
86
|
+
deleted?: TodosDefs.Deletion;
|
|
87
|
+
title?: string;
|
|
88
|
+
tags?: (l.RecordKeyString)[];
|
|
89
|
+
placement?: Placement;
|
|
90
|
+
ext?: l.LexMap;
|
|
91
|
+
clock: Clock;
|
|
92
|
+
};
|
|
93
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
94
|
+
$type: "at.todos.area";
|
|
95
|
+
createdAt?: l.DatetimeString;
|
|
96
|
+
deleted?: TodosDefs.Deletion;
|
|
97
|
+
title?: string;
|
|
98
|
+
tags?: (l.RecordKeyString)[];
|
|
99
|
+
placement?: Placement;
|
|
100
|
+
ext?: l.LexMap;
|
|
101
|
+
clock: Clock;
|
|
102
|
+
};
|
|
103
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
104
|
+
$type: "at.todos.area";
|
|
105
|
+
createdAt?: l.DatetimeString;
|
|
106
|
+
deleted?: TodosDefs.Deletion;
|
|
107
|
+
title?: string;
|
|
108
|
+
tags?: (l.RecordKeyString)[];
|
|
109
|
+
placement?: Placement;
|
|
110
|
+
ext?: l.LexMap;
|
|
111
|
+
clock: Clock;
|
|
112
|
+
}>;
|
|
113
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
114
|
+
$type: "at.todos.area";
|
|
115
|
+
createdAt?: l.DatetimeString;
|
|
116
|
+
deleted?: TodosDefs.Deletion;
|
|
117
|
+
title?: string;
|
|
118
|
+
tags?: (l.RecordKeyString)[];
|
|
119
|
+
placement?: Placement;
|
|
120
|
+
ext?: l.LexMap;
|
|
121
|
+
clock: Clock;
|
|
122
|
+
};
|
|
123
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
124
|
+
$type: "at.todos.area";
|
|
125
|
+
createdAt?: l.DatetimeString;
|
|
126
|
+
deleted?: TodosDefs.Deletion;
|
|
127
|
+
title?: string;
|
|
128
|
+
tags?: (l.RecordKeyString)[];
|
|
129
|
+
placement?: Placement;
|
|
130
|
+
ext?: l.LexMap;
|
|
131
|
+
clock: Clock;
|
|
132
|
+
}>;
|
|
133
|
+
type Placement = {
|
|
134
|
+
$type?: "at.todos.area#placement";
|
|
135
|
+
"position"?: TodosDefs.Position;
|
|
136
|
+
};
|
|
137
|
+
export type { Placement };
|
|
138
|
+
declare const placement: l.TypedObjectSchema<"at.todos.area#placement", l.Validator<Placement, Placement>>;
|
|
139
|
+
export { placement };
|
|
140
|
+
type Clock = {
|
|
141
|
+
$type?: "at.todos.area#clock";
|
|
142
|
+
"title"?: l.TidString;
|
|
143
|
+
"tags"?: l.TidString;
|
|
144
|
+
"placement"?: l.TidString;
|
|
145
|
+
/**
|
|
146
|
+
* Clocks for app extensions: one TID per key in ext.
|
|
147
|
+
*/
|
|
148
|
+
"ext"?: l.LexMap;
|
|
149
|
+
};
|
|
150
|
+
export type { Clock };
|
|
151
|
+
declare const clock: l.TypedObjectSchema<"at.todos.area#clock", l.Validator<Clock, Clock>>;
|
|
152
|
+
export { clock };
|
|
153
|
+
//# sourceMappingURL=area.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/area.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,kBAAkB,CAAC;AAE9B,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,oIAAoI;AACpI,KAAK,IAAI,GAAG;IAAE,KAAK,EAAE,eAAe,CAAC;IAAA,WAAW,CAAC,EAAC,CAAC,CAAC,cAAc,CAAC;IAAA,SAAS,CAAC,EAAC,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e,CAAC,EAAE;gBAAc,SAAS;UAK5J,CAAC,CAAC,MAAM;WAAS,KAAK;EAyBwC,CAAC;AAExE,KAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,yBAAyB,CAAC;IAAA,UAAU,CAAC,EAAC,SAAS,CAAC,QAAQ,CAAA;CAAE,CAAC;AAEtF,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,QAAA,MAAM,SAAS,mFAAwM,CAAC;AAExN,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,KAAK,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAAA,OAAO,CAAC,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,MAAM,CAAC,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,WAAW,CAAC,EAAC,CAAC,CAAC,SAAS,CAAC;IAE7G;;OAEG;IACH,KAAK,CAAC,EAAC,CAAC,CAAC,MAAM,CAAA;CAAE,CAAC;AAEpB,YAAY,EAAE,KAAK,EAAE,CAAC;AAEtB,QAAA,MAAM,KAAK,uEAA6W,CAAC;AAEzX,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
import * as TodosDefs from "./defs.defs.js";
|
|
6
|
+
const $nsid = "at.todos.area";
|
|
7
|
+
export { $nsid };
|
|
8
|
+
/** One author's overlay for an area: an ongoing sphere of responsibility that groups projects and to-dos and is never completed. */
|
|
9
|
+
const main = /*#__PURE__*/ l.record("any", $nsid, /*#__PURE__*/ l.object({ "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "deleted": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => TodosDefs.deletion))), "title": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 10000, "maxGraphemes": 1000 })), "tags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "format": "record-key" }), { "maxLength": 50 })), "placement": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => placement))), "ext": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()), "clock": /*#__PURE__*/ l.ref((() => clock)) }));
|
|
10
|
+
export { main };
|
|
11
|
+
const $type = $nsid;
|
|
12
|
+
export { $type };
|
|
13
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
14
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
15
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
16
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
17
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
18
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
19
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
20
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
21
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
22
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
23
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
24
|
+
const placement = /*#__PURE__*/ l.typedObject($nsid, "placement", /*#__PURE__*/ l.object({ "position": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => TodosDefs.position))) }));
|
|
25
|
+
export { placement };
|
|
26
|
+
const clock = /*#__PURE__*/ l.typedObject($nsid, "clock", /*#__PURE__*/ l.object({ "title": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "tags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "placement": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "ext": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()) }));
|
|
27
|
+
export { clock };
|
|
28
|
+
//# sourceMappingURL=area.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/area.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,MAAM,KAAK,GAAG,eAAe,CAAC;AAI9B,OAAO,EAAE,KAAK,EAAE,CAAC;AAYjB,oIAAoI;AACpI,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAc,KAAK,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAqB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAQ,CAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,WAAW,EAAC,KAAK,EAAC,cAAc,EAAC,IAAI,EAAC,CAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,YAAY,EAAC,CAAC,EAAE,EAAC,WAAW,EAAC,EAAE,EAAC,CAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,C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,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,CAAC,CAAC,CAAC;AAEzX,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area.js","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/area.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklistItem.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/checklistItem.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
import * as TodosDefs from "./defs.defs.js";
|
|
3
|
+
declare const $nsid = "at.todos.checklistItem";
|
|
4
|
+
type $nsid = typeof $nsid;
|
|
5
|
+
export { $nsid };
|
|
6
|
+
/** One author's overlay for a checklist item inside a to-do. A to-do has at most 100. */
|
|
7
|
+
type Main = {
|
|
8
|
+
$type: "at.todos.checklistItem";
|
|
9
|
+
"createdAt"?: l.DatetimeString;
|
|
10
|
+
"deleted"?: TodosDefs.Deletion;
|
|
11
|
+
"title"?: string;
|
|
12
|
+
"status"?: TodosDefs.Status;
|
|
13
|
+
"placement"?: Placement;
|
|
14
|
+
/**
|
|
15
|
+
* App extensions. Keys are NSIDs; each value follows the lexicon its key names. Each key is its own register, clocked in clock.ext (SPEC.md §4.10).
|
|
16
|
+
*/
|
|
17
|
+
"ext"?: l.LexMap;
|
|
18
|
+
"clock": Clock;
|
|
19
|
+
};
|
|
20
|
+
export type { Main };
|
|
21
|
+
/** One author's overlay for a checklist item inside a to-do. A to-do has at most 100. */
|
|
22
|
+
declare const main: l.RecordSchema<"any", "at.todos.checklistItem", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
23
|
+
export { main };
|
|
24
|
+
declare const $type = "at.todos.checklistItem";
|
|
25
|
+
type $type = typeof $type;
|
|
26
|
+
export { $type };
|
|
27
|
+
export declare const $isTypeOf: <TValue extends {
|
|
28
|
+
$type?: unknown;
|
|
29
|
+
}>(value: TValue) => value is l.TypedRecord<"at.todos.checklistItem", TValue>;
|
|
30
|
+
export declare const $build: {
|
|
31
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
32
|
+
$type: "at.todos.checklistItem";
|
|
33
|
+
createdAt?: l.DatetimeString;
|
|
34
|
+
deleted?: TodosDefs.Deletion;
|
|
35
|
+
title?: string;
|
|
36
|
+
status?: TodosDefs.Status;
|
|
37
|
+
placement?: Placement;
|
|
38
|
+
ext?: l.LexMap;
|
|
39
|
+
clock: Clock;
|
|
40
|
+
};
|
|
41
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
42
|
+
$type: "at.todos.checklistItem";
|
|
43
|
+
createdAt?: l.DatetimeString;
|
|
44
|
+
deleted?: TodosDefs.Deletion;
|
|
45
|
+
title?: string;
|
|
46
|
+
status?: TodosDefs.Status;
|
|
47
|
+
placement?: Placement;
|
|
48
|
+
ext?: l.LexMap;
|
|
49
|
+
clock: Clock;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
53
|
+
$type: "at.todos.checklistItem";
|
|
54
|
+
createdAt?: l.DatetimeString;
|
|
55
|
+
deleted?: TodosDefs.Deletion;
|
|
56
|
+
title?: string;
|
|
57
|
+
status?: TodosDefs.Status;
|
|
58
|
+
placement?: Placement;
|
|
59
|
+
ext?: l.LexMap;
|
|
60
|
+
clock: Clock;
|
|
61
|
+
};
|
|
62
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
63
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
64
|
+
$type: "at.todos.checklistItem";
|
|
65
|
+
createdAt?: l.DatetimeString;
|
|
66
|
+
deleted?: TodosDefs.Deletion;
|
|
67
|
+
title?: string;
|
|
68
|
+
status?: TodosDefs.Status;
|
|
69
|
+
placement?: Placement;
|
|
70
|
+
ext?: l.LexMap;
|
|
71
|
+
clock: Clock;
|
|
72
|
+
};
|
|
73
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
74
|
+
$type: "at.todos.checklistItem";
|
|
75
|
+
createdAt?: l.DatetimeString;
|
|
76
|
+
deleted?: TodosDefs.Deletion;
|
|
77
|
+
title?: string;
|
|
78
|
+
status?: TodosDefs.Status;
|
|
79
|
+
placement?: Placement;
|
|
80
|
+
ext?: l.LexMap;
|
|
81
|
+
clock: Clock;
|
|
82
|
+
}) | undefined;
|
|
83
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
84
|
+
$type: "at.todos.checklistItem";
|
|
85
|
+
createdAt?: l.DatetimeString;
|
|
86
|
+
deleted?: TodosDefs.Deletion;
|
|
87
|
+
title?: string;
|
|
88
|
+
status?: TodosDefs.Status;
|
|
89
|
+
placement?: Placement;
|
|
90
|
+
ext?: l.LexMap;
|
|
91
|
+
clock: Clock;
|
|
92
|
+
};
|
|
93
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
94
|
+
$type: "at.todos.checklistItem";
|
|
95
|
+
createdAt?: l.DatetimeString;
|
|
96
|
+
deleted?: TodosDefs.Deletion;
|
|
97
|
+
title?: string;
|
|
98
|
+
status?: TodosDefs.Status;
|
|
99
|
+
placement?: Placement;
|
|
100
|
+
ext?: l.LexMap;
|
|
101
|
+
clock: Clock;
|
|
102
|
+
};
|
|
103
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
104
|
+
$type: "at.todos.checklistItem";
|
|
105
|
+
createdAt?: l.DatetimeString;
|
|
106
|
+
deleted?: TodosDefs.Deletion;
|
|
107
|
+
title?: string;
|
|
108
|
+
status?: TodosDefs.Status;
|
|
109
|
+
placement?: Placement;
|
|
110
|
+
ext?: l.LexMap;
|
|
111
|
+
clock: Clock;
|
|
112
|
+
}>;
|
|
113
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
114
|
+
$type: "at.todos.checklistItem";
|
|
115
|
+
createdAt?: l.DatetimeString;
|
|
116
|
+
deleted?: TodosDefs.Deletion;
|
|
117
|
+
title?: string;
|
|
118
|
+
status?: TodosDefs.Status;
|
|
119
|
+
placement?: Placement;
|
|
120
|
+
ext?: l.LexMap;
|
|
121
|
+
clock: Clock;
|
|
122
|
+
};
|
|
123
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
124
|
+
$type: "at.todos.checklistItem";
|
|
125
|
+
createdAt?: l.DatetimeString;
|
|
126
|
+
deleted?: TodosDefs.Deletion;
|
|
127
|
+
title?: string;
|
|
128
|
+
status?: TodosDefs.Status;
|
|
129
|
+
placement?: Placement;
|
|
130
|
+
ext?: l.LexMap;
|
|
131
|
+
clock: Clock;
|
|
132
|
+
}>;
|
|
133
|
+
type Placement = {
|
|
134
|
+
$type?: "at.todos.checklistItem#placement";
|
|
135
|
+
"item": l.RecordKeyString;
|
|
136
|
+
"position"?: TodosDefs.Position;
|
|
137
|
+
};
|
|
138
|
+
export type { Placement };
|
|
139
|
+
declare const placement: l.TypedObjectSchema<"at.todos.checklistItem#placement", l.Validator<Placement, Placement>>;
|
|
140
|
+
export { placement };
|
|
141
|
+
type Clock = {
|
|
142
|
+
$type?: "at.todos.checklistItem#clock";
|
|
143
|
+
"title"?: l.TidString;
|
|
144
|
+
"status"?: l.TidString;
|
|
145
|
+
"placement"?: l.TidString;
|
|
146
|
+
/**
|
|
147
|
+
* Clocks for app extensions: one TID per key in ext.
|
|
148
|
+
*/
|
|
149
|
+
"ext"?: l.LexMap;
|
|
150
|
+
};
|
|
151
|
+
export type { Clock };
|
|
152
|
+
declare const clock: l.TypedObjectSchema<"at.todos.checklistItem#clock", l.Validator<Clock, Clock>>;
|
|
153
|
+
export { clock };
|
|
154
|
+
//# sourceMappingURL=checklistItem.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklistItem.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/checklistItem.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,2BAA2B,CAAC;AAEvC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,yFAAyF;AACzF,KAAK,IAAI,GAAG;IAAE,KAAK,EAAE,wBAAwB,CAAC;IAAA,WAAW,CAAC,EAAC,CAAC,CAAC,cAAc,CAAC;IAAA,SAAS,CAAC,EAAC,SAAS,CAAC,QAAQ,CAAC;IAAA,OAAO,CAAC,EAAC,MAAM,CAAC;IAAA,QAAQ,CAAC,EAAC,SAAS,CAAC,MAAM,CAAC;IAAA,WAAW,CAAC,EAAC,SAAS,CAAC;IAE1K;;OAEG;IACH,KAAK,CAAC,EAAC,CAAC,CAAC,MAAM,CAAC;IAAA,OAAO,EAAC,KAAK,CAAA;CAAE,CAAC;AAElC,YAAY,EAAE,IAAI,EAAE,CAAC;AAErB,yFAAyF;AACzF,QAAA,MAAM,IAAI,wGAA+qB,CAAC;AAE1rB,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,KAAK,2BAAQ,CAAC;AAEpB,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,SAAS;;6EAAyC,CAAC;AAChE,eAAO,M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CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
import * as TodosDefs from "./defs.defs.js";
|
|
6
|
+
const $nsid = "at.todos.checklistItem";
|
|
7
|
+
export { $nsid };
|
|
8
|
+
/** One author's overlay for a checklist item inside a to-do. A to-do has at most 100. */
|
|
9
|
+
const main = /*#__PURE__*/ l.record("any", $nsid, /*#__PURE__*/ l.object({ "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "deleted": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => TodosDefs.deletion))), "title": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 10000, "maxGraphemes": 1000 })), "status": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => TodosDefs.status))), "placement": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => placement))), "ext": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()), "clock": /*#__PURE__*/ l.ref((() => clock)) }));
|
|
10
|
+
export { main };
|
|
11
|
+
const $type = $nsid;
|
|
12
|
+
export { $type };
|
|
13
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
14
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
15
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
16
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
17
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
18
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
19
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
20
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
21
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
22
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
23
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
24
|
+
const placement = /*#__PURE__*/ l.typedObject($nsid, "placement", /*#__PURE__*/ l.object({ "item": /*#__PURE__*/ l.string({ "format": "record-key" }), "position": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => TodosDefs.position))) }));
|
|
25
|
+
export { placement };
|
|
26
|
+
const clock = /*#__PURE__*/ l.typedObject($nsid, "clock", /*#__PURE__*/ l.object({ "title": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "status": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "placement": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "ext": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.lexMap()) }));
|
|
27
|
+
export { clock };
|
|
28
|
+
//# sourceMappingURL=checklistItem.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklistItem.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/checklistItem.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAC;AAYjB,yFAAyF;AACzF,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAc,KAAK,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,C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,CAAC;AAWrB,MAAM,KAAK,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAQ,KAAK,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,CAAC,CAAC,CAAC;AAE3X,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklistItem.js","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/checklistItem.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/at/todos/defs.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
|