techne-sdk 0.12.0 → 0.13.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 +40 -0
- package/dist/auth/placement.gen.d.ts +1 -1
- package/dist/auth/placement.gen.js +3 -0
- package/dist/catalog/catalog.gen.d.ts +22 -0
- package/dist/catalog/catalog.gen.js +1522 -44
- package/dist/generated/index.d.ts +141 -0
- package/dist/generated/index.js +186 -0
- package/dist/generated/lexicons.d.ts +840 -54
- package/dist/generated/lexicons.js +466 -18
- package/dist/generated/nsid.d.ts +41 -0
- package/dist/generated/nsid.js +41 -0
- package/dist/generated/nsid.json +41 -0
- package/dist/generated/records.d.ts +134 -124
- package/dist/generated/types/pub/techne/draft/beaconSpotV2.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/beaconSpotV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/collectiveV2.d.ts +31 -0
- package/dist/generated/types/pub/techne/draft/collectiveV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/locationEntry.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/locationEntry.js +11 -0
- package/dist/generated/types/pub/techne/draft/org.d.ts +6 -4
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.d.ts +24 -0
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/placeV2.d.ts +42 -0
- package/dist/generated/types/pub/techne/draft/placeV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/query/composeRecords.d.ts +6 -2
- package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +2 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +34 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.js +14 -0
- package/dist/generated/types/pub/techne/draft/region.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/region.js +12 -0
- package/dist/generated/types/pub/techne/draft/statement.d.ts +15 -1
- package/dist/generated/types/pub/techne/draft/statement.js +7 -0
- package/dist/query/compose.d.ts +2 -2
- package/dist/query/compose.js +1 -1
- package/dist/query/index.d.ts +19 -1
- package/dist/query/index.js +2 -0
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +20452 -20454
- package/package.json +1 -1
|
@@ -1737,7 +1737,7 @@ export const schemaDict = {
|
|
|
1737
1737
|
PubTechneDraftBeaconSpot: {
|
|
1738
1738
|
lexicon: 1,
|
|
1739
1739
|
id: 'pub.techne.draft.beaconSpot',
|
|
1740
|
-
description: "The exact spot behind a going-to beacon on a public event. A public event made from a dropped pin or a street address shows only its area (rounded to about 100 m, no street line); this record keeps the exact point for that one beacon's people. At most one per beacon: the record key is the beacon's own record key. Its only declared home is that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter), so the people who can read it are exactly the beacon space's published read audience: the lighter and everyone the beacon is shared with, including the people and circles the lighter named and anyone who opened the beacon's link while it was lit (each is admitted by a share in the space). Surfaces that show the beacon overlay it onto the event's location; anyone in that audience can also read the record directly. It has no public home, so the firehose guard withholds it. A reader counts it only when its author is the space's authority and `event` names the event the beacon is going to. Deleted when the beacon is ended, and once its event has ended or been cancelled.",
|
|
1740
|
+
description: "SUPERSEDED by `pub.techne.draft.beaconSpotV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. The exact spot behind a going-to beacon on a public event. A public event made from a dropped pin or a street address shows only its area (rounded to about 100 m, no street line); this record keeps the exact point for that one beacon's people. At most one per beacon: the record key is the beacon's own record key. Its only declared home is that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter), so the people who can read it are exactly the beacon space's published read audience: the lighter and everyone the beacon is shared with, including the people and circles the lighter named and anyone who opened the beacon's link while it was lit (each is admitted by a share in the space). Surfaces that show the beacon overlay it onto the event's location; anyone in that audience can also read the record directly. It has no public home, so the firehose guard withholds it. A reader counts it only when its author is the space's authority and `event` names the event the beacon is going to. Deleted when the beacon is ended, and once its event has ended or been cancelled.",
|
|
1741
1741
|
defs: {
|
|
1742
1742
|
main: {
|
|
1743
1743
|
type: 'record',
|
|
@@ -1766,6 +1766,48 @@ export const schemaDict = {
|
|
|
1766
1766
|
},
|
|
1767
1767
|
},
|
|
1768
1768
|
},
|
|
1769
|
+
PubTechneDraftBeaconSpotV2: {
|
|
1770
|
+
lexicon: 1,
|
|
1771
|
+
id: 'pub.techne.draft.beaconSpotV2',
|
|
1772
|
+
description: "The exact spot behind a going-to beacon on a public event, replacing `pub.techne.draft.beaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the beaconSpot it replaces by a `pub.techne.draft.sameAs` record. Same key, readers and home as `beaconSpot` (the home is declared `unbuilt` until its writer lands): at most one per beacon at the beacon's own record key, only in that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter); a reader counts it only when its author is the space's authority and `subject` names the event the beacon is going to.",
|
|
1773
|
+
defs: {
|
|
1774
|
+
main: {
|
|
1775
|
+
type: 'record',
|
|
1776
|
+
key: 'any',
|
|
1777
|
+
record: {
|
|
1778
|
+
type: 'object',
|
|
1779
|
+
required: ['subject', 'locations', 'createdAt'],
|
|
1780
|
+
properties: {
|
|
1781
|
+
subject: {
|
|
1782
|
+
type: 'ref',
|
|
1783
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
1784
|
+
description: 'The public community.lexicon.calendar.event this is the exact spot of.',
|
|
1785
|
+
},
|
|
1786
|
+
locations: {
|
|
1787
|
+
type: 'array',
|
|
1788
|
+
minLength: 1,
|
|
1789
|
+
maxLength: 4,
|
|
1790
|
+
description: 'The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.',
|
|
1791
|
+
items: {
|
|
1792
|
+
type: 'union',
|
|
1793
|
+
refs: [
|
|
1794
|
+
'lex:community.lexicon.location.geo',
|
|
1795
|
+
'lex:community.lexicon.location.hthree',
|
|
1796
|
+
'lex:community.lexicon.location.address',
|
|
1797
|
+
'lex:com.atproto.repo.strongRef',
|
|
1798
|
+
'lex:pub.techne.draft.locationEntry',
|
|
1799
|
+
],
|
|
1800
|
+
},
|
|
1801
|
+
},
|
|
1802
|
+
createdAt: {
|
|
1803
|
+
type: 'string',
|
|
1804
|
+
format: 'datetime',
|
|
1805
|
+
},
|
|
1806
|
+
},
|
|
1807
|
+
},
|
|
1808
|
+
},
|
|
1809
|
+
},
|
|
1810
|
+
},
|
|
1769
1811
|
PubTechneDraftBlock: {
|
|
1770
1812
|
lexicon: 1,
|
|
1771
1813
|
id: 'pub.techne.draft.block',
|
|
@@ -1851,7 +1893,7 @@ export const schemaDict = {
|
|
|
1851
1893
|
PubTechneDraftCollective: {
|
|
1852
1894
|
lexicon: 1,
|
|
1853
1895
|
id: 'pub.techne.draft.collective',
|
|
1854
|
-
description: "A collective's descriptor record. The collective's identity is its DID; this record describes it.",
|
|
1896
|
+
description: "SUPERSEDED by `pub.techne.draft.collectiveV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. A collective's descriptor record. The collective's identity is its DID; this record describes it.",
|
|
1855
1897
|
defs: {
|
|
1856
1898
|
main: {
|
|
1857
1899
|
type: 'record',
|
|
@@ -1912,6 +1954,70 @@ export const schemaDict = {
|
|
|
1912
1954
|
},
|
|
1913
1955
|
},
|
|
1914
1956
|
},
|
|
1957
|
+
PubTechneDraftCollectiveV2: {
|
|
1958
|
+
lexicon: 1,
|
|
1959
|
+
id: 'pub.techne.draft.collectiveV2',
|
|
1960
|
+
description: "A collective's descriptor record, replacing `pub.techne.draft.collective` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of the single `location`, and the deprecated `sceneType` is gone. The collective's identity is its DID; this record describes it. A collectiveV2 and the collective descriptor it replaces are linked by a `pub.techne.draft.sameAs` record. Its homes in the placement manifest are declared `unbuilt` until its writer lands; they will be `collective`'s.",
|
|
1961
|
+
defs: {
|
|
1962
|
+
main: {
|
|
1963
|
+
type: 'record',
|
|
1964
|
+
key: 'literal:self',
|
|
1965
|
+
record: {
|
|
1966
|
+
type: 'object',
|
|
1967
|
+
required: ['name', 'createdAt'],
|
|
1968
|
+
properties: {
|
|
1969
|
+
name: {
|
|
1970
|
+
type: 'string',
|
|
1971
|
+
maxLength: 640,
|
|
1972
|
+
maxGraphemes: 64,
|
|
1973
|
+
description: 'The display name of the collective.',
|
|
1974
|
+
},
|
|
1975
|
+
description: {
|
|
1976
|
+
type: 'string',
|
|
1977
|
+
maxLength: 2560,
|
|
1978
|
+
maxGraphemes: 256,
|
|
1979
|
+
description: 'A free-form description of the collective.',
|
|
1980
|
+
},
|
|
1981
|
+
emoji: {
|
|
1982
|
+
type: 'string',
|
|
1983
|
+
maxLength: 64,
|
|
1984
|
+
maxGraphemes: 1,
|
|
1985
|
+
description: "Optional: one emoji (one grapheme cluster), the collective's mark. A client shows the avatar if there is one, else this emoji, else the first letter of the name. No color is stored; a client may derive one from the collective's DID.",
|
|
1986
|
+
},
|
|
1987
|
+
collectiveType: {
|
|
1988
|
+
type: 'string',
|
|
1989
|
+
description: "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, and which a pub.techne.draft.accessRule#groupTarget may name. Roles: a member holds 20 and the manager 40 (the founder, until they make someone else manager). Where the platform holds the circle's credential, any member may add people and leave; only the manager renames, sets the emoji, removes people and makes someone manager (one putRecords: that member at 40, the manager's own claim at 20). A write that would leave members with nobody at >= 30 is refused (LastManager). A circle whose last member leaves is deleted, and so is one whose only member deletes their account; an account that alone manages a circle hands it to the longest-standing other member when it is deleted. Circles made before these roles hold every member at 40 until the operator lowers them. A circle whose DID someone else holds is managed by its holder.",
|
|
1990
|
+
maxLength: 64,
|
|
1991
|
+
},
|
|
1992
|
+
locations: {
|
|
1993
|
+
type: 'array',
|
|
1994
|
+
maxLength: 16,
|
|
1995
|
+
description: 'Where the collective is based: a point, an H3 cell, an address or a place record (lexicon naming register). Its query document reads the entries as `sites`.',
|
|
1996
|
+
items: {
|
|
1997
|
+
type: 'union',
|
|
1998
|
+
refs: [
|
|
1999
|
+
'lex:community.lexicon.location.geo',
|
|
2000
|
+
'lex:community.lexicon.location.hthree',
|
|
2001
|
+
'lex:community.lexicon.location.address',
|
|
2002
|
+
'lex:com.atproto.repo.strongRef',
|
|
2003
|
+
'lex:pub.techne.draft.locationEntry',
|
|
2004
|
+
],
|
|
2005
|
+
},
|
|
2006
|
+
},
|
|
2007
|
+
avatar: {
|
|
2008
|
+
type: 'blob',
|
|
2009
|
+
accept: ['image/png', 'image/jpeg'],
|
|
2010
|
+
maxSize: 1000000,
|
|
2011
|
+
},
|
|
2012
|
+
createdAt: {
|
|
2013
|
+
type: 'string',
|
|
2014
|
+
format: 'datetime',
|
|
2015
|
+
},
|
|
2016
|
+
},
|
|
2017
|
+
},
|
|
2018
|
+
},
|
|
2019
|
+
},
|
|
2020
|
+
},
|
|
1915
2021
|
PubTechneDraftCommonsCreateServiceAccount: {
|
|
1916
2022
|
lexicon: 1,
|
|
1917
2023
|
id: 'pub.techne.draft.commons.createServiceAccount',
|
|
@@ -2462,7 +2568,7 @@ export const schemaDict = {
|
|
|
2462
2568
|
PubTechneDraftContainedIn: {
|
|
2463
2569
|
lexicon: 1,
|
|
2464
2570
|
id: 'pub.techne.draft.containedIn',
|
|
2465
|
-
description: 'An assertion that one place is inside another (a room in a building, a stage in a park). 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 venue rule.',
|
|
2571
|
+
description: 'SUPERSEDED, still written by the commons rules until their writers move to the new shape: a place inside another names it in its own `locations` (a `pub.techne.draft.placeV2`), or a `pub.techne.draft.statement` carrying `#locations` says so. Existing records stay readable. An assertion that one place is inside another (a room in a building, a stage in a park). 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 venue rule.',
|
|
2466
2572
|
defs: {
|
|
2467
2573
|
main: {
|
|
2468
2574
|
type: 'record',
|
|
@@ -3179,7 +3285,7 @@ export const schemaDict = {
|
|
|
3179
3285
|
PubTechneDraftGeo: {
|
|
3180
3286
|
lexicon: 1,
|
|
3181
3287
|
id: 'pub.techne.draft.geo',
|
|
3182
|
-
description: "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.",
|
|
3288
|
+
description: "SUPERSEDED, still written by the commons rules until their writers move to the new shape: 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. 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.",
|
|
3183
3289
|
defs: {
|
|
3184
3290
|
main: {
|
|
3185
3291
|
type: 'record',
|
|
@@ -3217,7 +3323,7 @@ export const schemaDict = {
|
|
|
3217
3323
|
PubTechneDraftHeldAt: {
|
|
3218
3324
|
lexicon: 1,
|
|
3219
3325
|
id: 'pub.techne.draft.heldAt',
|
|
3220
|
-
description: "The place where an event is held. It names a place record, for an event whose own record names no place record (the main event-to-venue link is the event's own `locations` entry naming its source's place record; this is only for events without one). 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 venue rule.",
|
|
3326
|
+
description: "SUPERSEDED, still written by the commons rules until their writers move to the new shape: the place an event is held at is a `pub.techne.draft.statement` about the event carrying `#locations` with a place reference. Existing records stay readable. The place where an event is held. It names a place record, for an event whose own record names no place record (the main event-to-venue link is the event's own `locations` entry naming its source's place record; this is only for events without one). 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 venue rule.",
|
|
3221
3327
|
defs: {
|
|
3222
3328
|
main: {
|
|
3223
3329
|
type: 'record',
|
|
@@ -6232,6 +6338,46 @@ export const schemaDict = {
|
|
|
6232
6338
|
},
|
|
6233
6339
|
},
|
|
6234
6340
|
},
|
|
6341
|
+
PubTechneDraftLocationEntry: {
|
|
6342
|
+
lexicon: 1,
|
|
6343
|
+
id: 'pub.techne.draft.locationEntry',
|
|
6344
|
+
description: 'One entry of a `locations` field that says more than "is at": how the thing relates to the location (`kind`), the location itself (`at`), an optional label and, in a statement about someone else\'s record, the subject\'s own entry it gives a position to (`basis`). A bare entry (a point, a cell, an address or a place reference with no wrapper) means the thing is at that location; wrap an entry to say something else, or to give it a `label` or a `basis` (with no `kind` it still means "is at"). Each type\'s query document says how a reader takes a list of entries: `entries: faces` (several forms of one location, as on events) or `entries: sites` (each entry its own location, as on orgs).',
|
|
6345
|
+
defs: {
|
|
6346
|
+
main: {
|
|
6347
|
+
type: 'object',
|
|
6348
|
+
required: ['at'],
|
|
6349
|
+
properties: {
|
|
6350
|
+
kind: {
|
|
6351
|
+
type: 'string',
|
|
6352
|
+
maxLength: 64,
|
|
6353
|
+
knownValues: ['at', 'serves', 'registered'],
|
|
6354
|
+
description: 'How the thing relates to `at`. `at`: it is at that location, the same as leaving `kind` out (queries and matched locations name "is at" `at`). `serves`: it serves the people in that location (an org\'s service area). `registered`: a registry lists it there (a nonprofit\'s filing city or ZIP), which says nothing about where it works. Open: a reader that does not know a kind skips the entry.',
|
|
6355
|
+
},
|
|
6356
|
+
at: {
|
|
6357
|
+
type: 'union',
|
|
6358
|
+
refs: [
|
|
6359
|
+
'lex:community.lexicon.location.geo',
|
|
6360
|
+
'lex:community.lexicon.location.hthree',
|
|
6361
|
+
'lex:community.lexicon.location.address',
|
|
6362
|
+
'lex:com.atproto.repo.strongRef',
|
|
6363
|
+
],
|
|
6364
|
+
description: 'The location: a point, an H3 cell, an address, or a place record (a `pub.techne.draft.placeV2`, such as an area for a city, county or ZIP).',
|
|
6365
|
+
},
|
|
6366
|
+
label: {
|
|
6367
|
+
type: 'string',
|
|
6368
|
+
maxLength: 640,
|
|
6369
|
+
maxGraphemes: 64,
|
|
6370
|
+
description: 'A short label for the entry as the writer would show it, such as "Main office" or "Filing city (IRS)".',
|
|
6371
|
+
},
|
|
6372
|
+
basis: {
|
|
6373
|
+
type: 'string',
|
|
6374
|
+
format: 'cid',
|
|
6375
|
+
description: "Only in a statement about someone else's record: the CID of the subject's own `locations` entry that this entry gives a position to, such as the point a geocoder found for the subject's address. The CID is a CIDv1 (dag-cbor codec, sha2-256) of the entry exactly as the subject states it: the whole item of its `locations` list, its `$type` and any `pub.techne.draft.locationEntry` wrapper included. Two identical entries have the same CID, so one basis names both. It counts while the subject still states that entry and that entry has no position of its own.",
|
|
6376
|
+
},
|
|
6377
|
+
},
|
|
6378
|
+
},
|
|
6379
|
+
},
|
|
6380
|
+
},
|
|
6235
6381
|
PubTechneDraftMarketAsk: {
|
|
6236
6382
|
lexicon: 1,
|
|
6237
6383
|
id: 'pub.techne.draft.market.ask',
|
|
@@ -6493,14 +6639,16 @@ export const schemaDict = {
|
|
|
6493
6639
|
},
|
|
6494
6640
|
locations: {
|
|
6495
6641
|
type: 'array',
|
|
6496
|
-
maxLength:
|
|
6497
|
-
description: "Where the organization is: a point, an address or a place record. Never a mailing address: a registry's address is often an organizer's home, so it is not published.
|
|
6642
|
+
maxLength: 256,
|
|
6643
|
+
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. This replaces `pub.techne.draft.orgAtPlace`.",
|
|
6498
6644
|
items: {
|
|
6499
6645
|
type: 'union',
|
|
6500
6646
|
refs: [
|
|
6501
6647
|
'lex:community.lexicon.location.geo',
|
|
6648
|
+
'lex:community.lexicon.location.hthree',
|
|
6502
6649
|
'lex:community.lexicon.location.address',
|
|
6503
6650
|
'lex:com.atproto.repo.strongRef',
|
|
6651
|
+
'lex:pub.techne.draft.locationEntry',
|
|
6504
6652
|
],
|
|
6505
6653
|
},
|
|
6506
6654
|
},
|
|
@@ -6572,14 +6720,16 @@ export const schemaDict = {
|
|
|
6572
6720
|
},
|
|
6573
6721
|
locations: {
|
|
6574
6722
|
type: 'array',
|
|
6575
|
-
maxLength:
|
|
6576
|
-
description: "Where the organization is: a point, an address or a place record. Never a mailing address: a registry's address is often an organizer's home, so it is not published.
|
|
6723
|
+
maxLength: 256,
|
|
6724
|
+
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. This replaces `pub.techne.draft.orgAtPlace`.",
|
|
6577
6725
|
items: {
|
|
6578
6726
|
type: 'union',
|
|
6579
6727
|
refs: [
|
|
6580
6728
|
'lex:community.lexicon.location.geo',
|
|
6729
|
+
'lex:community.lexicon.location.hthree',
|
|
6581
6730
|
'lex:community.lexicon.location.address',
|
|
6582
6731
|
'lex:com.atproto.repo.strongRef',
|
|
6732
|
+
'lex:pub.techne.draft.locationEntry',
|
|
6583
6733
|
],
|
|
6584
6734
|
},
|
|
6585
6735
|
},
|
|
@@ -6607,7 +6757,7 @@ export const schemaDict = {
|
|
|
6607
6757
|
PubTechneDraftOrgAtPlace: {
|
|
6608
6758
|
lexicon: 1,
|
|
6609
6759
|
id: 'pub.techne.draft.orgAtPlace',
|
|
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).
|
|
6760
|
+
description: "SUPERSEDED, still written by the commons rules until their writers move to the new shape: an org's sites are entries in its own `locations` (bounded at 256). 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).",
|
|
6611
6761
|
defs: {
|
|
6612
6762
|
main: {
|
|
6613
6763
|
type: 'record',
|
|
@@ -6679,7 +6829,7 @@ export const schemaDict = {
|
|
|
6679
6829
|
PubTechneDraftPendingBeaconSpot: {
|
|
6680
6830
|
lexicon: 1,
|
|
6681
6831
|
id: 'pub.techne.draft.pendingBeaconSpot',
|
|
6682
|
-
description: "The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists. Making the public event comes first and rounds a dropped pin or a street address to its area; the beacon, whose space is where the exact spot is shown, is made by a second call. This record carries the exact spot between the two: when the person lights a going-to beacon on `event`, the server copies it into that beacon's space as a pub.techne.draft.beaconSpot and deletes this one. At most one per person per event: the record key is the event's own record key, so a second pick re-puts it. PRIVATE by construction: its only declared home is the author's own pub.techne.draft.space.personal (audience of one), it has no public home, no app surface shows it, and it is readable only by its author (a direct read of their own record). One no beacon took up is deleted after a day.",
|
|
6832
|
+
description: "SUPERSEDED by `pub.techne.draft.pendingBeaconSpotV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists. Making the public event comes first and rounds a dropped pin or a street address to its area; the beacon, whose space is where the exact spot is shown, is made by a second call. This record carries the exact spot between the two: when the person lights a going-to beacon on `event`, the server copies it into that beacon's space as a pub.techne.draft.beaconSpot and deletes this one. At most one per person per event: the record key is the event's own record key, so a second pick re-puts it. PRIVATE by construction: its only declared home is the author's own pub.techne.draft.space.personal (audience of one), it has no public home, no app surface shows it, and it is readable only by its author (a direct read of their own record). One no beacon took up is deleted after a day.",
|
|
6683
6833
|
defs: {
|
|
6684
6834
|
main: {
|
|
6685
6835
|
type: 'record',
|
|
@@ -6713,6 +6863,49 @@ export const schemaDict = {
|
|
|
6713
6863
|
},
|
|
6714
6864
|
},
|
|
6715
6865
|
},
|
|
6866
|
+
PubTechneDraftPendingBeaconSpotV2: {
|
|
6867
|
+
lexicon: 1,
|
|
6868
|
+
id: 'pub.techne.draft.pendingBeaconSpotV2',
|
|
6869
|
+
description: "The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists, replacing `pub.techne.draft.pendingBeaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the record it replaces by a `pub.techne.draft.sameAs` record. Same key, lifetime and home as `pendingBeaconSpot` (the home is declared `unbuilt` until its writer lands): at the event's own record key, only in the author's pub.techne.draft.space.personal, deleted when a beacon takes it up or after a day.",
|
|
6870
|
+
defs: {
|
|
6871
|
+
main: {
|
|
6872
|
+
type: 'record',
|
|
6873
|
+
key: 'any',
|
|
6874
|
+
record: {
|
|
6875
|
+
type: 'object',
|
|
6876
|
+
required: ['subject', 'locations', 'createdAt'],
|
|
6877
|
+
properties: {
|
|
6878
|
+
subject: {
|
|
6879
|
+
type: 'ref',
|
|
6880
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
6881
|
+
description: 'The public community.lexicon.calendar.event this is the exact spot of.',
|
|
6882
|
+
},
|
|
6883
|
+
locations: {
|
|
6884
|
+
type: 'array',
|
|
6885
|
+
minLength: 1,
|
|
6886
|
+
maxLength: 4,
|
|
6887
|
+
description: 'The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.',
|
|
6888
|
+
items: {
|
|
6889
|
+
type: 'union',
|
|
6890
|
+
refs: [
|
|
6891
|
+
'lex:community.lexicon.location.geo',
|
|
6892
|
+
'lex:community.lexicon.location.hthree',
|
|
6893
|
+
'lex:community.lexicon.location.address',
|
|
6894
|
+
'lex:com.atproto.repo.strongRef',
|
|
6895
|
+
'lex:pub.techne.draft.locationEntry',
|
|
6896
|
+
],
|
|
6897
|
+
},
|
|
6898
|
+
},
|
|
6899
|
+
createdAt: {
|
|
6900
|
+
type: 'string',
|
|
6901
|
+
format: 'datetime',
|
|
6902
|
+
description: 'When this was last written. Read to delete a copy no beacon took up within a day.',
|
|
6903
|
+
},
|
|
6904
|
+
},
|
|
6905
|
+
},
|
|
6906
|
+
},
|
|
6907
|
+
},
|
|
6908
|
+
},
|
|
6716
6909
|
PubTechneDraftPermissionedDeleteRecord: {
|
|
6717
6910
|
lexicon: 1,
|
|
6718
6911
|
id: 'pub.techne.draft.permissioned.deleteRecord',
|
|
@@ -7449,7 +7642,7 @@ export const schemaDict = {
|
|
|
7449
7642
|
PubTechneDraftPlace: {
|
|
7450
7643
|
lexicon: 1,
|
|
7451
7644
|
id: 'pub.techne.draft.place',
|
|
7452
|
-
description: "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.",
|
|
7645
|
+
description: "SUPERSEDED by `pub.techne.draft.placeV2` (linked by `pub.techne.draft.sameAs`): a new writer writes placeV2; the commons rules still write place until their writers move. 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.",
|
|
7453
7646
|
defs: {
|
|
7454
7647
|
main: {
|
|
7455
7648
|
type: 'record',
|
|
@@ -7687,6 +7880,105 @@ export const schemaDict = {
|
|
|
7687
7880
|
},
|
|
7688
7881
|
},
|
|
7689
7882
|
},
|
|
7883
|
+
PubTechneDraftPlaceV2: {
|
|
7884
|
+
lexicon: 1,
|
|
7885
|
+
id: 'pub.techne.draft.placeV2',
|
|
7886
|
+
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`. A placeV2 and the place it replaces are linked by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence is by `sameAs`, never by author. Curated places follow the same rules as on `place`.',
|
|
7887
|
+
defs: {
|
|
7888
|
+
main: {
|
|
7889
|
+
type: 'record',
|
|
7890
|
+
key: 'any',
|
|
7891
|
+
description: '`"key": "any"`: a writer derives a stable rkey from the place\'s identity (a source id, an area\'s registry id) so a re-publish updates the same record.',
|
|
7892
|
+
record: {
|
|
7893
|
+
type: 'object',
|
|
7894
|
+
required: ['name', 'kind', 'createdAt'],
|
|
7895
|
+
properties: {
|
|
7896
|
+
name: {
|
|
7897
|
+
type: 'string',
|
|
7898
|
+
maxLength: 640,
|
|
7899
|
+
maxGraphemes: 128,
|
|
7900
|
+
description: "The place/group's display name.",
|
|
7901
|
+
},
|
|
7902
|
+
kind: {
|
|
7903
|
+
type: 'string',
|
|
7904
|
+
maxLength: 64,
|
|
7905
|
+
knownValues: ['business', 'publicSpace', 'group', 'area'],
|
|
7906
|
+
description: 'What kind of directory entry this is. `area`: a named area (a city, county, ZIP or parish) whose extent is `cells`.',
|
|
7907
|
+
},
|
|
7908
|
+
category: {
|
|
7909
|
+
type: 'string',
|
|
7910
|
+
maxLength: 128,
|
|
7911
|
+
description: "An Overture `categories.primary` string (e.g. `park`, `cafe`, `community_center`). Never a `LIKE '%park%'` match — consumers of the safety/park ladder use an explicit allow-list over this field.",
|
|
7912
|
+
},
|
|
7913
|
+
locations: {
|
|
7914
|
+
type: 'array',
|
|
7915
|
+
maxLength: 16,
|
|
7916
|
+
description: 'Where the place is: a point, an H3 cell, an address, or a place record it is in. Its query document reads the entries as `faces`: several forms of one location, the finest that gives a position is where it is. An area states its centre point here.',
|
|
7917
|
+
items: {
|
|
7918
|
+
type: 'union',
|
|
7919
|
+
refs: [
|
|
7920
|
+
'lex:community.lexicon.location.geo',
|
|
7921
|
+
'lex:community.lexicon.location.hthree',
|
|
7922
|
+
'lex:community.lexicon.location.address',
|
|
7923
|
+
'lex:com.atproto.repo.strongRef',
|
|
7924
|
+
'lex:pub.techne.draft.locationEntry',
|
|
7925
|
+
],
|
|
7926
|
+
},
|
|
7927
|
+
},
|
|
7928
|
+
cells: {
|
|
7929
|
+
type: 'array',
|
|
7930
|
+
maxLength: 20000,
|
|
7931
|
+
description: "Only on an area: the H3 cells that cover it, as a compacted set (a parent cell stands for all its children), each the cell's index as a lowercase hex string of 15 characters. Every cell is at resolution 5 to 9: a writer expands a coarser parent to its resolution-5 children, and the edge resolution is at most 9. Cells mix resolutions; the finest one in the set is the edge resolution, and membership is exact only to it. The writer states the source and the edge resolution in a `pub.techne.draft.derivation` about the record.",
|
|
7932
|
+
items: {
|
|
7933
|
+
type: 'string',
|
|
7934
|
+
minLength: 15,
|
|
7935
|
+
maxLength: 15,
|
|
7936
|
+
},
|
|
7937
|
+
},
|
|
7938
|
+
timeZone: {
|
|
7939
|
+
type: 'string',
|
|
7940
|
+
maxLength: 64,
|
|
7941
|
+
description: "The IANA time zone of the place, such as `America/Denver`. Optional; on an area a reader uses it only to compute a query's day window.",
|
|
7942
|
+
},
|
|
7943
|
+
uris: {
|
|
7944
|
+
type: 'array',
|
|
7945
|
+
maxLength: 16,
|
|
7946
|
+
description: 'Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record.',
|
|
7947
|
+
items: {
|
|
7948
|
+
type: 'ref',
|
|
7949
|
+
ref: 'lex:community.lexicon.calendar.event#uri',
|
|
7950
|
+
},
|
|
7951
|
+
},
|
|
7952
|
+
openingHours: {
|
|
7953
|
+
type: 'string',
|
|
7954
|
+
maxLength: 1024,
|
|
7955
|
+
maxGraphemes: 512,
|
|
7956
|
+
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.",
|
|
7957
|
+
},
|
|
7958
|
+
description: {
|
|
7959
|
+
type: 'string',
|
|
7960
|
+
maxLength: 30000,
|
|
7961
|
+
maxGraphemes: 3000,
|
|
7962
|
+
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.',
|
|
7963
|
+
},
|
|
7964
|
+
identifiers: {
|
|
7965
|
+
type: 'array',
|
|
7966
|
+
maxLength: 32,
|
|
7967
|
+
description: 'Ids the place has in other registries (lexicon naming register): `{scheme, value}`, e.g. `overture-gers`, `fsq`, `census-geoid`. An array so a reissued id appends. Absent for app-created entries, never a placeholder.',
|
|
7968
|
+
items: {
|
|
7969
|
+
type: 'ref',
|
|
7970
|
+
ref: 'lex:pub.techne.draft.org#schemeValue',
|
|
7971
|
+
},
|
|
7972
|
+
},
|
|
7973
|
+
createdAt: {
|
|
7974
|
+
type: 'string',
|
|
7975
|
+
format: 'datetime',
|
|
7976
|
+
},
|
|
7977
|
+
},
|
|
7978
|
+
},
|
|
7979
|
+
},
|
|
7980
|
+
},
|
|
7981
|
+
},
|
|
7690
7982
|
PubTechneDraftPost: {
|
|
7691
7983
|
lexicon: 1,
|
|
7692
7984
|
id: 'pub.techne.draft.post',
|
|
@@ -8343,7 +8635,7 @@ export const schemaDict = {
|
|
|
8343
8635
|
},
|
|
8344
8636
|
envelope: {
|
|
8345
8637
|
type: 'array',
|
|
8346
|
-
maxLength:
|
|
8638
|
+
maxLength: 11,
|
|
8347
8639
|
items: {
|
|
8348
8640
|
type: 'string',
|
|
8349
8641
|
knownValues: [
|
|
@@ -8357,9 +8649,10 @@ export const schemaDict = {
|
|
|
8357
8649
|
'held',
|
|
8358
8650
|
'measures',
|
|
8359
8651
|
'signals',
|
|
8652
|
+
'matched',
|
|
8360
8653
|
],
|
|
8361
8654
|
},
|
|
8362
|
-
description: 'The record fields (#record) each answered record keeps besides `uri` (kept unless `uri` is false) and `value` (always kept): any of cid, author, collection, time, space, source, curated, held, measures, signals and nothing else: the list is closed to these known values, and another name refuses the call as InvalidRequest. Without it every field comes back; `[]` keeps only `value` and, unless `uri` is false, `uri`. A field left out is absent, so a flag left out (`curated`, `held`) reads as false. Bindings read every field, before this selection.',
|
|
8655
|
+
description: 'The record fields (#record) each answered record keeps besides `uri` (kept unless `uri` is false) and `value` (always kept): any of cid, author, collection, time, space, source, curated, held, measures, signals, matched and nothing else: the list is closed to these known values, and another name refuses the call as InvalidRequest. Without it every field comes back; `[]` keeps only `value` and, unless `uri` is false, `uri`. A field left out is absent, so a flag left out (`curated`, `held`) reads as false. Bindings read every field, before this selection.',
|
|
8363
8656
|
},
|
|
8364
8657
|
uri: {
|
|
8365
8658
|
type: 'boolean',
|
|
@@ -8393,6 +8686,11 @@ export const schemaDict = {
|
|
|
8393
8686
|
type: 'boolean',
|
|
8394
8687
|
description: "List step, asked with `count`: as listRecords' `capped`.",
|
|
8395
8688
|
},
|
|
8689
|
+
notServedHere: {
|
|
8690
|
+
type: 'ref',
|
|
8691
|
+
ref: 'lex:pub.techne.draft.query.listRecords#notServedHere',
|
|
8692
|
+
description: 'List step: as listRecords\' `notServedHere` (an empty list with it set means "not served here", not "nothing there").',
|
|
8693
|
+
},
|
|
8396
8694
|
withheld: {
|
|
8397
8695
|
type: 'array',
|
|
8398
8696
|
items: {
|
|
@@ -8492,6 +8790,15 @@ export const schemaDict = {
|
|
|
8492
8790
|
type: 'unknown',
|
|
8493
8791
|
description: 'The server-side signals the query asked for, by name; a signal with no value for this record is absent.',
|
|
8494
8792
|
},
|
|
8793
|
+
matched: {
|
|
8794
|
+
type: 'array',
|
|
8795
|
+
maxLength: 8,
|
|
8796
|
+
items: {
|
|
8797
|
+
type: 'ref',
|
|
8798
|
+
ref: 'lex:pub.techne.draft.query.listRecords#matchedLocation',
|
|
8799
|
+
},
|
|
8800
|
+
description: 'As listRecords#record has it: with a `location` `in` or `covers` condition, the stated locations that matched, at most 8.',
|
|
8801
|
+
},
|
|
8495
8802
|
},
|
|
8496
8803
|
},
|
|
8497
8804
|
stepError: {
|
|
@@ -8521,7 +8828,7 @@ export const schemaDict = {
|
|
|
8521
8828
|
defs: {
|
|
8522
8829
|
main: {
|
|
8523
8830
|
type: 'query',
|
|
8524
|
-
description: "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path,
|
|
8831
|
+
description: "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path, the platform's `decide` on every record answered as written or permissioned, and a curated `location` `in`/`covers` match settled again over the locations the curated view trusts), each once, so the count is what paging the list to its end would answer. The count stops at 1000 (`capped`). The query's `order`, `limit` and `signals` are ignored, so a record without the role a list is ordered by is still counted. Anyone may call it, signed in or not; an anonymous caller counts public records only. Draft tier.",
|
|
8525
8832
|
parameters: {
|
|
8526
8833
|
type: 'params',
|
|
8527
8834
|
properties: {
|
|
@@ -8569,6 +8876,11 @@ export const schemaDict = {
|
|
|
8569
8876
|
},
|
|
8570
8877
|
description: 'With groupBy: the count per key, largest first.',
|
|
8571
8878
|
},
|
|
8879
|
+
notServedHere: {
|
|
8880
|
+
type: 'ref',
|
|
8881
|
+
ref: 'lex:pub.techne.draft.query.listRecords#notServedHere',
|
|
8882
|
+
description: 'Present when a `near` or `covers` point or an `in` area of the query lies outside this operator\'s coverage, or an `in` area is not held here. The records answered are what this operator holds, not the whole answer: an empty list (or a zero count) with this set means "not served here", not "nothing there". Ask an operator that serves the place.',
|
|
8883
|
+
},
|
|
8572
8884
|
},
|
|
8573
8885
|
},
|
|
8574
8886
|
},
|
|
@@ -8813,7 +9125,7 @@ export const schemaDict = {
|
|
|
8813
9125
|
defs: {
|
|
8814
9126
|
main: {
|
|
8815
9127
|
type: 'query',
|
|
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
|
|
9128
|
+
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 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.",
|
|
8817
9129
|
parameters: {
|
|
8818
9130
|
type: 'params',
|
|
8819
9131
|
properties: {
|
|
@@ -8875,6 +9187,11 @@ export const schemaDict = {
|
|
|
8875
9187
|
type: 'boolean',
|
|
8876
9188
|
description: "Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`).",
|
|
8877
9189
|
},
|
|
9190
|
+
notServedHere: {
|
|
9191
|
+
type: 'ref',
|
|
9192
|
+
ref: 'lex:pub.techne.draft.query.listRecords#notServedHere',
|
|
9193
|
+
description: 'Present when a `near` or `covers` point or an `in` area of the query lies outside this operator\'s coverage, or an `in` area is not held here. The records answered are what this operator holds, not the whole answer: an empty list (or a zero count) with this set means "not served here", not "nothing there". Ask an operator that serves the place.',
|
|
9194
|
+
},
|
|
8878
9195
|
},
|
|
8879
9196
|
},
|
|
8880
9197
|
},
|
|
@@ -8962,6 +9279,64 @@ export const schemaDict = {
|
|
|
8962
9279
|
type: 'unknown',
|
|
8963
9280
|
description: 'The server-side signals the query asked for, by name; a signal with no value for this record is absent.',
|
|
8964
9281
|
},
|
|
9282
|
+
matched: {
|
|
9283
|
+
type: 'array',
|
|
9284
|
+
maxLength: 8,
|
|
9285
|
+
items: {
|
|
9286
|
+
type: 'ref',
|
|
9287
|
+
ref: 'lex:pub.techne.draft.query.listRecords#matchedLocation',
|
|
9288
|
+
},
|
|
9289
|
+
description: "With a `location` `in` or `covers` condition: the stated locations that matched (with `followed`, its subject's), at most 8.",
|
|
9290
|
+
},
|
|
9291
|
+
},
|
|
9292
|
+
},
|
|
9293
|
+
matchedLocation: {
|
|
9294
|
+
type: 'object',
|
|
9295
|
+
description: 'One stated location that matched.',
|
|
9296
|
+
required: ['kind', 'asserter', 'source'],
|
|
9297
|
+
properties: {
|
|
9298
|
+
entry: {
|
|
9299
|
+
type: 'union',
|
|
9300
|
+
refs: [
|
|
9301
|
+
'lex:community.lexicon.location.geo',
|
|
9302
|
+
'lex:community.lexicon.location.hthree',
|
|
9303
|
+
'lex:community.lexicon.location.address',
|
|
9304
|
+
'lex:com.atproto.repo.strongRef',
|
|
9305
|
+
'lex:pub.techne.draft.locationEntry',
|
|
9306
|
+
],
|
|
9307
|
+
description: "The location entry as stated, wrapper included (absent for an area's own cells). The union is open: an entry of another `$type` comes back as stated.",
|
|
9308
|
+
},
|
|
9309
|
+
kind: {
|
|
9310
|
+
type: 'string',
|
|
9311
|
+
description: 'How the thing relates to the place (`at`, `serves`, `registered`, ...).',
|
|
9312
|
+
},
|
|
9313
|
+
asserter: {
|
|
9314
|
+
type: 'string',
|
|
9315
|
+
format: 'did',
|
|
9316
|
+
description: "Who stated it: the record's author, or a claim's writer.",
|
|
9317
|
+
},
|
|
9318
|
+
source: {
|
|
9319
|
+
type: 'string',
|
|
9320
|
+
format: 'at-uri',
|
|
9321
|
+
description: 'The record that stated it (the record itself, or a claim about it).',
|
|
9322
|
+
},
|
|
9323
|
+
},
|
|
9324
|
+
},
|
|
9325
|
+
notServedHere: {
|
|
9326
|
+
type: 'object',
|
|
9327
|
+
description: 'Why the answer is not the whole answer: this operator does not serve the place asked about. An empty list (or a zero count) with this set means "not served here", not "nothing there".',
|
|
9328
|
+
required: ['reason', 'message'],
|
|
9329
|
+
properties: {
|
|
9330
|
+
reason: {
|
|
9331
|
+
type: 'string',
|
|
9332
|
+
knownValues: ['outsideCoverage', 'areaNotHeld'],
|
|
9333
|
+
description: '`outsideCoverage`: a `near` or `covers` point lies outside the areas this operator serves. `areaNotHeld`: an `in` area is one this operator does not hold, or lies outside the areas it serves.',
|
|
9334
|
+
},
|
|
9335
|
+
message: {
|
|
9336
|
+
type: 'string',
|
|
9337
|
+
maxLength: 300,
|
|
9338
|
+
description: 'The reason, in words, for a person to read.',
|
|
9339
|
+
},
|
|
8965
9340
|
},
|
|
8966
9341
|
},
|
|
8967
9342
|
},
|
|
@@ -9245,6 +9620,48 @@ export const schemaDict = {
|
|
|
9245
9620
|
},
|
|
9246
9621
|
},
|
|
9247
9622
|
},
|
|
9623
|
+
PubTechneDraftRegion: {
|
|
9624
|
+
lexicon: 1,
|
|
9625
|
+
id: 'pub.techne.draft.region',
|
|
9626
|
+
description: "The commons root's statement that one area is an operator's region for a period: the root asserts that the operator indexes and serves the public records placed in it. The root asserts that regions do not overlap, that an operator may hold any number of them, and that land in no region is remembered and not served. No reader reads regions yet: coverage today is the platform's fixed list of supported areas (regenos_read::areas::SUPPORTED_AREAS). Separate from `pub.techne.draft.operator`, which grants commons admin powers: holding a region grants none. Only the root's own region records count (a `provenancePolicy` gap, like `operator`). A region is ended by setting `validUntil`, never by deleting the record, and a handoff writes a new record for the new period, so each period keeps its own record. PUBLIC. Written in the commons root's repo only.",
|
|
9627
|
+
defs: {
|
|
9628
|
+
main: {
|
|
9629
|
+
type: 'record',
|
|
9630
|
+
key: 'any',
|
|
9631
|
+
description: "The rkey is the area's key (the root derives it from the area), or `{area-key}-{millis}` for a later period after one has ended, so each period keeps its own record and a re-publish of a period updates the same record.",
|
|
9632
|
+
record: {
|
|
9633
|
+
type: 'object',
|
|
9634
|
+
required: ['area', 'operator', 'createdAt'],
|
|
9635
|
+
properties: {
|
|
9636
|
+
area: {
|
|
9637
|
+
type: 'ref',
|
|
9638
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
9639
|
+
description: 'The area: a `pub.techne.draft.placeV2` with `kind: area`, pinned to one version. A redrawn boundary is a new area version, so it needs a new region version naming it.',
|
|
9640
|
+
},
|
|
9641
|
+
operator: {
|
|
9642
|
+
type: 'string',
|
|
9643
|
+
format: 'did',
|
|
9644
|
+
description: 'The operator that holds the region: the DID of the account that runs its AppView. Its endpoint is a fact about the operator and is not stored here.',
|
|
9645
|
+
},
|
|
9646
|
+
validFrom: {
|
|
9647
|
+
type: 'string',
|
|
9648
|
+
format: 'datetime',
|
|
9649
|
+
description: 'When the period starts. Absent: from always.',
|
|
9650
|
+
},
|
|
9651
|
+
validUntil: {
|
|
9652
|
+
type: 'string',
|
|
9653
|
+
format: 'datetime',
|
|
9654
|
+
description: 'When the period ends (exclusive). Absent: it has not ended.',
|
|
9655
|
+
},
|
|
9656
|
+
createdAt: {
|
|
9657
|
+
type: 'string',
|
|
9658
|
+
format: 'datetime',
|
|
9659
|
+
},
|
|
9660
|
+
},
|
|
9661
|
+
},
|
|
9662
|
+
},
|
|
9663
|
+
},
|
|
9664
|
+
},
|
|
9248
9665
|
PubTechneDraftRegistryBlockIndex: {
|
|
9249
9666
|
lexicon: 1,
|
|
9250
9667
|
id: 'pub.techne.draft.registry.blockIndex',
|
|
@@ -10544,8 +10961,11 @@ export const schemaDict = {
|
|
|
10544
10961
|
},
|
|
10545
10962
|
fields: {
|
|
10546
10963
|
type: 'union',
|
|
10547
|
-
refs: [
|
|
10548
|
-
|
|
10964
|
+
refs: [
|
|
10965
|
+
'lex:pub.techne.draft.org#fields',
|
|
10966
|
+
'lex:pub.techne.draft.statement#locations',
|
|
10967
|
+
],
|
|
10968
|
+
description: "Some of the subject type's own fields. Each member is the subject type's `#fields` def: the same names and shapes as its main record, none required. Open: a type gains statements by gaining a `#fields` def and a member here. `#locations` is the one member for any type: where the subject is, as the writer says.",
|
|
10549
10969
|
},
|
|
10550
10970
|
createdAt: {
|
|
10551
10971
|
type: 'string',
|
|
@@ -10554,6 +10974,28 @@ export const schemaDict = {
|
|
|
10554
10974
|
},
|
|
10555
10975
|
},
|
|
10556
10976
|
},
|
|
10977
|
+
locations: {
|
|
10978
|
+
type: 'object',
|
|
10979
|
+
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. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.",
|
|
10980
|
+
required: ['locations'],
|
|
10981
|
+
properties: {
|
|
10982
|
+
locations: {
|
|
10983
|
+
type: 'array',
|
|
10984
|
+
maxLength: 256,
|
|
10985
|
+
description: "Entries as in the subject's own `locations` field (lexicon naming register).",
|
|
10986
|
+
items: {
|
|
10987
|
+
type: 'union',
|
|
10988
|
+
refs: [
|
|
10989
|
+
'lex:community.lexicon.location.geo',
|
|
10990
|
+
'lex:community.lexicon.location.hthree',
|
|
10991
|
+
'lex:community.lexicon.location.address',
|
|
10992
|
+
'lex:com.atproto.repo.strongRef',
|
|
10993
|
+
'lex:pub.techne.draft.locationEntry',
|
|
10994
|
+
],
|
|
10995
|
+
},
|
|
10996
|
+
},
|
|
10997
|
+
},
|
|
10998
|
+
},
|
|
10557
10999
|
},
|
|
10558
11000
|
},
|
|
10559
11001
|
PubTechneDraftSubjectPrefs: {
|
|
@@ -12242,10 +12684,12 @@ export const ids = {
|
|
|
12242
12684
|
PubTechneDraftBeacon: 'pub.techne.draft.beacon',
|
|
12243
12685
|
PubTechneDraftBeaconLists: 'pub.techne.draft.beaconLists',
|
|
12244
12686
|
PubTechneDraftBeaconSpot: 'pub.techne.draft.beaconSpot',
|
|
12687
|
+
PubTechneDraftBeaconSpotV2: 'pub.techne.draft.beaconSpotV2',
|
|
12245
12688
|
PubTechneDraftBlock: 'pub.techne.draft.block',
|
|
12246
12689
|
PubTechneDraftChannelVerification: 'pub.techne.draft.channelVerification',
|
|
12247
12690
|
PubTechneDraftCircleBeacon: 'pub.techne.draft.circleBeacon',
|
|
12248
12691
|
PubTechneDraftCollective: 'pub.techne.draft.collective',
|
|
12692
|
+
PubTechneDraftCollectiveV2: 'pub.techne.draft.collectiveV2',
|
|
12249
12693
|
PubTechneDraftCommonsCreateServiceAccount: 'pub.techne.draft.commons.createServiceAccount',
|
|
12250
12694
|
PubTechneDraftCommonsGetVersions: 'pub.techne.draft.commons.getVersions',
|
|
12251
12695
|
PubTechneDraftCommonsMoveAccountHandle: 'pub.techne.draft.commons.moveAccountHandle',
|
|
@@ -12301,6 +12745,7 @@ export const ids = {
|
|
|
12301
12745
|
PubTechneDraftInterest: 'pub.techne.draft.interest',
|
|
12302
12746
|
PubTechneDraftIntroProposal: 'pub.techne.draft.introProposal',
|
|
12303
12747
|
PubTechneDraftInvite: 'pub.techne.draft.invite',
|
|
12748
|
+
PubTechneDraftLocationEntry: 'pub.techne.draft.locationEntry',
|
|
12304
12749
|
PubTechneDraftMarketAsk: 'pub.techne.draft.market.ask',
|
|
12305
12750
|
PubTechneDraftMarketOffer: 'pub.techne.draft.market.offer',
|
|
12306
12751
|
PubTechneDraftMembership: 'pub.techne.draft.membership',
|
|
@@ -12310,6 +12755,7 @@ export const ids = {
|
|
|
12310
12755
|
PubTechneDraftOrgAtPlace: 'pub.techne.draft.orgAtPlace',
|
|
12311
12756
|
PubTechneDraftPassage: 'pub.techne.draft.passage',
|
|
12312
12757
|
PubTechneDraftPendingBeaconSpot: 'pub.techne.draft.pendingBeaconSpot',
|
|
12758
|
+
PubTechneDraftPendingBeaconSpotV2: 'pub.techne.draft.pendingBeaconSpotV2',
|
|
12313
12759
|
PubTechneDraftPermissionedDeleteRecord: 'pub.techne.draft.permissioned.deleteRecord',
|
|
12314
12760
|
PubTechneDraftPermissionedGetGrants: 'pub.techne.draft.permissioned.getGrants',
|
|
12315
12761
|
PubTechneDraftPermissionedGetRecord: 'pub.techne.draft.permissioned.getRecord',
|
|
@@ -12319,6 +12765,7 @@ export const ids = {
|
|
|
12319
12765
|
PubTechneDraftPermissionedPutRecords: 'pub.techne.draft.permissioned.putRecords',
|
|
12320
12766
|
PubTechneDraftPlace: 'pub.techne.draft.place',
|
|
12321
12767
|
PubTechneDraftPlaceResearch: 'pub.techne.draft.placeResearch',
|
|
12768
|
+
PubTechneDraftPlaceV2: 'pub.techne.draft.placeV2',
|
|
12322
12769
|
PubTechneDraftPost: 'pub.techne.draft.post',
|
|
12323
12770
|
PubTechneDraftPresence: 'pub.techne.draft.presence',
|
|
12324
12771
|
PubTechneDraftProfile: 'pub.techne.draft.profile',
|
|
@@ -12332,6 +12779,7 @@ export const ids = {
|
|
|
12332
12779
|
PubTechneDraftQuestionSet: 'pub.techne.draft.questionSet',
|
|
12333
12780
|
PubTechneDraftReceipt: 'pub.techne.draft.receipt',
|
|
12334
12781
|
PubTechneDraftReflection: 'pub.techne.draft.reflection',
|
|
12782
|
+
PubTechneDraftRegion: 'pub.techne.draft.region',
|
|
12335
12783
|
PubTechneDraftRegistryBlockIndex: 'pub.techne.draft.registry.blockIndex',
|
|
12336
12784
|
PubTechneDraftRegistryDefs: 'pub.techne.draft.registry.defs',
|
|
12337
12785
|
PubTechneDraftRegistryGetType: 'pub.techne.draft.registry.getType',
|