techne-sdk 0.11.0 → 0.12.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.
@@ -3556,7 +3556,7 @@ export declare const schemaDict: {
3556
3556
  readonly properties: {
3557
3557
  readonly founderMembershipVisibility: {
3558
3558
  readonly type: "string";
3559
- readonly knownValues: ["public", "members"];
3559
+ readonly enum: ["public", "members"];
3560
3560
  readonly default: "members";
3561
3561
  readonly description: "Who sees the founding membership: `members` (placed in the collective's member space, `pub.techne.draft.space.collective.member/self`, seen by its members) or `public` (a public record).";
3562
3562
  };
@@ -3584,7 +3584,10 @@ export declare const schemaDict: {
3584
3584
  };
3585
3585
  readonly errors: [{
3586
3586
  readonly name: "InvalidRequest";
3587
- readonly description: "HTTP 400. The input is not JSON, or `founderMembershipVisibility` is neither `public` nor `members`.";
3587
+ readonly description: "HTTP 400, and nothing is made. The input does not parse: it is not JSON, it has a field this input does not name (a `roster` from an older shape, say), or `founderMembershipVisibility` is neither `public` nor `members`. An empty body is the defaults.";
3588
+ }, {
3589
+ readonly name: "PublicWriteFailed";
3590
+ readonly description: "HTTP 502. The account was made but its founding membership could not be written, so the platform starts deleting the account again before it answers. The caller may retry.";
3588
3591
  }, {
3589
3592
  readonly name: "RateLimitExceeded";
3590
3593
  readonly description: "Too many writes from this DID (HTTP 429).";
@@ -6136,7 +6139,7 @@ export declare const schemaDict: {
6136
6139
  readonly PubTechneDraftOrgAtPlace: {
6137
6140
  readonly lexicon: 1;
6138
6141
  readonly id: "pub.techne.draft.orgAtPlace";
6139
- readonly description: "A relationship: an organization is at a place (its office or its storefront). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
6142
+ readonly description: "A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
6140
6143
  readonly defs: {
6141
6144
  readonly main: {
6142
6145
  readonly type: "record";
@@ -6159,8 +6162,8 @@ export declare const schemaDict: {
6159
6162
  readonly role: {
6160
6163
  readonly type: "string";
6161
6164
  readonly maxLength: 64;
6162
- readonly knownValues: ["office", "storefront"];
6163
- readonly description: "What the place is to the organization. Values beyond the known set are permitted.";
6165
+ readonly knownValues: ["office", "storefront", "operator"];
6166
+ readonly description: "What the place is to the organization: `office`, `storefront`, or `operator` (the organization runs or maintains the place, such as a park's conservancy or a community fridge's host). Values beyond the known set are permitted.";
6164
6167
  };
6165
6168
  readonly createdAt: {
6166
6169
  readonly type: "string";
@@ -6966,6 +6969,18 @@ export declare const schemaDict: {
6966
6969
  readonly ref: "lex:community.lexicon.calendar.event#uri";
6967
6970
  };
6968
6971
  };
6972
+ readonly openingHours: {
6973
+ readonly type: "string";
6974
+ readonly maxLength: 1024;
6975
+ readonly maxGraphemes: 512;
6976
+ readonly description: "When the place is open, in OpenStreetMap `opening_hours` syntax (https://wiki.openstreetmap.org/wiki/Key:opening_hours), e.g. `Mo-Fr 09:00-17:00; Sa 10:00-14:00; PH off`. Local time at the place. A source's hours that do not parse as that syntax may be kept as it wrote them; a reader that cannot parse the value shows it as text. Absent when unknown, never a guess.";
6977
+ };
6978
+ readonly description: {
6979
+ readonly type: "string";
6980
+ readonly maxLength: 30000;
6981
+ readonly maxGraphemes: 3000;
6982
+ readonly description: "Prose about the place: what it is and what happens there. PUBLIC, like the rest of this record. Text a source allows only behind a permission belongs in the permissioned pub.techne.draft.description, not here.";
6983
+ };
6969
6984
  readonly sameAs: {
6970
6985
  readonly type: "array";
6971
6986
  readonly description: "External identity reconciliation — an ARRAY so a provider reissuance (e.g. a GERS id change) appends, never destroys. Absent/empty for app-created entries — NEVER a placeholder id.";
@@ -7876,7 +7891,7 @@ export declare const schemaDict: {
7876
7891
  };
7877
7892
  readonly curated: {
7878
7893
  readonly type: "boolean";
7879
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
7894
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered when the step's `envelope` includes it (or names none): false for every other record.";
7880
7895
  };
7881
7896
  readonly held: {
7882
7897
  readonly type: "boolean";
@@ -7899,7 +7914,7 @@ export declare const schemaDict: {
7899
7914
  readonly properties: {
7900
7915
  readonly error: {
7901
7916
  readonly type: "string";
7902
- readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
7917
+ readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ViewRequired and NotCurated for a list step, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
7903
7918
  };
7904
7919
  readonly message: {
7905
7920
  readonly type: "string";
@@ -7973,6 +7988,12 @@ export declare const schemaDict: {
7973
7988
  readonly errors: [{
7974
7989
  readonly name: "InvalidRequest";
7975
7990
  readonly description: "HTTP 400. A malformed or refused query or parameter.";
7991
+ }, {
7992
+ readonly name: "ViewRequired";
7993
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
7994
+ }, {
7995
+ readonly name: "NotCurated";
7996
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
7976
7997
  }, {
7977
7998
  readonly name: "NotFound";
7978
7999
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -7998,7 +8019,7 @@ export declare const schemaDict: {
7998
8019
  readonly defs: {
7999
8020
  readonly main: {
8000
8021
  readonly type: "query";
8001
- readonly description: "Records by URI, as listRecords answers them: the query `{\"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
8022
+ readonly description: "Records by URI, as listRecords answers them: the query `{\"view\": \"asWritten\", \"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
8002
8023
  readonly parameters: {
8003
8024
  readonly type: "params";
8004
8025
  readonly required: ["uris"];
@@ -8198,7 +8219,7 @@ export declare const schemaDict: {
8198
8219
  readonly defs: {
8199
8220
  readonly main: {
8200
8221
  readonly type: "query";
8201
- readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. A branch scoped to named authors, subjects or URIs, and a query with `curated: false`, answers public records as written; any other branch crosses sources and answers curated public records (the commons' listed records). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.";
8222
+ readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.";
8202
8223
  readonly parameters: {
8203
8224
  readonly type: "params";
8204
8225
  readonly properties: {
@@ -8266,6 +8287,12 @@ export declare const schemaDict: {
8266
8287
  readonly errors: [{
8267
8288
  readonly name: "InvalidRequest";
8268
8289
  readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
8290
+ }, {
8291
+ readonly name: "ViewRequired";
8292
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
8293
+ }, {
8294
+ readonly name: "NotCurated";
8295
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
8269
8296
  }, {
8270
8297
  readonly name: "NotFound";
8271
8298
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -8314,7 +8341,7 @@ export declare const schemaDict: {
8314
8341
  };
8315
8342
  readonly curated: {
8316
8343
  readonly type: "boolean";
8317
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
8344
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered: false for every other record (a source copy, a superseded one, a permissioned one).";
8318
8345
  };
8319
8346
  readonly held: {
8320
8347
  readonly type: "boolean";
@@ -14904,7 +14931,7 @@ export declare const schemas: ({
14904
14931
  readonly properties: {
14905
14932
  readonly founderMembershipVisibility: {
14906
14933
  readonly type: "string";
14907
- readonly knownValues: ["public", "members"];
14934
+ readonly enum: ["public", "members"];
14908
14935
  readonly default: "members";
14909
14936
  readonly description: "Who sees the founding membership: `members` (placed in the collective's member space, `pub.techne.draft.space.collective.member/self`, seen by its members) or `public` (a public record).";
14910
14937
  };
@@ -14932,7 +14959,10 @@ export declare const schemas: ({
14932
14959
  };
14933
14960
  readonly errors: [{
14934
14961
  readonly name: "InvalidRequest";
14935
- readonly description: "HTTP 400. The input is not JSON, or `founderMembershipVisibility` is neither `public` nor `members`.";
14962
+ readonly description: "HTTP 400, and nothing is made. The input does not parse: it is not JSON, it has a field this input does not name (a `roster` from an older shape, say), or `founderMembershipVisibility` is neither `public` nor `members`. An empty body is the defaults.";
14963
+ }, {
14964
+ readonly name: "PublicWriteFailed";
14965
+ readonly description: "HTTP 502. The account was made but its founding membership could not be written, so the platform starts deleting the account again before it answers. The caller may retry.";
14936
14966
  }, {
14937
14967
  readonly name: "RateLimitExceeded";
14938
14968
  readonly description: "Too many writes from this DID (HTTP 429).";
@@ -17452,7 +17482,7 @@ export declare const schemas: ({
17452
17482
  } | {
17453
17483
  readonly lexicon: 1;
17454
17484
  readonly id: "pub.techne.draft.orgAtPlace";
17455
- readonly description: "A relationship: an organization is at a place (its office or its storefront). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
17485
+ readonly description: "A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
17456
17486
  readonly defs: {
17457
17487
  readonly main: {
17458
17488
  readonly type: "record";
@@ -17475,8 +17505,8 @@ export declare const schemas: ({
17475
17505
  readonly role: {
17476
17506
  readonly type: "string";
17477
17507
  readonly maxLength: 64;
17478
- readonly knownValues: ["office", "storefront"];
17479
- readonly description: "What the place is to the organization. Values beyond the known set are permitted.";
17508
+ readonly knownValues: ["office", "storefront", "operator"];
17509
+ readonly description: "What the place is to the organization: `office`, `storefront`, or `operator` (the organization runs or maintains the place, such as a park's conservancy or a community fridge's host). Values beyond the known set are permitted.";
17480
17510
  };
17481
17511
  readonly createdAt: {
17482
17512
  readonly type: "string";
@@ -18272,6 +18302,18 @@ export declare const schemas: ({
18272
18302
  readonly ref: "lex:community.lexicon.calendar.event#uri";
18273
18303
  };
18274
18304
  };
18305
+ readonly openingHours: {
18306
+ readonly type: "string";
18307
+ readonly maxLength: 1024;
18308
+ readonly maxGraphemes: 512;
18309
+ readonly description: "When the place is open, in OpenStreetMap `opening_hours` syntax (https://wiki.openstreetmap.org/wiki/Key:opening_hours), e.g. `Mo-Fr 09:00-17:00; Sa 10:00-14:00; PH off`. Local time at the place. A source's hours that do not parse as that syntax may be kept as it wrote them; a reader that cannot parse the value shows it as text. Absent when unknown, never a guess.";
18310
+ };
18311
+ readonly description: {
18312
+ readonly type: "string";
18313
+ readonly maxLength: 30000;
18314
+ readonly maxGraphemes: 3000;
18315
+ readonly description: "Prose about the place: what it is and what happens there. PUBLIC, like the rest of this record. Text a source allows only behind a permission belongs in the permissioned pub.techne.draft.description, not here.";
18316
+ };
18275
18317
  readonly sameAs: {
18276
18318
  readonly type: "array";
18277
18319
  readonly description: "External identity reconciliation — an ARRAY so a provider reissuance (e.g. a GERS id change) appends, never destroys. Absent/empty for app-created entries — NEVER a placeholder id.";
@@ -19175,7 +19217,7 @@ export declare const schemas: ({
19175
19217
  };
19176
19218
  readonly curated: {
19177
19219
  readonly type: "boolean";
19178
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
19220
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered when the step's `envelope` includes it (or names none): false for every other record.";
19179
19221
  };
19180
19222
  readonly held: {
19181
19223
  readonly type: "boolean";
@@ -19198,7 +19240,7 @@ export declare const schemas: ({
19198
19240
  readonly properties: {
19199
19241
  readonly error: {
19200
19242
  readonly type: "string";
19201
- readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
19243
+ readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ViewRequired and NotCurated for a list step, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
19202
19244
  };
19203
19245
  readonly message: {
19204
19246
  readonly type: "string";
@@ -19271,6 +19313,12 @@ export declare const schemas: ({
19271
19313
  readonly errors: [{
19272
19314
  readonly name: "InvalidRequest";
19273
19315
  readonly description: "HTTP 400. A malformed or refused query or parameter.";
19316
+ }, {
19317
+ readonly name: "ViewRequired";
19318
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
19319
+ }, {
19320
+ readonly name: "NotCurated";
19321
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
19274
19322
  }, {
19275
19323
  readonly name: "NotFound";
19276
19324
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -19295,7 +19343,7 @@ export declare const schemas: ({
19295
19343
  readonly defs: {
19296
19344
  readonly main: {
19297
19345
  readonly type: "query";
19298
- readonly description: "Records by URI, as listRecords answers them: the query `{\"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
19346
+ readonly description: "Records by URI, as listRecords answers them: the query `{\"view\": \"asWritten\", \"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
19299
19347
  readonly parameters: {
19300
19348
  readonly type: "params";
19301
19349
  readonly required: ["uris"];
@@ -19494,7 +19542,7 @@ export declare const schemas: ({
19494
19542
  readonly defs: {
19495
19543
  readonly main: {
19496
19544
  readonly type: "query";
19497
- readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. A branch scoped to named authors, subjects or URIs, and a query with `curated: false`, answers public records as written; any other branch crosses sources and answers curated public records (the commons' listed records). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.";
19545
+ readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.";
19498
19546
  readonly parameters: {
19499
19547
  readonly type: "params";
19500
19548
  readonly properties: {
@@ -19562,6 +19610,12 @@ export declare const schemas: ({
19562
19610
  readonly errors: [{
19563
19611
  readonly name: "InvalidRequest";
19564
19612
  readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
19613
+ }, {
19614
+ readonly name: "ViewRequired";
19615
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
19616
+ }, {
19617
+ readonly name: "NotCurated";
19618
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
19565
19619
  }, {
19566
19620
  readonly name: "NotFound";
19567
19621
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -19610,7 +19664,7 @@ export declare const schemas: ({
19610
19664
  };
19611
19665
  readonly curated: {
19612
19666
  readonly type: "boolean";
19613
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
19667
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered: false for every other record (a source copy, a superseded one, a permissioned one).";
19614
19668
  };
19615
19669
  readonly held: {
19616
19670
  readonly type: "boolean";
@@ -3775,7 +3775,7 @@ export const schemaDict = {
3775
3775
  properties: {
3776
3776
  founderMembershipVisibility: {
3777
3777
  type: 'string',
3778
- knownValues: ['public', 'members'],
3778
+ enum: ['public', 'members'],
3779
3779
  default: 'members',
3780
3780
  description: "Who sees the founding membership: `members` (placed in the collective's member space, `pub.techne.draft.space.collective.member/self`, seen by its members) or `public` (a public record).",
3781
3781
  },
@@ -3804,7 +3804,11 @@ export const schemaDict = {
3804
3804
  errors: [
3805
3805
  {
3806
3806
  name: 'InvalidRequest',
3807
- description: 'HTTP 400. The input is not JSON, or `founderMembershipVisibility` is neither `public` nor `members`.',
3807
+ description: 'HTTP 400, and nothing is made. The input does not parse: it is not JSON, it has a field this input does not name (a `roster` from an older shape, say), or `founderMembershipVisibility` is neither `public` nor `members`. An empty body is the defaults.',
3808
+ },
3809
+ {
3810
+ name: 'PublicWriteFailed',
3811
+ description: 'HTTP 502. The account was made but its founding membership could not be written, so the platform starts deleting the account again before it answers. The caller may retry.',
3808
3812
  },
3809
3813
  {
3810
3814
  name: 'RateLimitExceeded',
@@ -6603,7 +6607,7 @@ export const schemaDict = {
6603
6607
  PubTechneDraftOrgAtPlace: {
6604
6608
  lexicon: 1,
6605
6609
  id: 'pub.techne.draft.orgAtPlace',
6606
- description: 'A relationship: an organization is at a place (its office or its storefront). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).',
6610
+ description: 'A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).',
6607
6611
  defs: {
6608
6612
  main: {
6609
6613
  type: 'record',
@@ -6626,8 +6630,8 @@ export const schemaDict = {
6626
6630
  role: {
6627
6631
  type: 'string',
6628
6632
  maxLength: 64,
6629
- knownValues: ['office', 'storefront'],
6630
- description: 'What the place is to the organization. Values beyond the known set are permitted.',
6633
+ knownValues: ['office', 'storefront', 'operator'],
6634
+ description: "What the place is to the organization: `office`, `storefront`, or `operator` (the organization runs or maintains the place, such as a park's conservancy or a community fridge's host). Values beyond the known set are permitted.",
6631
6635
  },
6632
6636
  createdAt: {
6633
6637
  type: 'string',
@@ -7488,6 +7492,18 @@ export const schemaDict = {
7488
7492
  ref: 'lex:community.lexicon.calendar.event#uri',
7489
7493
  },
7490
7494
  },
7495
+ openingHours: {
7496
+ type: 'string',
7497
+ maxLength: 1024,
7498
+ maxGraphemes: 512,
7499
+ description: "When the place is open, in OpenStreetMap `opening_hours` syntax (https://wiki.openstreetmap.org/wiki/Key:opening_hours), e.g. `Mo-Fr 09:00-17:00; Sa 10:00-14:00; PH off`. Local time at the place. A source's hours that do not parse as that syntax may be kept as it wrote them; a reader that cannot parse the value shows it as text. Absent when unknown, never a guess.",
7500
+ },
7501
+ description: {
7502
+ type: 'string',
7503
+ maxLength: 30000,
7504
+ maxGraphemes: 3000,
7505
+ description: 'Prose about the place: what it is and what happens there. PUBLIC, like the rest of this record. Text a source allows only behind a permission belongs in the permissioned pub.techne.draft.description, not here.',
7506
+ },
7491
7507
  sameAs: {
7492
7508
  type: 'array',
7493
7509
  description: 'External identity reconciliation — an ARRAY so a provider reissuance (e.g. a GERS id change) appends, never destroys. Absent/empty for app-created entries — NEVER a placeholder id.',
@@ -8462,7 +8478,7 @@ export const schemaDict = {
8462
8478
  },
8463
8479
  curated: {
8464
8480
  type: 'boolean',
8465
- description: 'A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.',
8481
+ description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered when the step's `envelope` includes it (or names none): false for every other record.",
8466
8482
  },
8467
8483
  held: {
8468
8484
  type: 'boolean',
@@ -8485,7 +8501,7 @@ export const schemaDict = {
8485
8501
  properties: {
8486
8502
  error: {
8487
8503
  type: 'string',
8488
- description: "The error name the step's method would answer (InvalidRequest, NotFound, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.",
8504
+ description: "The error name the step's method would answer (InvalidRequest, NotFound, ViewRequired and NotCurated for a list step, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.",
8489
8505
  },
8490
8506
  message: {
8491
8507
  type: 'string',
@@ -8561,6 +8577,14 @@ export const schemaDict = {
8561
8577
  name: 'InvalidRequest',
8562
8578
  description: 'HTTP 400. A malformed or refused query or parameter.',
8563
8579
  },
8580
+ {
8581
+ name: 'ViewRequired',
8582
+ description: 'HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.',
8583
+ },
8584
+ {
8585
+ name: 'NotCurated',
8586
+ description: 'HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.',
8587
+ },
8564
8588
  {
8565
8589
  name: 'NotFound',
8566
8590
  description: 'HTTP 404. `queryUri` names no query record the caller may read.',
@@ -8587,7 +8611,7 @@ export const schemaDict = {
8587
8611
  defs: {
8588
8612
  main: {
8589
8613
  type: 'query',
8590
- description: 'Records by URI, as listRecords answers them: the query `{"where": {"uri": {"in": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.',
8614
+ description: 'Records by URI, as listRecords answers them: the query `{"view": "asWritten", "where": {"uri": {"in": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.',
8591
8615
  parameters: {
8592
8616
  type: 'params',
8593
8617
  required: ['uris'],
@@ -8789,7 +8813,7 @@ export const schemaDict = {
8789
8813
  defs: {
8790
8814
  main: {
8791
8815
  type: 'query',
8792
- description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. A branch scoped to named authors, subjects or URIs, and a query with `curated: false`, answers public records as written; any other branch crosses sources and answers curated public records (the commons' listed records). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.",
8816
+ description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.",
8793
8817
  parameters: {
8794
8818
  type: 'params',
8795
8819
  properties: {
@@ -8859,6 +8883,14 @@ export const schemaDict = {
8859
8883
  name: 'InvalidRequest',
8860
8884
  description: 'HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.',
8861
8885
  },
8886
+ {
8887
+ name: 'ViewRequired',
8888
+ description: 'HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.',
8889
+ },
8890
+ {
8891
+ name: 'NotCurated',
8892
+ description: 'HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.',
8893
+ },
8862
8894
  {
8863
8895
  name: 'NotFound',
8864
8896
  description: 'HTTP 404. `queryUri` names no query record the caller may read.',
@@ -8916,7 +8948,7 @@ export const schemaDict = {
8916
8948
  },
8917
8949
  curated: {
8918
8950
  type: 'boolean',
8919
- description: 'A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.',
8951
+ description: 'A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered: false for every other record (a source copy, a superseded one, a permissioned one).',
8920
8952
  },
8921
8953
  held: {
8922
8954
  type: 'boolean',
@@ -208,6 +208,7 @@ export declare const NSID: {
208
208
  readonly PUBLISHER: "pub.techne.draft.publisher";
209
209
  readonly PUBLISHER_ISSUE: "pub.techne.draft.publisher#issue";
210
210
  readonly QUERY: "pub.techne.draft.query";
211
+ readonly QUERY_BRANCH: "pub.techne.draft.query#branch";
211
212
  readonly QUERY_CLOSENESS: "pub.techne.draft.query#closeness";
212
213
  readonly QUERY_COMPOSE_RECORDS: "pub.techne.draft.query.composeRecords";
213
214
  readonly QUERY_COMPOSE_RECORDS_RECORD: "pub.techne.draft.query.composeRecords#record";
@@ -303,6 +304,8 @@ export declare const NSID: {
303
304
  export declare const METHOD: {
304
305
  readonly ACCEPT_INTRO: "social.scenius.acceptIntro";
305
306
  readonly ACCEPT_INVITE: "social.scenius.acceptInvite";
307
+ readonly ACK_OWN_LINK_REDEMPTIONS: "social.scenius.ackOwnLinkRedemptions";
308
+ readonly ACK_OWN_LINK_REDEMPTIONS_REDEMPTION_REF: "social.scenius.ackOwnLinkRedemptions#redemptionRef";
306
309
  readonly ADD_BEACON_AUDIENCE: "social.scenius.addBeaconAudience";
307
310
  readonly ADD_COMMONS_EVENT: "social.scenius.addCommonsEvent";
308
311
  readonly ADD_COMMONS_PLACE: "social.scenius.addCommonsPlace";
@@ -490,6 +493,8 @@ export declare const METHOD: {
490
493
  readonly LIST_DEVICE_SESSIONS_DEVICE_SESSION: "social.scenius.listDeviceSessions#deviceSession";
491
494
  readonly LIST_EVENT_INVITES: "social.scenius.listEventInvites";
492
495
  readonly LIST_EVENT_INVITES_EVENT_INVITE: "social.scenius.listEventInvites#eventInvite";
496
+ readonly LIST_OWN_LINK_REDEMPTIONS: "social.scenius.listOwnLinkRedemptions";
497
+ readonly LIST_OWN_LINK_REDEMPTIONS_REDEMPTION: "social.scenius.listOwnLinkRedemptions#redemption";
493
498
  readonly LOGOUT: "social.scenius.logout";
494
499
  readonly MARK_ALL_NOTIFICATIONS_READ: "social.scenius.markAllNotificationsRead";
495
500
  readonly MARK_NOTIFICATION_READ: "social.scenius.markNotificationRead";
@@ -212,6 +212,7 @@ export const NSID = {
212
212
  PUBLISHER: 'pub.techne.draft.publisher',
213
213
  PUBLISHER_ISSUE: 'pub.techne.draft.publisher#issue',
214
214
  QUERY: 'pub.techne.draft.query',
215
+ QUERY_BRANCH: 'pub.techne.draft.query#branch',
215
216
  QUERY_CLOSENESS: 'pub.techne.draft.query#closeness',
216
217
  QUERY_COMPOSE_RECORDS: 'pub.techne.draft.query.composeRecords',
217
218
  QUERY_COMPOSE_RECORDS_RECORD: 'pub.techne.draft.query.composeRecords#record',
@@ -307,6 +308,8 @@ export const NSID = {
307
308
  export const METHOD = {
308
309
  ACCEPT_INTRO: 'social.scenius.acceptIntro',
309
310
  ACCEPT_INVITE: 'social.scenius.acceptInvite',
311
+ ACK_OWN_LINK_REDEMPTIONS: 'social.scenius.ackOwnLinkRedemptions',
312
+ ACK_OWN_LINK_REDEMPTIONS_REDEMPTION_REF: 'social.scenius.ackOwnLinkRedemptions#redemptionRef',
310
313
  ADD_BEACON_AUDIENCE: 'social.scenius.addBeaconAudience',
311
314
  ADD_COMMONS_EVENT: 'social.scenius.addCommonsEvent',
312
315
  ADD_COMMONS_PLACE: 'social.scenius.addCommonsPlace',
@@ -494,6 +497,8 @@ export const METHOD = {
494
497
  LIST_DEVICE_SESSIONS_DEVICE_SESSION: 'social.scenius.listDeviceSessions#deviceSession',
495
498
  LIST_EVENT_INVITES: 'social.scenius.listEventInvites',
496
499
  LIST_EVENT_INVITES_EVENT_INVITE: 'social.scenius.listEventInvites#eventInvite',
500
+ LIST_OWN_LINK_REDEMPTIONS: 'social.scenius.listOwnLinkRedemptions',
501
+ LIST_OWN_LINK_REDEMPTIONS_REDEMPTION: 'social.scenius.listOwnLinkRedemptions#redemption',
497
502
  LOGOUT: 'social.scenius.logout',
498
503
  MARK_ALL_NOTIFICATIONS_READ: 'social.scenius.markAllNotificationsRead',
499
504
  MARK_NOTIFICATION_READ: 'social.scenius.markNotificationRead',
@@ -208,6 +208,7 @@
208
208
  "PUBLISHER": "pub.techne.draft.publisher",
209
209
  "PUBLISHER_ISSUE": "pub.techne.draft.publisher#issue",
210
210
  "QUERY": "pub.techne.draft.query",
211
+ "QUERY_BRANCH": "pub.techne.draft.query#branch",
211
212
  "QUERY_CLOSENESS": "pub.techne.draft.query#closeness",
212
213
  "QUERY_COMPOSE_RECORDS": "pub.techne.draft.query.composeRecords",
213
214
  "QUERY_COMPOSE_RECORDS_RECORD": "pub.techne.draft.query.composeRecords#record",
@@ -302,6 +303,8 @@
302
303
  "METHOD": {
303
304
  "ACCEPT_INTRO": "social.scenius.acceptIntro",
304
305
  "ACCEPT_INVITE": "social.scenius.acceptInvite",
306
+ "ACK_OWN_LINK_REDEMPTIONS": "social.scenius.ackOwnLinkRedemptions",
307
+ "ACK_OWN_LINK_REDEMPTIONS_REDEMPTION_REF": "social.scenius.ackOwnLinkRedemptions#redemptionRef",
305
308
  "ADD_BEACON_AUDIENCE": "social.scenius.addBeaconAudience",
306
309
  "ADD_COMMONS_EVENT": "social.scenius.addCommonsEvent",
307
310
  "ADD_COMMONS_PLACE": "social.scenius.addCommonsPlace",
@@ -489,6 +492,8 @@
489
492
  "LIST_DEVICE_SESSIONS_DEVICE_SESSION": "social.scenius.listDeviceSessions#deviceSession",
490
493
  "LIST_EVENT_INVITES": "social.scenius.listEventInvites",
491
494
  "LIST_EVENT_INVITES_EVENT_INVITE": "social.scenius.listEventInvites#eventInvite",
495
+ "LIST_OWN_LINK_REDEMPTIONS": "social.scenius.listOwnLinkRedemptions",
496
+ "LIST_OWN_LINK_REDEMPTIONS_REDEMPTION": "social.scenius.listOwnLinkRedemptions#redemption",
492
497
  "LOGOUT": "social.scenius.logout",
493
498
  "MARK_ALL_NOTIFICATIONS_READ": "social.scenius.markAllNotificationsRead",
494
499
  "MARK_NOTIFICATION_READ": "social.scenius.markNotificationRead",
@@ -5,7 +5,7 @@ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
5
  export type QueryParams = {};
6
6
  export interface InputSchema {
7
7
  /** Who sees the founding membership: `members` (placed in the collective's member space, `pub.techne.draft.space.collective.member/self`, seen by its members) or `public` (a public record). */
8
- founderMembershipVisibility?: 'public' | 'members' | (string & {});
8
+ founderMembershipVisibility?: 'public' | 'members';
9
9
  }
10
10
  export interface OutputSchema {
11
11
  /** The new collective. */
@@ -27,6 +27,9 @@ export interface Response {
27
27
  export declare class InvalidRequestError extends XRPCError {
28
28
  constructor(src: XRPCError);
29
29
  }
30
+ export declare class PublicWriteFailedError extends XRPCError {
31
+ constructor(src: XRPCError);
32
+ }
30
33
  export declare class RateLimitExceededError extends XRPCError {
31
34
  constructor(src: XRPCError);
32
35
  }
@@ -11,6 +11,11 @@ export class InvalidRequestError extends XRPCError {
11
11
  super(src.status, src.error, src.message, src.headers, { cause: src });
12
12
  }
13
13
  }
14
+ export class PublicWriteFailedError extends XRPCError {
15
+ constructor(src) {
16
+ super(src.status, src.error, src.message, src.headers, { cause: src });
17
+ }
18
+ }
14
19
  export class RateLimitExceededError extends XRPCError {
15
20
  constructor(src) {
16
21
  super(src.status, src.error, src.message, src.headers, { cause: src });
@@ -20,6 +25,8 @@ export function toKnownErr(e) {
20
25
  if (e instanceof XRPCError) {
21
26
  if (e.error === 'InvalidRequest')
22
27
  return new InvalidRequestError(e);
28
+ if (e.error === 'PublicWriteFailed')
29
+ return new PublicWriteFailedError(e);
23
30
  if (e.error === 'RateLimitExceeded')
24
31
  return new RateLimitExceededError(e);
25
32
  }
@@ -7,8 +7,8 @@ export interface Main {
7
7
  $type: 'pub.techne.draft.orgAtPlace';
8
8
  subject: ComAtprotoRepoStrongRef.Main;
9
9
  place: ComAtprotoRepoStrongRef.Main;
10
- /** What the place is to the organization. Values beyond the known set are permitted. */
11
- role?: 'office' | 'storefront' | (string & {});
10
+ /** What the place is to the organization: `office`, `storefront`, or `operator` (the organization runs or maintains the place, such as a park's conservancy or a community fridge's host). Values beyond the known set are permitted. */
11
+ role?: 'office' | 'storefront' | 'operator' | (string & {});
12
12
  createdAt: string;
13
13
  [k: string]: unknown;
14
14
  }
@@ -17,6 +17,10 @@ export interface Main {
17
17
  address?: CommunityLexiconLocationAddress.Main;
18
18
  /** Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record. */
19
19
  uris?: CommunityLexiconCalendarEvent.Uri[];
20
+ /** When the place is open, in OpenStreetMap `opening_hours` syntax (https://wiki.openstreetmap.org/wiki/Key:opening_hours), e.g. `Mo-Fr 09:00-17:00; Sa 10:00-14:00; PH off`. Local time at the place. A source's hours that do not parse as that syntax may be kept as it wrote them; a reader that cannot parse the value shows it as text. Absent when unknown, never a guess. */
21
+ openingHours?: string;
22
+ /** Prose about the place: what it is and what happens there. PUBLIC, like the rest of this record. Text a source allows only behind a permission belongs in the permissioned pub.techne.draft.description, not here. */
23
+ description?: string;
20
24
  /** External identity reconciliation — an ARRAY so a provider reissuance (e.g. a GERS id change) appends, never destroys. Absent/empty for app-created entries — NEVER a placeholder id. */
21
25
  sameAs?: ExternalRef[];
22
26
  createdAt: string;
@@ -123,7 +123,7 @@ export interface Record {
123
123
  space?: string;
124
124
  /** Whether the record is public (on the firehose) or permissioned. */
125
125
  source?: 'public' | 'permissioned' | (string & {});
126
- /** A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise. */
126
+ /** A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered when the step's `envelope` includes it (or names none): false for every other record. */
127
127
  curated?: boolean;
128
128
  /** The caller's own permissioned record that the reach limit holds back from the people it would reach: a withheld act (a share or a circle add), answered to its author alone (to anyone else it is not found) until the limit admits it. Absent otherwise. A query with `held: true` answers only these. */
129
129
  held?: boolean;
@@ -141,7 +141,7 @@ export declare function validateRecord<V>(v: V): ValidationResult<Record & V>;
141
141
  /** Why a step has no result: what its method refused (as that method would answer it), `Skipped` (424) for a step that binds to a failed one (it may already have run; its answer is dropped), or InvalidRequest (400) for a step past a call limit: its bindings fill a get step's `uris` past 500 or a bound list past 2000 values, or its records would take the call past 3000 answered across the steps read in one page, counted in step order, or it is a list step asked `return: false` whose query matches more than 50000 records, or a page it read took the records read by the call's steps read past one page past 50000; or InternalError (500) for a step read past one page whose pages stop advancing (a cursor that comes back twice). */
142
142
  export interface StepError {
143
143
  $type?: 'pub.techne.draft.query.composeRecords#stepError';
144
- /** The error name the step's method would answer (InvalidRequest, NotFound, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed. */
144
+ /** The error name the step's method would answer (InvalidRequest, NotFound, ViewRequired and NotCurated for a list step, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed. */
145
145
  error: string;
146
146
  /** What went wrong, naming the step; for `Skipped`, `step <name>: skipped because <failed step> failed`, naming the step that failed itself (the root of the chain). */
147
147
  message: string;
@@ -34,6 +34,12 @@ export interface Response {
34
34
  export declare class InvalidRequestError extends XRPCError {
35
35
  constructor(src: XRPCError);
36
36
  }
37
+ export declare class ViewRequiredError extends XRPCError {
38
+ constructor(src: XRPCError);
39
+ }
40
+ export declare class NotCuratedError extends XRPCError {
41
+ constructor(src: XRPCError);
42
+ }
37
43
  export declare class NotFoundError extends XRPCError {
38
44
  constructor(src: XRPCError);
39
45
  }