@minca/core 0.1.18 → 0.3.1
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 +1 -1
- package/dist/identity/abilities.d.ts +0 -2
- package/dist/identity/abilities.d.ts.map +1 -1
- package/dist/identity/abilities.js +2 -2
- package/dist/identity/abilities.js.map +1 -1
- package/dist/identity/account-vault.d.ts +0 -2
- package/dist/identity/account-vault.d.ts.map +1 -1
- package/dist/identity/account-vault.js +1 -1
- package/dist/identity/account-vault.js.map +1 -1
- package/dist/identity/crypto-p256.d.ts +1 -1
- package/dist/identity/crypto-p256.d.ts.map +1 -1
- package/dist/identity/ucan.d.ts +2 -1
- package/dist/identity/ucan.d.ts.map +1 -1
- package/dist/identity/ucan.js +1 -1
- package/dist/identity/ucan.js.map +1 -1
- package/dist/inbox/inbox.d.ts +0 -21
- package/dist/inbox/inbox.d.ts.map +1 -1
- package/dist/inbox/inbox.js +4 -4
- package/dist/inbox/inbox.js.map +1 -1
- package/dist/inbox/index.d.ts +4 -5
- package/dist/inbox/index.d.ts.map +1 -1
- package/dist/inbox/index.js +2 -3
- package/dist/inbox/index.js.map +1 -1
- package/dist/inbox/names.d.ts +0 -4
- package/dist/inbox/names.d.ts.map +1 -1
- package/dist/inbox/names.js +2 -2
- package/dist/inbox/names.js.map +1 -1
- package/dist/index.d.ts +45 -71
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -53
- package/dist/index.js.map +1 -1
- package/dist/network/mesh.d.ts.map +1 -1
- package/dist/network/mesh.js +10 -0
- package/dist/network/mesh.js.map +1 -1
- package/dist/network/rendezvous.d.ts +2 -0
- package/dist/network/rendezvous.d.ts.map +1 -1
- package/dist/network/rendezvous.js +5 -0
- package/dist/network/rendezvous.js.map +1 -1
- package/dist/network/rtc-transport.d.ts.map +1 -1
- package/dist/network/rtc-transport.js +8 -3
- package/dist/network/rtc-transport.js.map +1 -1
- package/dist/node/carrier.d.ts +1 -33
- package/dist/node/carrier.d.ts.map +1 -1
- package/dist/node/carrier.js +38 -68
- package/dist/node/carrier.js.map +1 -1
- package/dist/node/index.d.ts +7 -14
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +4 -8
- package/dist/node/index.js.map +1 -1
- package/dist/node/node-carriers.d.ts.map +1 -1
- package/dist/node/node-carriers.js +21 -52
- package/dist/node/node-carriers.js.map +1 -1
- package/dist/node/node-context.d.ts +0 -2
- package/dist/node/node-context.d.ts.map +1 -1
- package/dist/node/node-context.js.map +1 -1
- package/dist/node/node-hosting.d.ts.map +1 -1
- package/dist/node/node-hosting.js +13 -4
- package/dist/node/node-hosting.js.map +1 -1
- package/dist/node/node-records.js +1 -1
- package/dist/node/node-records.js.map +1 -1
- package/dist/node/node.d.ts.map +1 -1
- package/dist/node/node.js +134 -36
- package/dist/node/node.js.map +1 -1
- package/dist/node/space-checks.d.ts +3 -1
- package/dist/node/space-checks.d.ts.map +1 -1
- package/dist/node/space-checks.js +7 -3
- package/dist/node/space-checks.js.map +1 -1
- package/dist/node/space-holding.d.ts +5 -0
- package/dist/node/space-holding.d.ts.map +1 -1
- package/dist/node/space-holding.js +90 -5
- package/dist/node/space-holding.js.map +1 -1
- package/dist/node/space-lines.d.ts +3 -0
- package/dist/node/space-lines.d.ts.map +1 -1
- package/dist/node/space-lines.js +13 -1
- package/dist/node/space-lines.js.map +1 -1
- package/dist/node/space-membership.js +4 -4
- package/dist/node/space-membership.js.map +1 -1
- package/dist/node/space-peers.d.ts +5 -2
- package/dist/node/space-peers.d.ts.map +1 -1
- package/dist/node/space-peers.js +3 -2
- package/dist/node/space-peers.js.map +1 -1
- package/dist/node/space-runtime.d.ts +3 -1
- package/dist/node/space-runtime.d.ts.map +1 -1
- package/dist/node/space-runtime.js +29 -8
- package/dist/node/space-runtime.js.map +1 -1
- package/dist/node/space-standing.d.ts +1 -1
- package/dist/node/space-standing.d.ts.map +1 -1
- package/dist/node/space-standing.js +11 -4
- package/dist/node/space-standing.js.map +1 -1
- package/dist/node/space-writing.d.ts.map +1 -1
- package/dist/node/space-writing.js +9 -0
- package/dist/node/space-writing.js.map +1 -1
- package/dist/node/stores.d.ts +9 -1
- package/dist/node/stores.d.ts.map +1 -1
- package/dist/node/stores.js +4 -2
- package/dist/node/stores.js.map +1 -1
- package/dist/node/types.d.ts +16 -5
- package/dist/node/types.d.ts.map +1 -1
- package/dist/node/worker.d.ts +14 -6
- package/dist/node/worker.d.ts.map +1 -1
- package/dist/node/worker.js +59 -20
- package/dist/node/worker.js.map +1 -1
- package/dist/node/writer-keys.d.ts +2 -2
- package/dist/node/writer-keys.d.ts.map +1 -1
- package/dist/node/writer-keys.js +12 -14
- package/dist/node/writer-keys.js.map +1 -1
- package/dist/privacy/direct.d.ts +0 -7
- package/dist/privacy/direct.d.ts.map +1 -1
- package/dist/privacy/direct.js +2 -2
- package/dist/privacy/direct.js.map +1 -1
- package/dist/query/filter.d.ts +0 -2
- package/dist/query/filter.d.ts.map +1 -1
- package/dist/query/filter.js +1 -1
- package/dist/query/filter.js.map +1 -1
- package/dist/query/types.d.ts +2 -6
- package/dist/query/types.d.ts.map +1 -1
- package/dist/query/types.js.map +1 -1
- package/dist/records/key.d.ts +2 -0
- package/dist/records/key.d.ts.map +1 -1
- package/dist/records/key.js +4 -0
- package/dist/records/key.js.map +1 -1
- package/dist/records/links.js +1 -1
- package/dist/schemas/direct.d.ts +70 -0
- package/dist/schemas/direct.d.ts.map +1 -0
- package/dist/schemas/direct.js +39 -0
- package/dist/schemas/direct.js.map +1 -0
- package/dist/schemas/index.d.ts +10 -73
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +8 -66
- package/dist/schemas/index.js.map +1 -1
- package/dist/session/account-hint.d.ts +2 -2
- package/dist/session/account-hint.d.ts.map +1 -1
- package/dist/session/account-hint.js +3 -3
- package/dist/session/account-hint.js.map +1 -1
- package/dist/session/connect.d.ts +12 -5
- package/dist/session/connect.d.ts.map +1 -1
- package/dist/session/connect.js +25 -21
- package/dist/session/connect.js.map +1 -1
- package/dist/session/connection.d.ts +26 -2
- package/dist/session/connection.d.ts.map +1 -1
- package/dist/session/connection.js +151 -11
- package/dist/session/connection.js.map +1 -1
- package/dist/session/hosting.d.ts +1 -7
- package/dist/session/hosting.d.ts.map +1 -1
- package/dist/session/hosting.js +3 -3
- package/dist/session/hosting.js.map +1 -1
- package/dist/session/index.d.ts +9 -14
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +8 -11
- package/dist/session/index.js.map +1 -1
- package/dist/session/stay-signed-in.d.ts +0 -1
- package/dist/session/stay-signed-in.d.ts.map +1 -1
- package/dist/session/stay-signed-in.js +1 -1
- package/dist/session/stay-signed-in.js.map +1 -1
- package/dist/space/account-registry.d.ts +0 -3
- package/dist/space/account-registry.d.ts.map +1 -1
- package/dist/space/account-registry.js.map +1 -1
- package/dist/space/own-automations.d.ts +51 -95
- package/dist/space/own-automations.d.ts.map +1 -1
- package/dist/space/own-automations.js +100 -295
- package/dist/space/own-automations.js.map +1 -1
- package/dist/space/pass.d.ts +8 -3
- package/dist/space/pass.d.ts.map +1 -1
- package/dist/space/pass.js +4 -3
- package/dist/space/pass.js.map +1 -1
- package/dist/space/space-manager.d.ts +1 -3
- package/dist/space/space-manager.d.ts.map +1 -1
- package/dist/space/space-manager.js +5 -7
- package/dist/space/space-manager.js.map +1 -1
- package/dist/storage/body-cache.d.ts +26 -0
- package/dist/storage/body-cache.d.ts.map +1 -0
- package/dist/storage/body-cache.js +41 -0
- package/dist/storage/body-cache.js.map +1 -0
- package/dist/storage/encrypted-adapter.d.ts +0 -5
- package/dist/storage/encrypted-adapter.d.ts.map +1 -1
- package/dist/storage/encrypted-adapter.js +1 -1
- package/dist/storage/encrypted-adapter.js.map +1 -1
- package/dist/storage/folder-adapter.d.ts +8 -2
- package/dist/storage/folder-adapter.d.ts.map +1 -1
- package/dist/storage/folder-adapter.js +43 -26
- package/dist/storage/folder-adapter.js.map +1 -1
- package/dist/storage/indexeddb-adapter.js +27 -2
- package/dist/storage/indexeddb-adapter.js.map +1 -1
- package/dist/storage/sqlite-adapter.d.ts +57 -0
- package/dist/storage/sqlite-adapter.d.ts.map +1 -0
- package/dist/storage/sqlite-adapter.js +213 -0
- package/dist/storage/sqlite-adapter.js.map +1 -0
- package/dist/storage/storage-provider.d.ts +21 -2
- package/dist/storage/storage-provider.d.ts.map +1 -1
- package/dist/storage/storage-provider.js +149 -56
- package/dist/storage/storage-provider.js.map +1 -1
- package/dist/sync/sync-engine.d.ts +10 -4
- package/dist/sync/sync-engine.d.ts.map +1 -1
- package/dist/sync/sync-engine.js +120 -38
- package/dist/sync/sync-engine.js.map +1 -1
- package/dist/sync/sync-messages.d.ts +4 -0
- package/dist/sync/sync-messages.d.ts.map +1 -1
- package/dist/sync/sync-messages.js.map +1 -1
- package/dist/types.d.ts +0 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +0 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/step.d.ts +8 -0
- package/dist/utils/step.d.ts.map +1 -0
- package/dist/utils/step.js +15 -0
- package/dist/utils/step.js.map +1 -0
- package/docs/README.md +1 -1
- package/docs/actions.md +41 -2
- package/docs/agents.md +13 -10
- package/docs/automations.md +16 -48
- package/docs/blueprints-and-guides.md +2 -2
- package/docs/bots.md +3 -3
- package/docs/building-an-app.md +16 -0
- package/docs/collections.md +2 -4
- package/docs/computed.md +1 -2
- package/docs/node.md +112 -39
- package/docs/proposing-collections.md +3 -3
- package/docs/sign-in.md +45 -52
- package/docs/spaces.md +0 -5
- package/docs/standard-library.md +20 -8
- package/docs/storage.md +78 -12
- package/docs/usernames.md +3 -3
- package/package.json +7 -13
- package/dist/elements/auth-styles.d.ts +0 -18
- package/dist/elements/auth-styles.d.ts.map +0 -1
- package/dist/elements/auth-styles.js +0 -206
- package/dist/elements/auth-styles.js.map +0 -1
- package/dist/elements/dom.d.ts +0 -29
- package/dist/elements/dom.d.ts.map +0 -1
- package/dist/elements/dom.js +0 -91
- package/dist/elements/dom.js.map +0 -1
- package/dist/elements/index.d.ts +0 -13
- package/dist/elements/index.d.ts.map +0 -1
- package/dist/elements/index.js +0 -11
- package/dist/elements/index.js.map +0 -1
- package/dist/elements/minca-auth.d.ts +0 -55
- package/dist/elements/minca-auth.d.ts.map +0 -1
- package/dist/elements/minca-auth.js +0 -768
- package/dist/elements/minca-auth.js.map +0 -1
- package/dist/node/actions.d.ts +0 -85
- package/dist/node/actions.d.ts.map +0 -1
- package/dist/node/actions.js +0 -921
- package/dist/node/actions.js.map +0 -1
- package/dist/node/host.d.ts +0 -187
- package/dist/node/host.d.ts.map +0 -1
- package/dist/node/host.js +0 -818
- package/dist/node/host.js.map +0 -1
- package/dist/node/usage.d.ts +0 -32
- package/dist/node/usage.d.ts.map +0 -1
- package/dist/node/usage.js +0 -217
- package/dist/node/usage.js.map +0 -1
- package/dist/node/watch-notifications.d.ts +0 -19
- package/dist/node/watch-notifications.d.ts.map +0 -1
- package/dist/node/watch-notifications.js +0 -128
- package/dist/node/watch-notifications.js.map +0 -1
- package/dist/schemas/automations.d.ts +0 -390
- package/dist/schemas/automations.d.ts.map +0 -1
- package/dist/schemas/automations.js +0 -619
- package/dist/schemas/automations.js.map +0 -1
- package/dist/schemas/blueprints.d.ts +0 -122
- package/dist/schemas/blueprints.d.ts.map +0 -1
- package/dist/schemas/blueprints.js +0 -337
- package/dist/schemas/blueprints.js.map +0 -1
- package/dist/schemas/choosing.d.ts +0 -19
- package/dist/schemas/choosing.d.ts.map +0 -1
- package/dist/schemas/choosing.js +0 -69
- package/dist/schemas/choosing.js.map +0 -1
- package/dist/schemas/connectors.d.ts +0 -202
- package/dist/schemas/connectors.d.ts.map +0 -1
- package/dist/schemas/connectors.js +0 -140
- package/dist/schemas/connectors.js.map +0 -1
- package/dist/schemas/cron.d.ts +0 -14
- package/dist/schemas/cron.d.ts.map +0 -1
- package/dist/schemas/cron.js +0 -75
- package/dist/schemas/cron.js.map +0 -1
- package/dist/schemas/geo.d.ts +0 -63
- package/dist/schemas/geo.d.ts.map +0 -1
- package/dist/schemas/geo.js +0 -131
- package/dist/schemas/geo.js.map +0 -1
- package/dist/schemas/guides.d.ts +0 -26
- package/dist/schemas/guides.d.ts.map +0 -1
- package/dist/schemas/guides.js +0 -33
- package/dist/schemas/guides.js.map +0 -1
- package/dist/schemas/library/annotations.d.ts +0 -616
- package/dist/schemas/library/annotations.d.ts.map +0 -1
- package/dist/schemas/library/annotations.js +0 -156
- package/dist/schemas/library/annotations.js.map +0 -1
- package/dist/schemas/library/collections.d.ts +0 -211
- package/dist/schemas/library/collections.d.ts.map +0 -1
- package/dist/schemas/library/collections.js +0 -57
- package/dist/schemas/library/collections.js.map +0 -1
- package/dist/schemas/library/community.d.ts +0 -1136
- package/dist/schemas/library/community.d.ts.map +0 -1
- package/dist/schemas/library/community.js +0 -315
- package/dist/schemas/library/community.js.map +0 -1
- package/dist/schemas/library/life.d.ts +0 -1440
- package/dist/schemas/library/life.d.ts.map +0 -1
- package/dist/schemas/library/life.js +0 -202
- package/dist/schemas/library/life.js.map +0 -1
- package/dist/schemas/library/media.d.ts +0 -1002
- package/dist/schemas/library/media.d.ts.map +0 -1
- package/dist/schemas/library/media.js +0 -110
- package/dist/schemas/library/media.js.map +0 -1
- package/dist/schemas/library/money.d.ts +0 -1221
- package/dist/schemas/library/money.d.ts.map +0 -1
- package/dist/schemas/library/money.js +0 -168
- package/dist/schemas/library/money.js.map +0 -1
- package/dist/schemas/library/planning.d.ts +0 -1107
- package/dist/schemas/library/planning.d.ts.map +0 -1
- package/dist/schemas/library/planning.js +0 -214
- package/dist/schemas/library/planning.js.map +0 -1
- package/dist/schemas/library/publishing.d.ts +0 -1499
- package/dist/schemas/library/publishing.d.ts.map +0 -1
- package/dist/schemas/library/publishing.js +0 -285
- package/dist/schemas/library/publishing.js.map +0 -1
- package/dist/schemas/library/social.d.ts +0 -1257
- package/dist/schemas/library/social.d.ts.map +0 -1
- package/dist/schemas/library/social.js +0 -147
- package/dist/schemas/library/social.js.map +0 -1
- package/dist/schemas/standard.d.ts +0 -21
- package/dist/schemas/standard.d.ts.map +0 -1
- package/dist/schemas/standard.js +0 -39
- package/dist/schemas/standard.js.map +0 -1
- package/dist/session/auth.d.ts +0 -411
- package/dist/session/auth.d.ts.map +0 -1
- package/dist/session/auth.js +0 -1529
- package/dist/session/auth.js.map +0 -1
- package/dist/session/credentials.d.ts +0 -30
- package/dist/session/credentials.d.ts.map +0 -1
- package/dist/session/credentials.js +0 -63
- package/dist/session/credentials.js.map +0 -1
- package/dist/session/password-strength.d.ts +0 -22
- package/dist/session/password-strength.d.ts.map +0 -1
- package/dist/session/password-strength.js +0 -130
- package/dist/session/password-strength.js.map +0 -1
|
@@ -1,1440 +0,0 @@
|
|
|
1
|
-
import type { BodyOf } from '../../query/types.js';
|
|
2
|
-
/** A place worth remembering: a café, a campsite, a friend's house. */
|
|
3
|
-
export declare const place: {
|
|
4
|
-
readonly name: "std.place";
|
|
5
|
-
readonly title: "Place";
|
|
6
|
-
readonly description: "A place: a name, an address, a point on the map.";
|
|
7
|
-
readonly schema: {
|
|
8
|
-
readonly type: "object";
|
|
9
|
-
readonly properties: {
|
|
10
|
-
readonly address: {
|
|
11
|
-
type: 'object';
|
|
12
|
-
properties: {
|
|
13
|
-
street: {
|
|
14
|
-
type: 'string';
|
|
15
|
-
minLength?: number | undefined;
|
|
16
|
-
maxLength: number;
|
|
17
|
-
};
|
|
18
|
-
locality: {
|
|
19
|
-
type: 'string';
|
|
20
|
-
minLength?: number | undefined;
|
|
21
|
-
maxLength: number;
|
|
22
|
-
};
|
|
23
|
-
region: {
|
|
24
|
-
type: 'string';
|
|
25
|
-
minLength?: number | undefined;
|
|
26
|
-
maxLength: number;
|
|
27
|
-
};
|
|
28
|
-
postcode: {
|
|
29
|
-
type: 'string';
|
|
30
|
-
minLength?: number | undefined;
|
|
31
|
-
maxLength: number;
|
|
32
|
-
};
|
|
33
|
-
country: {
|
|
34
|
-
type: 'string';
|
|
35
|
-
minLength?: number | undefined;
|
|
36
|
-
maxLength: number;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
readonly lat: {
|
|
41
|
-
type: 'number';
|
|
42
|
-
minimum: number;
|
|
43
|
-
maximum: number;
|
|
44
|
-
};
|
|
45
|
-
readonly lon: {
|
|
46
|
-
type: 'number';
|
|
47
|
-
minimum: number;
|
|
48
|
-
maximum: number;
|
|
49
|
-
};
|
|
50
|
-
readonly cells: {
|
|
51
|
-
type: 'array';
|
|
52
|
-
maxItems: number;
|
|
53
|
-
items: {
|
|
54
|
-
type: 'string';
|
|
55
|
-
minLength?: number | undefined;
|
|
56
|
-
maxLength: number;
|
|
57
|
-
};
|
|
58
|
-
description: string;
|
|
59
|
-
};
|
|
60
|
-
readonly name: {
|
|
61
|
-
type: 'string';
|
|
62
|
-
minLength?: number | undefined;
|
|
63
|
-
maxLength: number;
|
|
64
|
-
};
|
|
65
|
-
readonly category: {
|
|
66
|
-
type: 'string';
|
|
67
|
-
minLength?: number | undefined;
|
|
68
|
-
maxLength: number;
|
|
69
|
-
};
|
|
70
|
-
readonly url: {
|
|
71
|
-
type: 'string';
|
|
72
|
-
minLength?: number | undefined;
|
|
73
|
-
maxLength: number;
|
|
74
|
-
} & {
|
|
75
|
-
readonly 'x-kind': "url";
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
readonly required: readonly ["name"];
|
|
79
|
-
};
|
|
80
|
-
readonly topics: readonly ["cells"];
|
|
81
|
-
} & import("../../index.js").Typed<{
|
|
82
|
-
readonly address?: {
|
|
83
|
-
readonly street?: string | undefined;
|
|
84
|
-
readonly locality?: string | undefined;
|
|
85
|
-
readonly region?: string | undefined;
|
|
86
|
-
readonly postcode?: string | undefined;
|
|
87
|
-
readonly country?: string | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
readonly lat?: number | undefined;
|
|
90
|
-
readonly lon?: number | undefined;
|
|
91
|
-
readonly cells?: readonly string[] | undefined;
|
|
92
|
-
readonly name: string;
|
|
93
|
-
readonly category?: string | undefined;
|
|
94
|
-
readonly url?: string | undefined;
|
|
95
|
-
}>;
|
|
96
|
-
export type PlaceEntry = BodyOf<typeof place>;
|
|
97
|
-
/** Having been somewhere. */
|
|
98
|
-
export declare const visit: {
|
|
99
|
-
readonly name: "std.visit";
|
|
100
|
-
readonly title: "Visit";
|
|
101
|
-
readonly description: "Someone having been at a place.";
|
|
102
|
-
readonly schema: {
|
|
103
|
-
readonly type: "object";
|
|
104
|
-
readonly properties: {
|
|
105
|
-
at: {
|
|
106
|
-
type: 'string';
|
|
107
|
-
minLength?: number | undefined;
|
|
108
|
-
maxLength: number;
|
|
109
|
-
} & {
|
|
110
|
-
readonly 'x-kind': "when";
|
|
111
|
-
};
|
|
112
|
-
note: {
|
|
113
|
-
type: 'string';
|
|
114
|
-
minLength?: number | undefined;
|
|
115
|
-
maxLength: number;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
readonly required: readonly ["at"];
|
|
119
|
-
};
|
|
120
|
-
readonly links: {
|
|
121
|
-
about: import("../../records/links.js").LinkDeclaration;
|
|
122
|
-
};
|
|
123
|
-
} & import("../../index.js").Typed<{
|
|
124
|
-
readonly at: string;
|
|
125
|
-
readonly note?: string | undefined;
|
|
126
|
-
}>;
|
|
127
|
-
export type Visit = BodyOf<typeof visit>;
|
|
128
|
-
/** A trip; its plan is a `std.list` of kind "itinerary" with items about its events and places. */
|
|
129
|
-
export declare const trip: {
|
|
130
|
-
readonly name: "std.trip";
|
|
131
|
-
readonly title: "Trip";
|
|
132
|
-
readonly description: "A trip, with dates. Its plan is a std.list of kind \"itinerary\", with items about its events and places.";
|
|
133
|
-
readonly schema: {
|
|
134
|
-
readonly type: "object";
|
|
135
|
-
readonly properties: {
|
|
136
|
-
title: {
|
|
137
|
-
type: 'string';
|
|
138
|
-
minLength?: number | undefined;
|
|
139
|
-
maxLength: number;
|
|
140
|
-
};
|
|
141
|
-
start: {
|
|
142
|
-
type: 'string';
|
|
143
|
-
minLength: number;
|
|
144
|
-
maxLength: number;
|
|
145
|
-
} & {
|
|
146
|
-
readonly 'x-kind': "day";
|
|
147
|
-
};
|
|
148
|
-
end: {
|
|
149
|
-
type: 'string';
|
|
150
|
-
minLength: number;
|
|
151
|
-
maxLength: number;
|
|
152
|
-
} & {
|
|
153
|
-
readonly 'x-kind': "day";
|
|
154
|
-
};
|
|
155
|
-
note: {
|
|
156
|
-
type: 'string';
|
|
157
|
-
minLength?: number | undefined;
|
|
158
|
-
maxLength: number;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
readonly required: readonly ["title"];
|
|
162
|
-
};
|
|
163
|
-
} & import("../../index.js").Typed<{
|
|
164
|
-
readonly title: string;
|
|
165
|
-
readonly start?: string | undefined;
|
|
166
|
-
readonly end?: string | undefined;
|
|
167
|
-
readonly note?: string | undefined;
|
|
168
|
-
}>;
|
|
169
|
-
export type Trip = BodyOf<typeof trip>;
|
|
170
|
-
/** Where someone is now, shared live: one per person, overwritten as they move. */
|
|
171
|
-
export declare const location: {
|
|
172
|
-
readonly name: "std.location";
|
|
173
|
-
readonly title: "Location";
|
|
174
|
-
readonly description: "Where someone is now: one per person.";
|
|
175
|
-
readonly schema: {
|
|
176
|
-
readonly type: "object";
|
|
177
|
-
readonly properties: {
|
|
178
|
-
readonly lat: {
|
|
179
|
-
type: 'number';
|
|
180
|
-
minimum: number;
|
|
181
|
-
maximum: number;
|
|
182
|
-
};
|
|
183
|
-
readonly lon: {
|
|
184
|
-
type: 'number';
|
|
185
|
-
minimum: number;
|
|
186
|
-
maximum: number;
|
|
187
|
-
};
|
|
188
|
-
readonly accuracy: {
|
|
189
|
-
readonly type: "number";
|
|
190
|
-
readonly minimum: 0;
|
|
191
|
-
readonly description: "Metres";
|
|
192
|
-
};
|
|
193
|
-
readonly at: {
|
|
194
|
-
type: 'string';
|
|
195
|
-
minLength?: number | undefined;
|
|
196
|
-
maxLength: number;
|
|
197
|
-
} & {
|
|
198
|
-
readonly 'x-kind': "when";
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
readonly required: readonly ["lat", "lon", "at"];
|
|
202
|
-
};
|
|
203
|
-
readonly rules: {
|
|
204
|
-
readonly onePer: readonly ["@author"];
|
|
205
|
-
};
|
|
206
|
-
} & import("../../index.js").Typed<{
|
|
207
|
-
readonly lat: number;
|
|
208
|
-
readonly lon: number;
|
|
209
|
-
readonly accuracy?: number | undefined;
|
|
210
|
-
readonly at: string;
|
|
211
|
-
}>;
|
|
212
|
-
export type Location = BodyOf<typeof location>;
|
|
213
|
-
/** A recipe, after schema.org's. */
|
|
214
|
-
export declare const recipe: {
|
|
215
|
-
readonly name: "std.recipe";
|
|
216
|
-
readonly title: "Recipe";
|
|
217
|
-
readonly description: "A recipe: ingredients and steps.";
|
|
218
|
-
readonly schema: {
|
|
219
|
-
readonly type: "object";
|
|
220
|
-
readonly properties: {
|
|
221
|
-
readonly title: {
|
|
222
|
-
type: 'string';
|
|
223
|
-
minLength?: number | undefined;
|
|
224
|
-
maxLength: number;
|
|
225
|
-
};
|
|
226
|
-
readonly description: {
|
|
227
|
-
type: 'string';
|
|
228
|
-
minLength?: number | undefined;
|
|
229
|
-
maxLength: number;
|
|
230
|
-
};
|
|
231
|
-
readonly ingredients: {
|
|
232
|
-
readonly type: "array";
|
|
233
|
-
readonly maxItems: 200;
|
|
234
|
-
readonly items: {
|
|
235
|
-
readonly type: "object";
|
|
236
|
-
readonly properties: {
|
|
237
|
-
readonly text: {
|
|
238
|
-
type: 'string';
|
|
239
|
-
minLength?: number | undefined;
|
|
240
|
-
maxLength: number;
|
|
241
|
-
};
|
|
242
|
-
readonly quantity: {
|
|
243
|
-
readonly type: "number";
|
|
244
|
-
readonly minimum: 0;
|
|
245
|
-
};
|
|
246
|
-
readonly unit: {
|
|
247
|
-
type: 'string';
|
|
248
|
-
minLength?: number | undefined;
|
|
249
|
-
maxLength: number;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
readonly required: readonly ["text"];
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
readonly steps: {
|
|
256
|
-
readonly type: "array";
|
|
257
|
-
readonly maxItems: 200;
|
|
258
|
-
readonly items: {
|
|
259
|
-
type: 'string';
|
|
260
|
-
minLength?: number | undefined;
|
|
261
|
-
maxLength: number;
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
readonly servings: {
|
|
265
|
-
type: 'integer';
|
|
266
|
-
minimum: number;
|
|
267
|
-
maximum?: number | undefined;
|
|
268
|
-
};
|
|
269
|
-
readonly prepMinutes: {
|
|
270
|
-
type: 'integer';
|
|
271
|
-
minimum: number;
|
|
272
|
-
maximum?: number | undefined;
|
|
273
|
-
};
|
|
274
|
-
readonly cookMinutes: {
|
|
275
|
-
type: 'integer';
|
|
276
|
-
minimum: number;
|
|
277
|
-
maximum?: number | undefined;
|
|
278
|
-
};
|
|
279
|
-
readonly image: {
|
|
280
|
-
type: 'object';
|
|
281
|
-
properties: {
|
|
282
|
-
blob: {
|
|
283
|
-
type: 'object';
|
|
284
|
-
properties: {
|
|
285
|
-
hash: {
|
|
286
|
-
type: 'string';
|
|
287
|
-
minLength: number;
|
|
288
|
-
maxLength: number;
|
|
289
|
-
};
|
|
290
|
-
size: {
|
|
291
|
-
type: 'integer';
|
|
292
|
-
minimum: number;
|
|
293
|
-
};
|
|
294
|
-
mime: {
|
|
295
|
-
type: 'string';
|
|
296
|
-
minLength?: number | undefined;
|
|
297
|
-
maxLength: number;
|
|
298
|
-
};
|
|
299
|
-
name: {
|
|
300
|
-
type: 'string';
|
|
301
|
-
minLength?: number | undefined;
|
|
302
|
-
maxLength: number;
|
|
303
|
-
};
|
|
304
|
-
key: {
|
|
305
|
-
type: 'string';
|
|
306
|
-
minLength: number;
|
|
307
|
-
maxLength: number;
|
|
308
|
-
};
|
|
309
|
-
salt: {
|
|
310
|
-
type: 'string';
|
|
311
|
-
minLength: number;
|
|
312
|
-
maxLength: number;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
required: readonly ["hash", "size", "mime"];
|
|
316
|
-
} & {
|
|
317
|
-
readonly 'x-kind': "file";
|
|
318
|
-
};
|
|
319
|
-
alt: {
|
|
320
|
-
type: 'string';
|
|
321
|
-
minLength?: number | undefined;
|
|
322
|
-
maxLength: number;
|
|
323
|
-
};
|
|
324
|
-
};
|
|
325
|
-
required: readonly ["blob"];
|
|
326
|
-
} & {
|
|
327
|
-
readonly 'x-kind': "image";
|
|
328
|
-
};
|
|
329
|
-
readonly source: {
|
|
330
|
-
type: 'string';
|
|
331
|
-
minLength?: number | undefined;
|
|
332
|
-
maxLength: number;
|
|
333
|
-
} & {
|
|
334
|
-
readonly 'x-kind': "url";
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
readonly required: readonly ["title"];
|
|
338
|
-
};
|
|
339
|
-
} & import("../../index.js").Typed<{
|
|
340
|
-
readonly title: string;
|
|
341
|
-
readonly description?: string | undefined;
|
|
342
|
-
readonly ingredients?: readonly {
|
|
343
|
-
readonly text: string;
|
|
344
|
-
readonly quantity?: number | undefined;
|
|
345
|
-
readonly unit?: string | undefined;
|
|
346
|
-
}[] | undefined;
|
|
347
|
-
readonly steps?: readonly string[] | undefined;
|
|
348
|
-
readonly servings?: number | undefined;
|
|
349
|
-
readonly prepMinutes?: number | undefined;
|
|
350
|
-
readonly cookMinutes?: number | undefined;
|
|
351
|
-
readonly image?: {
|
|
352
|
-
readonly blob: {
|
|
353
|
-
readonly hash: string;
|
|
354
|
-
readonly size: number;
|
|
355
|
-
readonly mime: string;
|
|
356
|
-
readonly name?: string | undefined;
|
|
357
|
-
readonly key?: string | undefined;
|
|
358
|
-
readonly salt?: string | undefined;
|
|
359
|
-
};
|
|
360
|
-
readonly alt?: string | undefined;
|
|
361
|
-
} | undefined;
|
|
362
|
-
readonly source?: string | undefined;
|
|
363
|
-
}>;
|
|
364
|
-
export type Recipe = BodyOf<typeof recipe>;
|
|
365
|
-
/** A meal on the plan: one per day per meal, and anyone may change it. */
|
|
366
|
-
export declare const meal: {
|
|
367
|
-
readonly name: "std.meal";
|
|
368
|
-
readonly title: "Meal";
|
|
369
|
-
readonly description: "A planned meal: one per day per meal.";
|
|
370
|
-
readonly schema: {
|
|
371
|
-
readonly type: "object";
|
|
372
|
-
readonly properties: {
|
|
373
|
-
date: {
|
|
374
|
-
type: 'string';
|
|
375
|
-
minLength: number;
|
|
376
|
-
maxLength: number;
|
|
377
|
-
} & {
|
|
378
|
-
readonly 'x-kind': "day";
|
|
379
|
-
};
|
|
380
|
-
meal: {
|
|
381
|
-
enum: ("breakfast" | "dinner" | "lunch" | "snack")[];
|
|
382
|
-
};
|
|
383
|
-
note: {
|
|
384
|
-
type: 'string';
|
|
385
|
-
minLength?: number | undefined;
|
|
386
|
-
maxLength: number;
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
readonly required: readonly ["date", "meal"];
|
|
390
|
-
};
|
|
391
|
-
readonly links: {
|
|
392
|
-
about: import("../../records/links.js").LinkDeclaration;
|
|
393
|
-
};
|
|
394
|
-
readonly rules: {
|
|
395
|
-
readonly onePer: readonly ["date", "meal"];
|
|
396
|
-
};
|
|
397
|
-
} & import("../../index.js").Typed<{
|
|
398
|
-
readonly date: string;
|
|
399
|
-
readonly meal: "breakfast" | "dinner" | "lunch" | "snack";
|
|
400
|
-
readonly note?: string | undefined;
|
|
401
|
-
}>;
|
|
402
|
-
export type Meal = BodyOf<typeof meal>;
|
|
403
|
-
/** A day's journal entry: one per person per day. */
|
|
404
|
-
export declare const journalEntry: {
|
|
405
|
-
readonly name: "std.journal-entry";
|
|
406
|
-
readonly title: "Journal entry";
|
|
407
|
-
readonly description: "What someone wrote about a day: one entry per day.";
|
|
408
|
-
readonly schema: {
|
|
409
|
-
readonly type: "object";
|
|
410
|
-
readonly properties: {
|
|
411
|
-
date: {
|
|
412
|
-
type: 'string';
|
|
413
|
-
minLength: number;
|
|
414
|
-
maxLength: number;
|
|
415
|
-
} & {
|
|
416
|
-
readonly 'x-kind': "day";
|
|
417
|
-
};
|
|
418
|
-
content: {
|
|
419
|
-
type: 'string';
|
|
420
|
-
minLength?: number | undefined;
|
|
421
|
-
maxLength: number;
|
|
422
|
-
};
|
|
423
|
-
mood: {
|
|
424
|
-
type: 'string';
|
|
425
|
-
minLength?: number | undefined;
|
|
426
|
-
maxLength: number;
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
readonly required: readonly ["date"];
|
|
430
|
-
};
|
|
431
|
-
readonly rules: {
|
|
432
|
-
readonly onePer: readonly ["@author", "date"];
|
|
433
|
-
};
|
|
434
|
-
} & import("../../index.js").Typed<{
|
|
435
|
-
readonly date: string;
|
|
436
|
-
readonly content?: string | undefined;
|
|
437
|
-
readonly mood?: string | undefined;
|
|
438
|
-
}>;
|
|
439
|
-
export type JournalEntry = BodyOf<typeof journalEntry>;
|
|
440
|
-
/** A measurement at a moment: a weight, a blood pressure, a meter reading. */
|
|
441
|
-
export declare const measurement: {
|
|
442
|
-
readonly name: "std.measurement";
|
|
443
|
-
readonly title: "Measurement";
|
|
444
|
-
readonly description: "Something measured at a moment: a kind, a value, a unit.";
|
|
445
|
-
readonly schema: {
|
|
446
|
-
readonly type: "object";
|
|
447
|
-
readonly properties: {
|
|
448
|
-
readonly kind: {
|
|
449
|
-
type: 'string';
|
|
450
|
-
minLength?: number | undefined;
|
|
451
|
-
maxLength: number;
|
|
452
|
-
};
|
|
453
|
-
readonly value: {
|
|
454
|
-
readonly type: "number";
|
|
455
|
-
};
|
|
456
|
-
readonly unit: {
|
|
457
|
-
type: 'string';
|
|
458
|
-
minLength?: number | undefined;
|
|
459
|
-
maxLength: number;
|
|
460
|
-
};
|
|
461
|
-
readonly at: {
|
|
462
|
-
type: 'string';
|
|
463
|
-
minLength?: number | undefined;
|
|
464
|
-
maxLength: number;
|
|
465
|
-
} & {
|
|
466
|
-
readonly 'x-kind': "when";
|
|
467
|
-
};
|
|
468
|
-
readonly note: {
|
|
469
|
-
type: 'string';
|
|
470
|
-
minLength?: number | undefined;
|
|
471
|
-
maxLength: number;
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
readonly required: readonly ["kind", "value", "unit", "at"];
|
|
475
|
-
};
|
|
476
|
-
} & import("../../index.js").Typed<{
|
|
477
|
-
readonly kind: string;
|
|
478
|
-
readonly value: number;
|
|
479
|
-
readonly unit: string;
|
|
480
|
-
readonly at: string;
|
|
481
|
-
readonly note?: string | undefined;
|
|
482
|
-
}>;
|
|
483
|
-
export type Measurement = BodyOf<typeof measurement>;
|
|
484
|
-
/** A workout: a run, a ride, a session at the gym. */
|
|
485
|
-
export declare const workout: {
|
|
486
|
-
readonly name: "std.workout";
|
|
487
|
-
readonly title: "Workout";
|
|
488
|
-
readonly description: "A run, a ride, a session: when, how long, how far.";
|
|
489
|
-
readonly schema: {
|
|
490
|
-
readonly type: "object";
|
|
491
|
-
readonly properties: {
|
|
492
|
-
readonly type: {
|
|
493
|
-
type: 'string';
|
|
494
|
-
minLength?: number | undefined;
|
|
495
|
-
maxLength: number;
|
|
496
|
-
};
|
|
497
|
-
readonly start: {
|
|
498
|
-
type: 'string';
|
|
499
|
-
minLength?: number | undefined;
|
|
500
|
-
maxLength: number;
|
|
501
|
-
} & {
|
|
502
|
-
readonly 'x-kind': "when";
|
|
503
|
-
};
|
|
504
|
-
readonly duration: {
|
|
505
|
-
readonly type: "number";
|
|
506
|
-
readonly minimum: 0;
|
|
507
|
-
readonly description: "Seconds";
|
|
508
|
-
};
|
|
509
|
-
readonly distance: {
|
|
510
|
-
readonly type: "number";
|
|
511
|
-
readonly minimum: 0;
|
|
512
|
-
readonly description: "Metres";
|
|
513
|
-
};
|
|
514
|
-
readonly route: {
|
|
515
|
-
type: 'object';
|
|
516
|
-
properties: {
|
|
517
|
-
hash: {
|
|
518
|
-
type: 'string';
|
|
519
|
-
minLength: number;
|
|
520
|
-
maxLength: number;
|
|
521
|
-
};
|
|
522
|
-
size: {
|
|
523
|
-
type: 'integer';
|
|
524
|
-
minimum: number;
|
|
525
|
-
};
|
|
526
|
-
mime: {
|
|
527
|
-
type: 'string';
|
|
528
|
-
minLength?: number | undefined;
|
|
529
|
-
maxLength: number;
|
|
530
|
-
};
|
|
531
|
-
name: {
|
|
532
|
-
type: 'string';
|
|
533
|
-
minLength?: number | undefined;
|
|
534
|
-
maxLength: number;
|
|
535
|
-
};
|
|
536
|
-
key: {
|
|
537
|
-
type: 'string';
|
|
538
|
-
minLength: number;
|
|
539
|
-
maxLength: number;
|
|
540
|
-
};
|
|
541
|
-
salt: {
|
|
542
|
-
type: 'string';
|
|
543
|
-
minLength: number;
|
|
544
|
-
maxLength: number;
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
required: readonly ["hash", "size", "mime"];
|
|
548
|
-
} & {
|
|
549
|
-
readonly 'x-kind': "file";
|
|
550
|
-
};
|
|
551
|
-
readonly note: {
|
|
552
|
-
type: 'string';
|
|
553
|
-
minLength?: number | undefined;
|
|
554
|
-
maxLength: number;
|
|
555
|
-
};
|
|
556
|
-
};
|
|
557
|
-
readonly required: readonly ["type", "start"];
|
|
558
|
-
};
|
|
559
|
-
} & import("../../index.js").Typed<{
|
|
560
|
-
readonly type: string;
|
|
561
|
-
readonly start: string;
|
|
562
|
-
readonly duration?: number | undefined;
|
|
563
|
-
readonly distance?: number | undefined;
|
|
564
|
-
readonly route?: {
|
|
565
|
-
readonly hash: string;
|
|
566
|
-
readonly size: number;
|
|
567
|
-
readonly mime: string;
|
|
568
|
-
readonly name?: string | undefined;
|
|
569
|
-
readonly key?: string | undefined;
|
|
570
|
-
readonly salt?: string | undefined;
|
|
571
|
-
} | undefined;
|
|
572
|
-
readonly note?: string | undefined;
|
|
573
|
-
}>;
|
|
574
|
-
export type Workout = BodyOf<typeof workout>;
|
|
575
|
-
/** A book, film, show, album or game, known by its ids. Progress is `about` it. */
|
|
576
|
-
export declare const work: {
|
|
577
|
-
readonly name: "std.work";
|
|
578
|
-
readonly title: "Work";
|
|
579
|
-
readonly description: "A book, film, show, album or game.";
|
|
580
|
-
readonly schema: {
|
|
581
|
-
readonly type: "object";
|
|
582
|
-
readonly properties: {
|
|
583
|
-
readonly kind: {
|
|
584
|
-
enum: ("album" | "book" | "film" | "game" | "other" | "podcast" | "show")[];
|
|
585
|
-
};
|
|
586
|
-
readonly title: {
|
|
587
|
-
type: 'string';
|
|
588
|
-
minLength?: number | undefined;
|
|
589
|
-
maxLength: number;
|
|
590
|
-
};
|
|
591
|
-
readonly creators: {
|
|
592
|
-
readonly type: "array";
|
|
593
|
-
readonly maxItems: 20;
|
|
594
|
-
readonly items: {
|
|
595
|
-
type: 'string';
|
|
596
|
-
minLength?: number | undefined;
|
|
597
|
-
maxLength: number;
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
readonly year: {
|
|
601
|
-
type: 'integer';
|
|
602
|
-
minimum: number;
|
|
603
|
-
maximum?: number | undefined;
|
|
604
|
-
};
|
|
605
|
-
readonly ids: {
|
|
606
|
-
readonly type: "object";
|
|
607
|
-
readonly properties: {
|
|
608
|
-
isbn: {
|
|
609
|
-
type: 'string';
|
|
610
|
-
minLength?: number | undefined;
|
|
611
|
-
maxLength: number;
|
|
612
|
-
};
|
|
613
|
-
imdb: {
|
|
614
|
-
type: 'string';
|
|
615
|
-
minLength?: number | undefined;
|
|
616
|
-
maxLength: number;
|
|
617
|
-
};
|
|
618
|
-
mbid: {
|
|
619
|
-
type: 'string';
|
|
620
|
-
minLength?: number | undefined;
|
|
621
|
-
maxLength: number;
|
|
622
|
-
};
|
|
623
|
-
wikidata: {
|
|
624
|
-
type: 'string';
|
|
625
|
-
minLength?: number | undefined;
|
|
626
|
-
maxLength: number;
|
|
627
|
-
};
|
|
628
|
-
};
|
|
629
|
-
};
|
|
630
|
-
readonly cover: {
|
|
631
|
-
type: 'object';
|
|
632
|
-
properties: {
|
|
633
|
-
hash: {
|
|
634
|
-
type: 'string';
|
|
635
|
-
minLength: number;
|
|
636
|
-
maxLength: number;
|
|
637
|
-
};
|
|
638
|
-
size: {
|
|
639
|
-
type: 'integer';
|
|
640
|
-
minimum: number;
|
|
641
|
-
};
|
|
642
|
-
mime: {
|
|
643
|
-
type: 'string';
|
|
644
|
-
minLength?: number | undefined;
|
|
645
|
-
maxLength: number;
|
|
646
|
-
};
|
|
647
|
-
name: {
|
|
648
|
-
type: 'string';
|
|
649
|
-
minLength?: number | undefined;
|
|
650
|
-
maxLength: number;
|
|
651
|
-
};
|
|
652
|
-
key: {
|
|
653
|
-
type: 'string';
|
|
654
|
-
minLength: number;
|
|
655
|
-
maxLength: number;
|
|
656
|
-
};
|
|
657
|
-
salt: {
|
|
658
|
-
type: 'string';
|
|
659
|
-
minLength: number;
|
|
660
|
-
maxLength: number;
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
required: readonly ["hash", "size", "mime"];
|
|
664
|
-
} & {
|
|
665
|
-
readonly 'x-kind': "file";
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
|
-
readonly required: readonly ["kind", "title"];
|
|
669
|
-
};
|
|
670
|
-
} & import("../../index.js").Typed<{
|
|
671
|
-
readonly kind: "album" | "book" | "film" | "game" | "other" | "podcast" | "show";
|
|
672
|
-
readonly title: string;
|
|
673
|
-
readonly creators?: readonly string[] | undefined;
|
|
674
|
-
readonly year?: number | undefined;
|
|
675
|
-
readonly ids?: {
|
|
676
|
-
readonly isbn?: string | undefined;
|
|
677
|
-
readonly imdb?: string | undefined;
|
|
678
|
-
readonly mbid?: string | undefined;
|
|
679
|
-
readonly wikidata?: string | undefined;
|
|
680
|
-
} | undefined;
|
|
681
|
-
readonly cover?: {
|
|
682
|
-
readonly hash: string;
|
|
683
|
-
readonly size: number;
|
|
684
|
-
readonly mime: string;
|
|
685
|
-
readonly name?: string | undefined;
|
|
686
|
-
readonly key?: string | undefined;
|
|
687
|
-
readonly salt?: string | undefined;
|
|
688
|
-
} | undefined;
|
|
689
|
-
}>;
|
|
690
|
-
export type Work = BodyOf<typeof work>;
|
|
691
|
-
/** Where someone is with a work: want to, reading, finished. One per person per work. */
|
|
692
|
-
export declare const progress: {
|
|
693
|
-
readonly name: "std.progress";
|
|
694
|
-
readonly title: "Progress";
|
|
695
|
-
readonly description: "Where someone is with a book, film or game: one per person.";
|
|
696
|
-
readonly schema: {
|
|
697
|
-
readonly type: "object";
|
|
698
|
-
readonly properties: {
|
|
699
|
-
readonly status: {
|
|
700
|
-
enum: ("doing" | "done" | "dropped" | "want")[];
|
|
701
|
-
};
|
|
702
|
-
readonly percent: {
|
|
703
|
-
readonly type: "number";
|
|
704
|
-
readonly minimum: 0;
|
|
705
|
-
readonly maximum: 100;
|
|
706
|
-
};
|
|
707
|
-
readonly finishedAt: {
|
|
708
|
-
type: 'string';
|
|
709
|
-
minLength?: number | undefined;
|
|
710
|
-
maxLength: number;
|
|
711
|
-
} & {
|
|
712
|
-
readonly 'x-kind': "when";
|
|
713
|
-
};
|
|
714
|
-
readonly note: {
|
|
715
|
-
type: 'string';
|
|
716
|
-
minLength?: number | undefined;
|
|
717
|
-
maxLength: number;
|
|
718
|
-
};
|
|
719
|
-
};
|
|
720
|
-
readonly required: readonly ["status"];
|
|
721
|
-
};
|
|
722
|
-
readonly links: {
|
|
723
|
-
about: import("../../records/links.js").LinkDeclaration;
|
|
724
|
-
};
|
|
725
|
-
readonly rules: {
|
|
726
|
-
readonly onePer: readonly ["@author", "link:about"];
|
|
727
|
-
};
|
|
728
|
-
} & import("../../index.js").Typed<{
|
|
729
|
-
readonly status: "doing" | "done" | "dropped" | "want";
|
|
730
|
-
readonly percent?: number | undefined;
|
|
731
|
-
readonly finishedAt?: string | undefined;
|
|
732
|
-
readonly note?: string | undefined;
|
|
733
|
-
}>;
|
|
734
|
-
export type Progress = BodyOf<typeof progress>;
|
|
735
|
-
/** This file's part of `standardGroups` */
|
|
736
|
-
export declare const lifeGroups: {
|
|
737
|
-
'Places and travel': (({
|
|
738
|
-
readonly name: "std.place";
|
|
739
|
-
readonly title: "Place";
|
|
740
|
-
readonly description: "A place: a name, an address, a point on the map.";
|
|
741
|
-
readonly schema: {
|
|
742
|
-
readonly type: "object";
|
|
743
|
-
readonly properties: {
|
|
744
|
-
readonly address: {
|
|
745
|
-
type: 'object';
|
|
746
|
-
properties: {
|
|
747
|
-
street: {
|
|
748
|
-
type: 'string';
|
|
749
|
-
minLength?: number | undefined;
|
|
750
|
-
maxLength: number;
|
|
751
|
-
};
|
|
752
|
-
locality: {
|
|
753
|
-
type: 'string';
|
|
754
|
-
minLength?: number | undefined;
|
|
755
|
-
maxLength: number;
|
|
756
|
-
};
|
|
757
|
-
region: {
|
|
758
|
-
type: 'string';
|
|
759
|
-
minLength?: number | undefined;
|
|
760
|
-
maxLength: number;
|
|
761
|
-
};
|
|
762
|
-
postcode: {
|
|
763
|
-
type: 'string';
|
|
764
|
-
minLength?: number | undefined;
|
|
765
|
-
maxLength: number;
|
|
766
|
-
};
|
|
767
|
-
country: {
|
|
768
|
-
type: 'string';
|
|
769
|
-
minLength?: number | undefined;
|
|
770
|
-
maxLength: number;
|
|
771
|
-
};
|
|
772
|
-
};
|
|
773
|
-
};
|
|
774
|
-
readonly lat: {
|
|
775
|
-
type: 'number';
|
|
776
|
-
minimum: number;
|
|
777
|
-
maximum: number;
|
|
778
|
-
};
|
|
779
|
-
readonly lon: {
|
|
780
|
-
type: 'number';
|
|
781
|
-
minimum: number;
|
|
782
|
-
maximum: number;
|
|
783
|
-
};
|
|
784
|
-
readonly cells: {
|
|
785
|
-
type: 'array';
|
|
786
|
-
maxItems: number;
|
|
787
|
-
items: {
|
|
788
|
-
type: 'string';
|
|
789
|
-
minLength?: number | undefined;
|
|
790
|
-
maxLength: number;
|
|
791
|
-
};
|
|
792
|
-
description: string;
|
|
793
|
-
};
|
|
794
|
-
readonly name: {
|
|
795
|
-
type: 'string';
|
|
796
|
-
minLength?: number | undefined;
|
|
797
|
-
maxLength: number;
|
|
798
|
-
};
|
|
799
|
-
readonly category: {
|
|
800
|
-
type: 'string';
|
|
801
|
-
minLength?: number | undefined;
|
|
802
|
-
maxLength: number;
|
|
803
|
-
};
|
|
804
|
-
readonly url: {
|
|
805
|
-
type: 'string';
|
|
806
|
-
minLength?: number | undefined;
|
|
807
|
-
maxLength: number;
|
|
808
|
-
} & {
|
|
809
|
-
readonly 'x-kind': "url";
|
|
810
|
-
};
|
|
811
|
-
};
|
|
812
|
-
readonly required: readonly ["name"];
|
|
813
|
-
};
|
|
814
|
-
readonly topics: readonly ["cells"];
|
|
815
|
-
} & import("../../index.js").Typed<{
|
|
816
|
-
readonly address?: {
|
|
817
|
-
readonly street?: string | undefined;
|
|
818
|
-
readonly locality?: string | undefined;
|
|
819
|
-
readonly region?: string | undefined;
|
|
820
|
-
readonly postcode?: string | undefined;
|
|
821
|
-
readonly country?: string | undefined;
|
|
822
|
-
} | undefined;
|
|
823
|
-
readonly lat?: number | undefined;
|
|
824
|
-
readonly lon?: number | undefined;
|
|
825
|
-
readonly cells?: readonly string[] | undefined;
|
|
826
|
-
readonly name: string;
|
|
827
|
-
readonly category?: string | undefined;
|
|
828
|
-
readonly url?: string | undefined;
|
|
829
|
-
}>) | ({
|
|
830
|
-
readonly name: "std.visit";
|
|
831
|
-
readonly title: "Visit";
|
|
832
|
-
readonly description: "Someone having been at a place.";
|
|
833
|
-
readonly schema: {
|
|
834
|
-
readonly type: "object";
|
|
835
|
-
readonly properties: {
|
|
836
|
-
at: {
|
|
837
|
-
type: 'string';
|
|
838
|
-
minLength?: number | undefined;
|
|
839
|
-
maxLength: number;
|
|
840
|
-
} & {
|
|
841
|
-
readonly 'x-kind': "when";
|
|
842
|
-
};
|
|
843
|
-
note: {
|
|
844
|
-
type: 'string';
|
|
845
|
-
minLength?: number | undefined;
|
|
846
|
-
maxLength: number;
|
|
847
|
-
};
|
|
848
|
-
};
|
|
849
|
-
readonly required: readonly ["at"];
|
|
850
|
-
};
|
|
851
|
-
readonly links: {
|
|
852
|
-
about: import("../../records/links.js").LinkDeclaration;
|
|
853
|
-
};
|
|
854
|
-
} & import("../../index.js").Typed<{
|
|
855
|
-
readonly at: string;
|
|
856
|
-
readonly note?: string | undefined;
|
|
857
|
-
}>) | ({
|
|
858
|
-
readonly name: "std.trip";
|
|
859
|
-
readonly title: "Trip";
|
|
860
|
-
readonly description: "A trip, with dates. Its plan is a std.list of kind \"itinerary\", with items about its events and places.";
|
|
861
|
-
readonly schema: {
|
|
862
|
-
readonly type: "object";
|
|
863
|
-
readonly properties: {
|
|
864
|
-
title: {
|
|
865
|
-
type: 'string';
|
|
866
|
-
minLength?: number | undefined;
|
|
867
|
-
maxLength: number;
|
|
868
|
-
};
|
|
869
|
-
start: {
|
|
870
|
-
type: 'string';
|
|
871
|
-
minLength: number;
|
|
872
|
-
maxLength: number;
|
|
873
|
-
} & {
|
|
874
|
-
readonly 'x-kind': "day";
|
|
875
|
-
};
|
|
876
|
-
end: {
|
|
877
|
-
type: 'string';
|
|
878
|
-
minLength: number;
|
|
879
|
-
maxLength: number;
|
|
880
|
-
} & {
|
|
881
|
-
readonly 'x-kind': "day";
|
|
882
|
-
};
|
|
883
|
-
note: {
|
|
884
|
-
type: 'string';
|
|
885
|
-
minLength?: number | undefined;
|
|
886
|
-
maxLength: number;
|
|
887
|
-
};
|
|
888
|
-
};
|
|
889
|
-
readonly required: readonly ["title"];
|
|
890
|
-
};
|
|
891
|
-
} & import("../../index.js").Typed<{
|
|
892
|
-
readonly title: string;
|
|
893
|
-
readonly start?: string | undefined;
|
|
894
|
-
readonly end?: string | undefined;
|
|
895
|
-
readonly note?: string | undefined;
|
|
896
|
-
}>) | ({
|
|
897
|
-
readonly name: "std.location";
|
|
898
|
-
readonly title: "Location";
|
|
899
|
-
readonly description: "Where someone is now: one per person.";
|
|
900
|
-
readonly schema: {
|
|
901
|
-
readonly type: "object";
|
|
902
|
-
readonly properties: {
|
|
903
|
-
readonly lat: {
|
|
904
|
-
type: 'number';
|
|
905
|
-
minimum: number;
|
|
906
|
-
maximum: number;
|
|
907
|
-
};
|
|
908
|
-
readonly lon: {
|
|
909
|
-
type: 'number';
|
|
910
|
-
minimum: number;
|
|
911
|
-
maximum: number;
|
|
912
|
-
};
|
|
913
|
-
readonly accuracy: {
|
|
914
|
-
readonly type: "number";
|
|
915
|
-
readonly minimum: 0;
|
|
916
|
-
readonly description: "Metres";
|
|
917
|
-
};
|
|
918
|
-
readonly at: {
|
|
919
|
-
type: 'string';
|
|
920
|
-
minLength?: number | undefined;
|
|
921
|
-
maxLength: number;
|
|
922
|
-
} & {
|
|
923
|
-
readonly 'x-kind': "when";
|
|
924
|
-
};
|
|
925
|
-
};
|
|
926
|
-
readonly required: readonly ["lat", "lon", "at"];
|
|
927
|
-
};
|
|
928
|
-
readonly rules: {
|
|
929
|
-
readonly onePer: readonly ["@author"];
|
|
930
|
-
};
|
|
931
|
-
} & import("../../index.js").Typed<{
|
|
932
|
-
readonly lat: number;
|
|
933
|
-
readonly lon: number;
|
|
934
|
-
readonly accuracy?: number | undefined;
|
|
935
|
-
readonly at: string;
|
|
936
|
-
}>))[];
|
|
937
|
-
'Home and life': (({
|
|
938
|
-
readonly name: "std.recipe";
|
|
939
|
-
readonly title: "Recipe";
|
|
940
|
-
readonly description: "A recipe: ingredients and steps.";
|
|
941
|
-
readonly schema: {
|
|
942
|
-
readonly type: "object";
|
|
943
|
-
readonly properties: {
|
|
944
|
-
readonly title: {
|
|
945
|
-
type: 'string';
|
|
946
|
-
minLength?: number | undefined;
|
|
947
|
-
maxLength: number;
|
|
948
|
-
};
|
|
949
|
-
readonly description: {
|
|
950
|
-
type: 'string';
|
|
951
|
-
minLength?: number | undefined;
|
|
952
|
-
maxLength: number;
|
|
953
|
-
};
|
|
954
|
-
readonly ingredients: {
|
|
955
|
-
readonly type: "array";
|
|
956
|
-
readonly maxItems: 200;
|
|
957
|
-
readonly items: {
|
|
958
|
-
readonly type: "object";
|
|
959
|
-
readonly properties: {
|
|
960
|
-
readonly text: {
|
|
961
|
-
type: 'string';
|
|
962
|
-
minLength?: number | undefined;
|
|
963
|
-
maxLength: number;
|
|
964
|
-
};
|
|
965
|
-
readonly quantity: {
|
|
966
|
-
readonly type: "number";
|
|
967
|
-
readonly minimum: 0;
|
|
968
|
-
};
|
|
969
|
-
readonly unit: {
|
|
970
|
-
type: 'string';
|
|
971
|
-
minLength?: number | undefined;
|
|
972
|
-
maxLength: number;
|
|
973
|
-
};
|
|
974
|
-
};
|
|
975
|
-
readonly required: readonly ["text"];
|
|
976
|
-
};
|
|
977
|
-
};
|
|
978
|
-
readonly steps: {
|
|
979
|
-
readonly type: "array";
|
|
980
|
-
readonly maxItems: 200;
|
|
981
|
-
readonly items: {
|
|
982
|
-
type: 'string';
|
|
983
|
-
minLength?: number | undefined;
|
|
984
|
-
maxLength: number;
|
|
985
|
-
};
|
|
986
|
-
};
|
|
987
|
-
readonly servings: {
|
|
988
|
-
type: 'integer';
|
|
989
|
-
minimum: number;
|
|
990
|
-
maximum?: number | undefined;
|
|
991
|
-
};
|
|
992
|
-
readonly prepMinutes: {
|
|
993
|
-
type: 'integer';
|
|
994
|
-
minimum: number;
|
|
995
|
-
maximum?: number | undefined;
|
|
996
|
-
};
|
|
997
|
-
readonly cookMinutes: {
|
|
998
|
-
type: 'integer';
|
|
999
|
-
minimum: number;
|
|
1000
|
-
maximum?: number | undefined;
|
|
1001
|
-
};
|
|
1002
|
-
readonly image: {
|
|
1003
|
-
type: 'object';
|
|
1004
|
-
properties: {
|
|
1005
|
-
blob: {
|
|
1006
|
-
type: 'object';
|
|
1007
|
-
properties: {
|
|
1008
|
-
hash: {
|
|
1009
|
-
type: 'string';
|
|
1010
|
-
minLength: number;
|
|
1011
|
-
maxLength: number;
|
|
1012
|
-
};
|
|
1013
|
-
size: {
|
|
1014
|
-
type: 'integer';
|
|
1015
|
-
minimum: number;
|
|
1016
|
-
};
|
|
1017
|
-
mime: {
|
|
1018
|
-
type: 'string';
|
|
1019
|
-
minLength?: number | undefined;
|
|
1020
|
-
maxLength: number;
|
|
1021
|
-
};
|
|
1022
|
-
name: {
|
|
1023
|
-
type: 'string';
|
|
1024
|
-
minLength?: number | undefined;
|
|
1025
|
-
maxLength: number;
|
|
1026
|
-
};
|
|
1027
|
-
key: {
|
|
1028
|
-
type: 'string';
|
|
1029
|
-
minLength: number;
|
|
1030
|
-
maxLength: number;
|
|
1031
|
-
};
|
|
1032
|
-
salt: {
|
|
1033
|
-
type: 'string';
|
|
1034
|
-
minLength: number;
|
|
1035
|
-
maxLength: number;
|
|
1036
|
-
};
|
|
1037
|
-
};
|
|
1038
|
-
required: readonly ["hash", "size", "mime"];
|
|
1039
|
-
} & {
|
|
1040
|
-
readonly 'x-kind': "file";
|
|
1041
|
-
};
|
|
1042
|
-
alt: {
|
|
1043
|
-
type: 'string';
|
|
1044
|
-
minLength?: number | undefined;
|
|
1045
|
-
maxLength: number;
|
|
1046
|
-
};
|
|
1047
|
-
};
|
|
1048
|
-
required: readonly ["blob"];
|
|
1049
|
-
} & {
|
|
1050
|
-
readonly 'x-kind': "image";
|
|
1051
|
-
};
|
|
1052
|
-
readonly source: {
|
|
1053
|
-
type: 'string';
|
|
1054
|
-
minLength?: number | undefined;
|
|
1055
|
-
maxLength: number;
|
|
1056
|
-
} & {
|
|
1057
|
-
readonly 'x-kind': "url";
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
|
-
readonly required: readonly ["title"];
|
|
1061
|
-
};
|
|
1062
|
-
} & import("../../index.js").Typed<{
|
|
1063
|
-
readonly title: string;
|
|
1064
|
-
readonly description?: string | undefined;
|
|
1065
|
-
readonly ingredients?: readonly {
|
|
1066
|
-
readonly text: string;
|
|
1067
|
-
readonly quantity?: number | undefined;
|
|
1068
|
-
readonly unit?: string | undefined;
|
|
1069
|
-
}[] | undefined;
|
|
1070
|
-
readonly steps?: readonly string[] | undefined;
|
|
1071
|
-
readonly servings?: number | undefined;
|
|
1072
|
-
readonly prepMinutes?: number | undefined;
|
|
1073
|
-
readonly cookMinutes?: number | undefined;
|
|
1074
|
-
readonly image?: {
|
|
1075
|
-
readonly blob: {
|
|
1076
|
-
readonly hash: string;
|
|
1077
|
-
readonly size: number;
|
|
1078
|
-
readonly mime: string;
|
|
1079
|
-
readonly name?: string | undefined;
|
|
1080
|
-
readonly key?: string | undefined;
|
|
1081
|
-
readonly salt?: string | undefined;
|
|
1082
|
-
};
|
|
1083
|
-
readonly alt?: string | undefined;
|
|
1084
|
-
} | undefined;
|
|
1085
|
-
readonly source?: string | undefined;
|
|
1086
|
-
}>) | ({
|
|
1087
|
-
readonly name: "std.meal";
|
|
1088
|
-
readonly title: "Meal";
|
|
1089
|
-
readonly description: "A planned meal: one per day per meal.";
|
|
1090
|
-
readonly schema: {
|
|
1091
|
-
readonly type: "object";
|
|
1092
|
-
readonly properties: {
|
|
1093
|
-
date: {
|
|
1094
|
-
type: 'string';
|
|
1095
|
-
minLength: number;
|
|
1096
|
-
maxLength: number;
|
|
1097
|
-
} & {
|
|
1098
|
-
readonly 'x-kind': "day";
|
|
1099
|
-
};
|
|
1100
|
-
meal: {
|
|
1101
|
-
enum: ("breakfast" | "dinner" | "lunch" | "snack")[];
|
|
1102
|
-
};
|
|
1103
|
-
note: {
|
|
1104
|
-
type: 'string';
|
|
1105
|
-
minLength?: number | undefined;
|
|
1106
|
-
maxLength: number;
|
|
1107
|
-
};
|
|
1108
|
-
};
|
|
1109
|
-
readonly required: readonly ["date", "meal"];
|
|
1110
|
-
};
|
|
1111
|
-
readonly links: {
|
|
1112
|
-
about: import("../../records/links.js").LinkDeclaration;
|
|
1113
|
-
};
|
|
1114
|
-
readonly rules: {
|
|
1115
|
-
readonly onePer: readonly ["date", "meal"];
|
|
1116
|
-
};
|
|
1117
|
-
} & import("../../index.js").Typed<{
|
|
1118
|
-
readonly date: string;
|
|
1119
|
-
readonly meal: "breakfast" | "dinner" | "lunch" | "snack";
|
|
1120
|
-
readonly note?: string | undefined;
|
|
1121
|
-
}>) | ({
|
|
1122
|
-
readonly name: "std.journal-entry";
|
|
1123
|
-
readonly title: "Journal entry";
|
|
1124
|
-
readonly description: "What someone wrote about a day: one entry per day.";
|
|
1125
|
-
readonly schema: {
|
|
1126
|
-
readonly type: "object";
|
|
1127
|
-
readonly properties: {
|
|
1128
|
-
date: {
|
|
1129
|
-
type: 'string';
|
|
1130
|
-
minLength: number;
|
|
1131
|
-
maxLength: number;
|
|
1132
|
-
} & {
|
|
1133
|
-
readonly 'x-kind': "day";
|
|
1134
|
-
};
|
|
1135
|
-
content: {
|
|
1136
|
-
type: 'string';
|
|
1137
|
-
minLength?: number | undefined;
|
|
1138
|
-
maxLength: number;
|
|
1139
|
-
};
|
|
1140
|
-
mood: {
|
|
1141
|
-
type: 'string';
|
|
1142
|
-
minLength?: number | undefined;
|
|
1143
|
-
maxLength: number;
|
|
1144
|
-
};
|
|
1145
|
-
};
|
|
1146
|
-
readonly required: readonly ["date"];
|
|
1147
|
-
};
|
|
1148
|
-
readonly rules: {
|
|
1149
|
-
readonly onePer: readonly ["@author", "date"];
|
|
1150
|
-
};
|
|
1151
|
-
} & import("../../index.js").Typed<{
|
|
1152
|
-
readonly date: string;
|
|
1153
|
-
readonly content?: string | undefined;
|
|
1154
|
-
readonly mood?: string | undefined;
|
|
1155
|
-
}>) | ({
|
|
1156
|
-
readonly name: "std.measurement";
|
|
1157
|
-
readonly title: "Measurement";
|
|
1158
|
-
readonly description: "Something measured at a moment: a kind, a value, a unit.";
|
|
1159
|
-
readonly schema: {
|
|
1160
|
-
readonly type: "object";
|
|
1161
|
-
readonly properties: {
|
|
1162
|
-
readonly kind: {
|
|
1163
|
-
type: 'string';
|
|
1164
|
-
minLength?: number | undefined;
|
|
1165
|
-
maxLength: number;
|
|
1166
|
-
};
|
|
1167
|
-
readonly value: {
|
|
1168
|
-
readonly type: "number";
|
|
1169
|
-
};
|
|
1170
|
-
readonly unit: {
|
|
1171
|
-
type: 'string';
|
|
1172
|
-
minLength?: number | undefined;
|
|
1173
|
-
maxLength: number;
|
|
1174
|
-
};
|
|
1175
|
-
readonly at: {
|
|
1176
|
-
type: 'string';
|
|
1177
|
-
minLength?: number | undefined;
|
|
1178
|
-
maxLength: number;
|
|
1179
|
-
} & {
|
|
1180
|
-
readonly 'x-kind': "when";
|
|
1181
|
-
};
|
|
1182
|
-
readonly note: {
|
|
1183
|
-
type: 'string';
|
|
1184
|
-
minLength?: number | undefined;
|
|
1185
|
-
maxLength: number;
|
|
1186
|
-
};
|
|
1187
|
-
};
|
|
1188
|
-
readonly required: readonly ["kind", "value", "unit", "at"];
|
|
1189
|
-
};
|
|
1190
|
-
} & import("../../index.js").Typed<{
|
|
1191
|
-
readonly kind: string;
|
|
1192
|
-
readonly value: number;
|
|
1193
|
-
readonly unit: string;
|
|
1194
|
-
readonly at: string;
|
|
1195
|
-
readonly note?: string | undefined;
|
|
1196
|
-
}>) | ({
|
|
1197
|
-
readonly name: "std.workout";
|
|
1198
|
-
readonly title: "Workout";
|
|
1199
|
-
readonly description: "A run, a ride, a session: when, how long, how far.";
|
|
1200
|
-
readonly schema: {
|
|
1201
|
-
readonly type: "object";
|
|
1202
|
-
readonly properties: {
|
|
1203
|
-
readonly type: {
|
|
1204
|
-
type: 'string';
|
|
1205
|
-
minLength?: number | undefined;
|
|
1206
|
-
maxLength: number;
|
|
1207
|
-
};
|
|
1208
|
-
readonly start: {
|
|
1209
|
-
type: 'string';
|
|
1210
|
-
minLength?: number | undefined;
|
|
1211
|
-
maxLength: number;
|
|
1212
|
-
} & {
|
|
1213
|
-
readonly 'x-kind': "when";
|
|
1214
|
-
};
|
|
1215
|
-
readonly duration: {
|
|
1216
|
-
readonly type: "number";
|
|
1217
|
-
readonly minimum: 0;
|
|
1218
|
-
readonly description: "Seconds";
|
|
1219
|
-
};
|
|
1220
|
-
readonly distance: {
|
|
1221
|
-
readonly type: "number";
|
|
1222
|
-
readonly minimum: 0;
|
|
1223
|
-
readonly description: "Metres";
|
|
1224
|
-
};
|
|
1225
|
-
readonly route: {
|
|
1226
|
-
type: 'object';
|
|
1227
|
-
properties: {
|
|
1228
|
-
hash: {
|
|
1229
|
-
type: 'string';
|
|
1230
|
-
minLength: number;
|
|
1231
|
-
maxLength: number;
|
|
1232
|
-
};
|
|
1233
|
-
size: {
|
|
1234
|
-
type: 'integer';
|
|
1235
|
-
minimum: number;
|
|
1236
|
-
};
|
|
1237
|
-
mime: {
|
|
1238
|
-
type: 'string';
|
|
1239
|
-
minLength?: number | undefined;
|
|
1240
|
-
maxLength: number;
|
|
1241
|
-
};
|
|
1242
|
-
name: {
|
|
1243
|
-
type: 'string';
|
|
1244
|
-
minLength?: number | undefined;
|
|
1245
|
-
maxLength: number;
|
|
1246
|
-
};
|
|
1247
|
-
key: {
|
|
1248
|
-
type: 'string';
|
|
1249
|
-
minLength: number;
|
|
1250
|
-
maxLength: number;
|
|
1251
|
-
};
|
|
1252
|
-
salt: {
|
|
1253
|
-
type: 'string';
|
|
1254
|
-
minLength: number;
|
|
1255
|
-
maxLength: number;
|
|
1256
|
-
};
|
|
1257
|
-
};
|
|
1258
|
-
required: readonly ["hash", "size", "mime"];
|
|
1259
|
-
} & {
|
|
1260
|
-
readonly 'x-kind': "file";
|
|
1261
|
-
};
|
|
1262
|
-
readonly note: {
|
|
1263
|
-
type: 'string';
|
|
1264
|
-
minLength?: number | undefined;
|
|
1265
|
-
maxLength: number;
|
|
1266
|
-
};
|
|
1267
|
-
};
|
|
1268
|
-
readonly required: readonly ["type", "start"];
|
|
1269
|
-
};
|
|
1270
|
-
} & import("../../index.js").Typed<{
|
|
1271
|
-
readonly type: string;
|
|
1272
|
-
readonly start: string;
|
|
1273
|
-
readonly duration?: number | undefined;
|
|
1274
|
-
readonly distance?: number | undefined;
|
|
1275
|
-
readonly route?: {
|
|
1276
|
-
readonly hash: string;
|
|
1277
|
-
readonly size: number;
|
|
1278
|
-
readonly mime: string;
|
|
1279
|
-
readonly name?: string | undefined;
|
|
1280
|
-
readonly key?: string | undefined;
|
|
1281
|
-
readonly salt?: string | undefined;
|
|
1282
|
-
} | undefined;
|
|
1283
|
-
readonly note?: string | undefined;
|
|
1284
|
-
}>) | ({
|
|
1285
|
-
readonly name: "std.work";
|
|
1286
|
-
readonly title: "Work";
|
|
1287
|
-
readonly description: "A book, film, show, album or game.";
|
|
1288
|
-
readonly schema: {
|
|
1289
|
-
readonly type: "object";
|
|
1290
|
-
readonly properties: {
|
|
1291
|
-
readonly kind: {
|
|
1292
|
-
enum: ("album" | "book" | "film" | "game" | "other" | "podcast" | "show")[];
|
|
1293
|
-
};
|
|
1294
|
-
readonly title: {
|
|
1295
|
-
type: 'string';
|
|
1296
|
-
minLength?: number | undefined;
|
|
1297
|
-
maxLength: number;
|
|
1298
|
-
};
|
|
1299
|
-
readonly creators: {
|
|
1300
|
-
readonly type: "array";
|
|
1301
|
-
readonly maxItems: 20;
|
|
1302
|
-
readonly items: {
|
|
1303
|
-
type: 'string';
|
|
1304
|
-
minLength?: number | undefined;
|
|
1305
|
-
maxLength: number;
|
|
1306
|
-
};
|
|
1307
|
-
};
|
|
1308
|
-
readonly year: {
|
|
1309
|
-
type: 'integer';
|
|
1310
|
-
minimum: number;
|
|
1311
|
-
maximum?: number | undefined;
|
|
1312
|
-
};
|
|
1313
|
-
readonly ids: {
|
|
1314
|
-
readonly type: "object";
|
|
1315
|
-
readonly properties: {
|
|
1316
|
-
isbn: {
|
|
1317
|
-
type: 'string';
|
|
1318
|
-
minLength?: number | undefined;
|
|
1319
|
-
maxLength: number;
|
|
1320
|
-
};
|
|
1321
|
-
imdb: {
|
|
1322
|
-
type: 'string';
|
|
1323
|
-
minLength?: number | undefined;
|
|
1324
|
-
maxLength: number;
|
|
1325
|
-
};
|
|
1326
|
-
mbid: {
|
|
1327
|
-
type: 'string';
|
|
1328
|
-
minLength?: number | undefined;
|
|
1329
|
-
maxLength: number;
|
|
1330
|
-
};
|
|
1331
|
-
wikidata: {
|
|
1332
|
-
type: 'string';
|
|
1333
|
-
minLength?: number | undefined;
|
|
1334
|
-
maxLength: number;
|
|
1335
|
-
};
|
|
1336
|
-
};
|
|
1337
|
-
};
|
|
1338
|
-
readonly cover: {
|
|
1339
|
-
type: 'object';
|
|
1340
|
-
properties: {
|
|
1341
|
-
hash: {
|
|
1342
|
-
type: 'string';
|
|
1343
|
-
minLength: number;
|
|
1344
|
-
maxLength: number;
|
|
1345
|
-
};
|
|
1346
|
-
size: {
|
|
1347
|
-
type: 'integer';
|
|
1348
|
-
minimum: number;
|
|
1349
|
-
};
|
|
1350
|
-
mime: {
|
|
1351
|
-
type: 'string';
|
|
1352
|
-
minLength?: number | undefined;
|
|
1353
|
-
maxLength: number;
|
|
1354
|
-
};
|
|
1355
|
-
name: {
|
|
1356
|
-
type: 'string';
|
|
1357
|
-
minLength?: number | undefined;
|
|
1358
|
-
maxLength: number;
|
|
1359
|
-
};
|
|
1360
|
-
key: {
|
|
1361
|
-
type: 'string';
|
|
1362
|
-
minLength: number;
|
|
1363
|
-
maxLength: number;
|
|
1364
|
-
};
|
|
1365
|
-
salt: {
|
|
1366
|
-
type: 'string';
|
|
1367
|
-
minLength: number;
|
|
1368
|
-
maxLength: number;
|
|
1369
|
-
};
|
|
1370
|
-
};
|
|
1371
|
-
required: readonly ["hash", "size", "mime"];
|
|
1372
|
-
} & {
|
|
1373
|
-
readonly 'x-kind': "file";
|
|
1374
|
-
};
|
|
1375
|
-
};
|
|
1376
|
-
readonly required: readonly ["kind", "title"];
|
|
1377
|
-
};
|
|
1378
|
-
} & import("../../index.js").Typed<{
|
|
1379
|
-
readonly kind: "album" | "book" | "film" | "game" | "other" | "podcast" | "show";
|
|
1380
|
-
readonly title: string;
|
|
1381
|
-
readonly creators?: readonly string[] | undefined;
|
|
1382
|
-
readonly year?: number | undefined;
|
|
1383
|
-
readonly ids?: {
|
|
1384
|
-
readonly isbn?: string | undefined;
|
|
1385
|
-
readonly imdb?: string | undefined;
|
|
1386
|
-
readonly mbid?: string | undefined;
|
|
1387
|
-
readonly wikidata?: string | undefined;
|
|
1388
|
-
} | undefined;
|
|
1389
|
-
readonly cover?: {
|
|
1390
|
-
readonly hash: string;
|
|
1391
|
-
readonly size: number;
|
|
1392
|
-
readonly mime: string;
|
|
1393
|
-
readonly name?: string | undefined;
|
|
1394
|
-
readonly key?: string | undefined;
|
|
1395
|
-
readonly salt?: string | undefined;
|
|
1396
|
-
} | undefined;
|
|
1397
|
-
}>) | ({
|
|
1398
|
-
readonly name: "std.progress";
|
|
1399
|
-
readonly title: "Progress";
|
|
1400
|
-
readonly description: "Where someone is with a book, film or game: one per person.";
|
|
1401
|
-
readonly schema: {
|
|
1402
|
-
readonly type: "object";
|
|
1403
|
-
readonly properties: {
|
|
1404
|
-
readonly status: {
|
|
1405
|
-
enum: ("doing" | "done" | "dropped" | "want")[];
|
|
1406
|
-
};
|
|
1407
|
-
readonly percent: {
|
|
1408
|
-
readonly type: "number";
|
|
1409
|
-
readonly minimum: 0;
|
|
1410
|
-
readonly maximum: 100;
|
|
1411
|
-
};
|
|
1412
|
-
readonly finishedAt: {
|
|
1413
|
-
type: 'string';
|
|
1414
|
-
minLength?: number | undefined;
|
|
1415
|
-
maxLength: number;
|
|
1416
|
-
} & {
|
|
1417
|
-
readonly 'x-kind': "when";
|
|
1418
|
-
};
|
|
1419
|
-
readonly note: {
|
|
1420
|
-
type: 'string';
|
|
1421
|
-
minLength?: number | undefined;
|
|
1422
|
-
maxLength: number;
|
|
1423
|
-
};
|
|
1424
|
-
};
|
|
1425
|
-
readonly required: readonly ["status"];
|
|
1426
|
-
};
|
|
1427
|
-
readonly links: {
|
|
1428
|
-
about: import("../../records/links.js").LinkDeclaration;
|
|
1429
|
-
};
|
|
1430
|
-
readonly rules: {
|
|
1431
|
-
readonly onePer: readonly ["@author", "link:about"];
|
|
1432
|
-
};
|
|
1433
|
-
} & import("../../index.js").Typed<{
|
|
1434
|
-
readonly status: "doing" | "done" | "dropped" | "want";
|
|
1435
|
-
readonly percent?: number | undefined;
|
|
1436
|
-
readonly finishedAt?: string | undefined;
|
|
1437
|
-
readonly note?: string | undefined;
|
|
1438
|
-
}>))[];
|
|
1439
|
-
};
|
|
1440
|
-
//# sourceMappingURL=life.d.ts.map
|