techne-sdk 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +57 -0
- package/README.md +7 -4
- package/dist/auth/index.js +3 -4
- package/dist/catalog/catalog.gen.d.ts +35 -29
- package/dist/catalog/catalog.gen.js +423 -60
- package/dist/generated/index.d.ts +56 -0
- package/dist/generated/index.js +72 -0
- package/dist/generated/lexicons.d.ts +164 -26
- package/dist/generated/lexicons.js +84 -12
- package/dist/generated/nsid.d.ts +8 -0
- package/dist/generated/nsid.js +8 -0
- package/dist/generated/nsid.json +8 -0
- package/dist/generated/records.d.ts +94 -90
- package/dist/generated/types/pub/techne/draft/beacon.d.ts +2 -0
- package/dist/generated/types/pub/techne/draft/derivation.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/evaluation.d.ts +3 -1
- package/dist/generated/types/pub/techne/draft/follow.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/follow.js +12 -0
- package/dist/generated/types/pub/techne/draft/notificationPref.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/notificationPref.js +12 -0
- package/dist/generated/types/pub/techne/draft/org.d.ts +2 -2
- package/dist/generated/types/pub/techne/draft/statement.d.ts +1 -1
- package/dist/query/index.d.ts +3 -2
- package/dist/session/phone.d.ts +7 -6
- package/dist/session/phone.js +7 -6
- package/dist/session/relay.d.ts +1 -1
- package/dist/session/relay.js +1 -1
- package/dist/sign-in/index.js +7 -11
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +7330 -7332
- package/package.json +1 -1
|
@@ -1588,6 +1588,10 @@ export declare const schemaDict: {
|
|
|
1588
1588
|
};
|
|
1589
1589
|
readonly description: "Optional: the emoji the lighter picked for the answers, in this order: going (I'm in), interested (Maybe), notgoing (Can't go). A missing or empty entry means the app's own emoji for that answer.";
|
|
1590
1590
|
};
|
|
1591
|
+
readonly guestsHidden: {
|
|
1592
|
+
readonly type: "boolean";
|
|
1593
|
+
readonly description: "Optional, set when the beacon is lit: true = the people it is shared with do not see who else it was shared with or how they answered. The platform then places each share it writes for this beacon in the lighter's pub.techne.draft.space.audience at this rkey instead of the beacon's space, and guests keep every answer (going, Maybe, Can't go) in their own pub.techne.draft.space.beaconDecline. Absent or false = the guest list is visible to the guests. Read each time a share is written: changing it later moves only shares written after the change.";
|
|
1594
|
+
};
|
|
1591
1595
|
readonly createdAt: {
|
|
1592
1596
|
readonly type: "string";
|
|
1593
1597
|
readonly format: "datetime";
|
|
@@ -2705,7 +2709,7 @@ export declare const schemaDict: {
|
|
|
2705
2709
|
readonly name: {
|
|
2706
2710
|
readonly type: "string";
|
|
2707
2711
|
readonly maxLength: 64;
|
|
2708
|
-
readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution"];
|
|
2712
|
+
readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution", "ladderRung"];
|
|
2709
2713
|
};
|
|
2710
2714
|
readonly value: {
|
|
2711
2715
|
readonly type: "integer";
|
|
@@ -2808,6 +2812,12 @@ export declare const schemaDict: {
|
|
|
2808
2812
|
readonly maxGraphemes: 256;
|
|
2809
2813
|
readonly description: "Optional free-form note.";
|
|
2810
2814
|
};
|
|
2815
|
+
readonly image: {
|
|
2816
|
+
readonly type: "blob";
|
|
2817
|
+
readonly accept: ["image/png", "image/jpeg", "image/webp"];
|
|
2818
|
+
readonly maxSize: 2000000;
|
|
2819
|
+
readonly description: "Optional photo of the subject, set by the evaluator: a blob in the evaluator's own repo. Apps show it only when the subject has no picture of its own.";
|
|
2820
|
+
};
|
|
2811
2821
|
readonly createdAt: {
|
|
2812
2822
|
readonly type: "string";
|
|
2813
2823
|
readonly format: "datetime";
|
|
@@ -3094,10 +3104,37 @@ export declare const schemaDict: {
|
|
|
3094
3104
|
};
|
|
3095
3105
|
};
|
|
3096
3106
|
};
|
|
3107
|
+
readonly PubTechneDraftFollow: {
|
|
3108
|
+
readonly lexicon: 1;
|
|
3109
|
+
readonly id: "pub.techne.draft.follow";
|
|
3110
|
+
readonly description: "The owner follows a person (Beacon: a local curator whose picks they want). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. A missing record means not followed; unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.";
|
|
3111
|
+
readonly defs: {
|
|
3112
|
+
readonly main: {
|
|
3113
|
+
readonly type: "record";
|
|
3114
|
+
readonly key: "any";
|
|
3115
|
+
readonly description: "The record key is the subject's DID.";
|
|
3116
|
+
readonly record: {
|
|
3117
|
+
readonly type: "object";
|
|
3118
|
+
readonly required: ["subject", "createdAt"];
|
|
3119
|
+
readonly properties: {
|
|
3120
|
+
readonly subject: {
|
|
3121
|
+
readonly type: "string";
|
|
3122
|
+
readonly format: "did";
|
|
3123
|
+
readonly description: "The person followed.";
|
|
3124
|
+
};
|
|
3125
|
+
readonly createdAt: {
|
|
3126
|
+
readonly type: "string";
|
|
3127
|
+
readonly format: "datetime";
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
3097
3134
|
readonly PubTechneDraftGeo: {
|
|
3098
3135
|
readonly lexicon: 1;
|
|
3099
3136
|
readonly id: "pub.techne.draft.geo";
|
|
3100
|
-
readonly description: "SUPERSEDED: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
|
|
3137
|
+
readonly description: "SUPERSEDED, legacy: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead and no longer declares geo; an operator pass (`rules-runner retire geocode`) deletes a subject's old geo, and the derivation about it, once the subject's geocode-3 job has written its statement, while a subject still at geocode-2 keeps its geo. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable, and readers still weigh them as a claim, until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
|
|
3101
3138
|
readonly defs: {
|
|
3102
3139
|
readonly main: {
|
|
3103
3140
|
readonly type: "record";
|
|
@@ -6013,6 +6050,38 @@ export declare const schemaDict: {
|
|
|
6013
6050
|
};
|
|
6014
6051
|
};
|
|
6015
6052
|
};
|
|
6053
|
+
readonly PubTechneDraftNotificationPref: {
|
|
6054
|
+
readonly lexicon: 1;
|
|
6055
|
+
readonly id: "pub.techne.draft.notificationPref";
|
|
6056
|
+
readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.new` (a new local curator near you) on, `curator.picks` (curators you follow added picks: at most the day's first pick and one 6 PM batch) off. The notifier reads these, and the owner's pub.techne.draft.follow records, before it sends.";
|
|
6057
|
+
readonly defs: {
|
|
6058
|
+
readonly main: {
|
|
6059
|
+
readonly type: "record";
|
|
6060
|
+
readonly key: "any";
|
|
6061
|
+
readonly description: "The record key is the kind.";
|
|
6062
|
+
readonly record: {
|
|
6063
|
+
readonly type: "object";
|
|
6064
|
+
readonly required: ["kind", "enabled", "createdAt"];
|
|
6065
|
+
readonly properties: {
|
|
6066
|
+
readonly kind: {
|
|
6067
|
+
readonly type: "string";
|
|
6068
|
+
readonly maxLength: 64;
|
|
6069
|
+
readonly knownValues: ["curator.new", "curator.picks"];
|
|
6070
|
+
readonly description: "The kind of notice. An unknown kind is kept and ignored.";
|
|
6071
|
+
};
|
|
6072
|
+
readonly enabled: {
|
|
6073
|
+
readonly type: "boolean";
|
|
6074
|
+
readonly description: "Send this kind of notice (push and the other interrupting channels). The in-app inbox is not switched.";
|
|
6075
|
+
};
|
|
6076
|
+
readonly createdAt: {
|
|
6077
|
+
readonly type: "string";
|
|
6078
|
+
readonly format: "datetime";
|
|
6079
|
+
};
|
|
6080
|
+
};
|
|
6081
|
+
};
|
|
6082
|
+
};
|
|
6083
|
+
};
|
|
6084
|
+
};
|
|
6016
6085
|
readonly PubTechneDraftNotificationState: {
|
|
6017
6086
|
readonly lexicon: 1;
|
|
6018
6087
|
readonly id: "pub.techne.draft.notificationState";
|
|
@@ -6163,7 +6232,7 @@ export declare const schemaDict: {
|
|
|
6163
6232
|
readonly locations: {
|
|
6164
6233
|
readonly type: "array";
|
|
6165
6234
|
readonly maxLength: 256;
|
|
6166
|
-
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location.
|
|
6235
|
+
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
|
|
6167
6236
|
readonly items: {
|
|
6168
6237
|
readonly type: "union";
|
|
6169
6238
|
readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
|
|
@@ -6238,7 +6307,7 @@ export declare const schemaDict: {
|
|
|
6238
6307
|
readonly locations: {
|
|
6239
6308
|
readonly type: "array";
|
|
6240
6309
|
readonly maxLength: 256;
|
|
6241
|
-
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location.
|
|
6310
|
+
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
|
|
6242
6311
|
readonly items: {
|
|
6243
6312
|
readonly type: "union";
|
|
6244
6313
|
readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
|
|
@@ -6268,7 +6337,7 @@ export declare const schemaDict: {
|
|
|
6268
6337
|
readonly PubTechneDraftOrgAtPlace: {
|
|
6269
6338
|
readonly lexicon: 1;
|
|
6270
6339
|
readonly id: "pub.techne.draft.orgAtPlace";
|
|
6271
|
-
readonly description: "SUPERSEDED
|
|
6340
|
+
readonly description: "SUPERSEDED by the org's own `locations`: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. 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).";
|
|
6272
6341
|
readonly defs: {
|
|
6273
6342
|
readonly main: {
|
|
6274
6343
|
readonly type: "record";
|
|
@@ -7092,7 +7161,7 @@ export declare const schemaDict: {
|
|
|
7092
7161
|
readonly PubTechneDraftPlace: {
|
|
7093
7162
|
readonly lexicon: 1;
|
|
7094
7163
|
readonly id: "pub.techne.draft.place";
|
|
7095
|
-
readonly description: "SUPERSEDED by `pub.techne.draft.placeV2
|
|
7164
|
+
readonly description: "SUPERSEDED by `pub.techne.draft.placeV2`: a new writer writes placeV2. An author's `placeV2/<rkey>` replaces that author's own `place/<rkey>`; any other placeV2 is linked to a place by `pub.techne.draft.sameAs`. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
|
|
7096
7165
|
readonly defs: {
|
|
7097
7166
|
readonly main: {
|
|
7098
7167
|
readonly type: "record";
|
|
@@ -7298,7 +7367,7 @@ export declare const schemaDict: {
|
|
|
7298
7367
|
readonly PubTechneDraftPlaceV2: {
|
|
7299
7368
|
readonly lexicon: 1;
|
|
7300
7369
|
readonly id: "pub.techne.draft.placeV2";
|
|
7301
|
-
readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`.
|
|
7370
|
+
readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`. An author's placeV2 at the rkey of that author's own place (`placeV2/<rkey>` beside `place/<rkey>`) replaces that place: the commons curates the two as one. A placeV2 at any other rkey, or by another author, is linked to a place only by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence across records is by `sameAs`; the only link by author is that same-rkey replacement in one repo. Curated places follow the same rules as on `place`.";
|
|
7302
7371
|
readonly defs: {
|
|
7303
7372
|
readonly main: {
|
|
7304
7373
|
readonly type: "record";
|
|
@@ -8268,7 +8337,7 @@ export declare const schemaDict: {
|
|
|
8268
8337
|
readonly description: "HTTP 400. A malformed or refused query or parameter.";
|
|
8269
8338
|
}, {
|
|
8270
8339
|
readonly name: "ViewRequired";
|
|
8271
|
-
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten):
|
|
8340
|
+
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
|
|
8272
8341
|
}, {
|
|
8273
8342
|
readonly name: "NotCurated";
|
|
8274
8343
|
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`.";
|
|
@@ -8497,7 +8566,7 @@ export declare const schemaDict: {
|
|
|
8497
8566
|
readonly defs: {
|
|
8498
8567
|
readonly main: {
|
|
8499
8568
|
readonly type: "query";
|
|
8500
|
-
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;
|
|
8569
|
+
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; a query naming no view at all gets the old default (pub.techne.draft.query `view`) through 2027-03-01 and is refused (ViewRequired) after, 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 a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
|
|
8501
8570
|
readonly parameters: {
|
|
8502
8571
|
readonly type: "params";
|
|
8503
8572
|
readonly properties: {
|
|
@@ -8572,7 +8641,7 @@ export declare const schemaDict: {
|
|
|
8572
8641
|
readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
|
|
8573
8642
|
}, {
|
|
8574
8643
|
readonly name: "ViewRequired";
|
|
8575
|
-
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten):
|
|
8644
|
+
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
|
|
8576
8645
|
}, {
|
|
8577
8646
|
readonly name: "NotCurated";
|
|
8578
8647
|
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`.";
|
|
@@ -9867,7 +9936,7 @@ export declare const schemaDict: {
|
|
|
9867
9936
|
readonly PubTechneDraftRsvpNote: {
|
|
9868
9937
|
readonly lexicon: 1;
|
|
9869
9938
|
readonly id: "pub.techne.draft.rsvpNote";
|
|
9870
|
-
readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one; when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
|
|
9939
|
+
readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one (and for every answer to a beacon lit with `guestsHidden`); when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
|
|
9871
9940
|
readonly defs: {
|
|
9872
9941
|
readonly main: {
|
|
9873
9942
|
readonly type: "record";
|
|
@@ -10031,7 +10100,7 @@ export declare const schemaDict: {
|
|
|
10031
10100
|
readonly PubTechneDraftShare: {
|
|
10032
10101
|
readonly lexicon: 1;
|
|
10033
10102
|
readonly id: "pub.techne.draft.share";
|
|
10034
|
-
readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
|
|
10103
|
+
readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one exception is a share in a pub.techne.draft.space.audience, which only its authority reads: it admits the viewer to the authority's governed space at the same skey through that space's `sharedWithIn` leaf, so the people admitted are not listed to each other. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
|
|
10035
10104
|
readonly defs: {
|
|
10036
10105
|
readonly main: {
|
|
10037
10106
|
readonly type: "record";
|
|
@@ -10248,7 +10317,7 @@ export declare const schemaDict: {
|
|
|
10248
10317
|
};
|
|
10249
10318
|
readonly locations: {
|
|
10250
10319
|
readonly type: "object";
|
|
10251
|
-
readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.";
|
|
10320
|
+
readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses. The commons curator makes a curated copy of a statement carrying `locations` only when its subject's type reads its entries as sites (an org; never an event or a place) and the statement's author is one the root endorses for statements: the copy is about the curated org and written by the org's curator, so it counts as the org's own locations.";
|
|
10252
10321
|
readonly required: ["locations"];
|
|
10253
10322
|
readonly properties: {
|
|
10254
10323
|
readonly locations: {
|
|
@@ -13392,6 +13461,10 @@ export declare const schemas: ({
|
|
|
13392
13461
|
};
|
|
13393
13462
|
readonly description: "Optional: the emoji the lighter picked for the answers, in this order: going (I'm in), interested (Maybe), notgoing (Can't go). A missing or empty entry means the app's own emoji for that answer.";
|
|
13394
13463
|
};
|
|
13464
|
+
readonly guestsHidden: {
|
|
13465
|
+
readonly type: "boolean";
|
|
13466
|
+
readonly description: "Optional, set when the beacon is lit: true = the people it is shared with do not see who else it was shared with or how they answered. The platform then places each share it writes for this beacon in the lighter's pub.techne.draft.space.audience at this rkey instead of the beacon's space, and guests keep every answer (going, Maybe, Can't go) in their own pub.techne.draft.space.beaconDecline. Absent or false = the guest list is visible to the guests. Read each time a share is written: changing it later moves only shares written after the change.";
|
|
13467
|
+
};
|
|
13395
13468
|
readonly createdAt: {
|
|
13396
13469
|
readonly type: "string";
|
|
13397
13470
|
readonly format: "datetime";
|
|
@@ -14489,7 +14562,7 @@ export declare const schemas: ({
|
|
|
14489
14562
|
readonly name: {
|
|
14490
14563
|
readonly type: "string";
|
|
14491
14564
|
readonly maxLength: 64;
|
|
14492
|
-
readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution"];
|
|
14565
|
+
readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution", "ladderRung"];
|
|
14493
14566
|
};
|
|
14494
14567
|
readonly value: {
|
|
14495
14568
|
readonly type: "integer";
|
|
@@ -14589,6 +14662,12 @@ export declare const schemas: ({
|
|
|
14589
14662
|
readonly maxGraphemes: 256;
|
|
14590
14663
|
readonly description: "Optional free-form note.";
|
|
14591
14664
|
};
|
|
14665
|
+
readonly image: {
|
|
14666
|
+
readonly type: "blob";
|
|
14667
|
+
readonly accept: ["image/png", "image/jpeg", "image/webp"];
|
|
14668
|
+
readonly maxSize: 2000000;
|
|
14669
|
+
readonly description: "Optional photo of the subject, set by the evaluator: a blob in the evaluator's own repo. Apps show it only when the subject has no picture of its own.";
|
|
14670
|
+
};
|
|
14592
14671
|
readonly createdAt: {
|
|
14593
14672
|
readonly type: "string";
|
|
14594
14673
|
readonly format: "datetime";
|
|
@@ -14869,10 +14948,36 @@ export declare const schemas: ({
|
|
|
14869
14948
|
};
|
|
14870
14949
|
};
|
|
14871
14950
|
};
|
|
14951
|
+
} | {
|
|
14952
|
+
readonly lexicon: 1;
|
|
14953
|
+
readonly id: "pub.techne.draft.follow";
|
|
14954
|
+
readonly description: "The owner follows a person (Beacon: a local curator whose picks they want). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. A missing record means not followed; unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.";
|
|
14955
|
+
readonly defs: {
|
|
14956
|
+
readonly main: {
|
|
14957
|
+
readonly type: "record";
|
|
14958
|
+
readonly key: "any";
|
|
14959
|
+
readonly description: "The record key is the subject's DID.";
|
|
14960
|
+
readonly record: {
|
|
14961
|
+
readonly type: "object";
|
|
14962
|
+
readonly required: ["subject", "createdAt"];
|
|
14963
|
+
readonly properties: {
|
|
14964
|
+
readonly subject: {
|
|
14965
|
+
readonly type: "string";
|
|
14966
|
+
readonly format: "did";
|
|
14967
|
+
readonly description: "The person followed.";
|
|
14968
|
+
};
|
|
14969
|
+
readonly createdAt: {
|
|
14970
|
+
readonly type: "string";
|
|
14971
|
+
readonly format: "datetime";
|
|
14972
|
+
};
|
|
14973
|
+
};
|
|
14974
|
+
};
|
|
14975
|
+
};
|
|
14976
|
+
};
|
|
14872
14977
|
} | {
|
|
14873
14978
|
readonly lexicon: 1;
|
|
14874
14979
|
readonly id: "pub.techne.draft.geo";
|
|
14875
|
-
readonly description: "SUPERSEDED: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
|
|
14980
|
+
readonly description: "SUPERSEDED, legacy: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead and no longer declares geo; an operator pass (`rules-runner retire geocode`) deletes a subject's old geo, and the derivation about it, once the subject's geocode-3 job has written its statement, while a subject still at geocode-2 keeps its geo. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable, and readers still weigh them as a claim, until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
|
|
14876
14981
|
readonly defs: {
|
|
14877
14982
|
readonly main: {
|
|
14878
14983
|
readonly type: "record";
|
|
@@ -17749,6 +17854,37 @@ export declare const schemas: ({
|
|
|
17749
17854
|
};
|
|
17750
17855
|
};
|
|
17751
17856
|
};
|
|
17857
|
+
} | {
|
|
17858
|
+
readonly lexicon: 1;
|
|
17859
|
+
readonly id: "pub.techne.draft.notificationPref";
|
|
17860
|
+
readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.new` (a new local curator near you) on, `curator.picks` (curators you follow added picks: at most the day's first pick and one 6 PM batch) off. The notifier reads these, and the owner's pub.techne.draft.follow records, before it sends.";
|
|
17861
|
+
readonly defs: {
|
|
17862
|
+
readonly main: {
|
|
17863
|
+
readonly type: "record";
|
|
17864
|
+
readonly key: "any";
|
|
17865
|
+
readonly description: "The record key is the kind.";
|
|
17866
|
+
readonly record: {
|
|
17867
|
+
readonly type: "object";
|
|
17868
|
+
readonly required: ["kind", "enabled", "createdAt"];
|
|
17869
|
+
readonly properties: {
|
|
17870
|
+
readonly kind: {
|
|
17871
|
+
readonly type: "string";
|
|
17872
|
+
readonly maxLength: 64;
|
|
17873
|
+
readonly knownValues: ["curator.new", "curator.picks"];
|
|
17874
|
+
readonly description: "The kind of notice. An unknown kind is kept and ignored.";
|
|
17875
|
+
};
|
|
17876
|
+
readonly enabled: {
|
|
17877
|
+
readonly type: "boolean";
|
|
17878
|
+
readonly description: "Send this kind of notice (push and the other interrupting channels). The in-app inbox is not switched.";
|
|
17879
|
+
};
|
|
17880
|
+
readonly createdAt: {
|
|
17881
|
+
readonly type: "string";
|
|
17882
|
+
readonly format: "datetime";
|
|
17883
|
+
};
|
|
17884
|
+
};
|
|
17885
|
+
};
|
|
17886
|
+
};
|
|
17887
|
+
};
|
|
17752
17888
|
} | {
|
|
17753
17889
|
readonly lexicon: 1;
|
|
17754
17890
|
readonly id: "pub.techne.draft.notificationState";
|
|
@@ -17897,7 +18033,7 @@ export declare const schemas: ({
|
|
|
17897
18033
|
readonly locations: {
|
|
17898
18034
|
readonly type: "array";
|
|
17899
18035
|
readonly maxLength: 256;
|
|
17900
|
-
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location.
|
|
18036
|
+
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
|
|
17901
18037
|
readonly items: {
|
|
17902
18038
|
readonly type: "union";
|
|
17903
18039
|
readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
|
|
@@ -17972,7 +18108,7 @@ export declare const schemas: ({
|
|
|
17972
18108
|
readonly locations: {
|
|
17973
18109
|
readonly type: "array";
|
|
17974
18110
|
readonly maxLength: 256;
|
|
17975
|
-
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location.
|
|
18111
|
+
readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
|
|
17976
18112
|
readonly items: {
|
|
17977
18113
|
readonly type: "union";
|
|
17978
18114
|
readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
|
|
@@ -18001,7 +18137,7 @@ export declare const schemas: ({
|
|
|
18001
18137
|
} | {
|
|
18002
18138
|
readonly lexicon: 1;
|
|
18003
18139
|
readonly id: "pub.techne.draft.orgAtPlace";
|
|
18004
|
-
readonly description: "SUPERSEDED
|
|
18140
|
+
readonly description: "SUPERSEDED by the org's own `locations`: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. 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).";
|
|
18005
18141
|
readonly defs: {
|
|
18006
18142
|
readonly main: {
|
|
18007
18143
|
readonly type: "record";
|
|
@@ -18814,7 +18950,7 @@ export declare const schemas: ({
|
|
|
18814
18950
|
} | {
|
|
18815
18951
|
readonly lexicon: 1;
|
|
18816
18952
|
readonly id: "pub.techne.draft.place";
|
|
18817
|
-
readonly description: "SUPERSEDED by `pub.techne.draft.placeV2
|
|
18953
|
+
readonly description: "SUPERSEDED by `pub.techne.draft.placeV2`: a new writer writes placeV2. An author's `placeV2/<rkey>` replaces that author's own `place/<rkey>`; any other placeV2 is linked to a place by `pub.techne.draft.sameAs`. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
|
|
18818
18954
|
readonly defs: {
|
|
18819
18955
|
readonly main: {
|
|
18820
18956
|
readonly type: "record";
|
|
@@ -19018,7 +19154,7 @@ export declare const schemas: ({
|
|
|
19018
19154
|
} | {
|
|
19019
19155
|
readonly lexicon: 1;
|
|
19020
19156
|
readonly id: "pub.techne.draft.placeV2";
|
|
19021
|
-
readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`.
|
|
19157
|
+
readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`. An author's placeV2 at the rkey of that author's own place (`placeV2/<rkey>` beside `place/<rkey>`) replaces that place: the commons curates the two as one. A placeV2 at any other rkey, or by another author, is linked to a place only by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence across records is by `sameAs`; the only link by author is that same-rkey replacement in one repo. Curated places follow the same rules as on `place`.";
|
|
19022
19158
|
readonly defs: {
|
|
19023
19159
|
readonly main: {
|
|
19024
19160
|
readonly type: "record";
|
|
@@ -19981,7 +20117,7 @@ export declare const schemas: ({
|
|
|
19981
20117
|
readonly description: "HTTP 400. A malformed or refused query or parameter.";
|
|
19982
20118
|
}, {
|
|
19983
20119
|
readonly name: "ViewRequired";
|
|
19984
|
-
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten):
|
|
20120
|
+
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
|
|
19985
20121
|
}, {
|
|
19986
20122
|
readonly name: "NotCurated";
|
|
19987
20123
|
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`.";
|
|
@@ -20208,7 +20344,7 @@ export declare const schemas: ({
|
|
|
20208
20344
|
readonly defs: {
|
|
20209
20345
|
readonly main: {
|
|
20210
20346
|
readonly type: "query";
|
|
20211
|
-
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;
|
|
20347
|
+
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; a query naming no view at all gets the old default (pub.techne.draft.query `view`) through 2027-03-01 and is refused (ViewRequired) after, 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 a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
|
|
20212
20348
|
readonly parameters: {
|
|
20213
20349
|
readonly type: "params";
|
|
20214
20350
|
readonly properties: {
|
|
@@ -20283,7 +20419,7 @@ export declare const schemas: ({
|
|
|
20283
20419
|
readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
|
|
20284
20420
|
}, {
|
|
20285
20421
|
readonly name: "ViewRequired";
|
|
20286
|
-
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten):
|
|
20422
|
+
readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
|
|
20287
20423
|
}, {
|
|
20288
20424
|
readonly name: "NotCurated";
|
|
20289
20425
|
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`.";
|
|
@@ -21561,7 +21697,7 @@ export declare const schemas: ({
|
|
|
21561
21697
|
} | {
|
|
21562
21698
|
readonly lexicon: 1;
|
|
21563
21699
|
readonly id: "pub.techne.draft.rsvpNote";
|
|
21564
|
-
readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one; when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
|
|
21700
|
+
readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one (and for every answer to a beacon lit with `guestsHidden`); when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
|
|
21565
21701
|
readonly defs: {
|
|
21566
21702
|
readonly main: {
|
|
21567
21703
|
readonly type: "record";
|
|
@@ -21721,7 +21857,7 @@ export declare const schemas: ({
|
|
|
21721
21857
|
} | {
|
|
21722
21858
|
readonly lexicon: 1;
|
|
21723
21859
|
readonly id: "pub.techne.draft.share";
|
|
21724
|
-
readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
|
|
21860
|
+
readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one exception is a share in a pub.techne.draft.space.audience, which only its authority reads: it admits the viewer to the authority's governed space at the same skey through that space's `sharedWithIn` leaf, so the people admitted are not listed to each other. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
|
|
21725
21861
|
readonly defs: {
|
|
21726
21862
|
readonly main: {
|
|
21727
21863
|
readonly type: "record";
|
|
@@ -21934,7 +22070,7 @@ export declare const schemas: ({
|
|
|
21934
22070
|
};
|
|
21935
22071
|
readonly locations: {
|
|
21936
22072
|
readonly type: "object";
|
|
21937
|
-
readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.";
|
|
22073
|
+
readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses. The commons curator makes a curated copy of a statement carrying `locations` only when its subject's type reads its entries as sites (an org; never an event or a place) and the statement's author is one the root endorses for statements: the copy is about the curated org and written by the org's curator, so it counts as the org's own locations.";
|
|
21938
22074
|
readonly required: ["locations"];
|
|
21939
22075
|
readonly properties: {
|
|
21940
22076
|
readonly locations: {
|
|
@@ -23558,6 +23694,7 @@ export declare const ids: {
|
|
|
23558
23694
|
readonly PubTechneDraftEventListing: "pub.techne.draft.event.listing";
|
|
23559
23695
|
readonly PubTechneDraftFeedRecipe: "pub.techne.draft.feed.recipe";
|
|
23560
23696
|
readonly PubTechneDraftFinancials: "pub.techne.draft.financials";
|
|
23697
|
+
readonly PubTechneDraftFollow: "pub.techne.draft.follow";
|
|
23561
23698
|
readonly PubTechneDraftGeo: "pub.techne.draft.geo";
|
|
23562
23699
|
readonly PubTechneDraftHeldAt: "pub.techne.draft.heldAt";
|
|
23563
23700
|
readonly PubTechneDraftIdentityAccountsForPhones: "pub.techne.draft.identity.accountsForPhones";
|
|
@@ -23597,6 +23734,7 @@ export declare const ids: {
|
|
|
23597
23734
|
readonly PubTechneDraftMarketAsk: "pub.techne.draft.market.ask";
|
|
23598
23735
|
readonly PubTechneDraftMarketOffer: "pub.techne.draft.market.offer";
|
|
23599
23736
|
readonly PubTechneDraftMembership: "pub.techne.draft.membership";
|
|
23737
|
+
readonly PubTechneDraftNotificationPref: "pub.techne.draft.notificationPref";
|
|
23600
23738
|
readonly PubTechneDraftNotificationState: "pub.techne.draft.notificationState";
|
|
23601
23739
|
readonly PubTechneDraftOperator: "pub.techne.draft.operator";
|
|
23602
23740
|
readonly PubTechneDraftOrg: "pub.techne.draft.org";
|