techne-sdk 0.7.0 → 0.9.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 +39 -0
- package/README.md +50 -0
- package/dist/auth/placement.gen.d.ts +1 -1
- package/dist/auth/placement.gen.js +1 -0
- package/dist/catalog/catalog.gen.js +95 -4
- package/dist/generated/index.d.ts +28 -0
- package/dist/generated/index.js +36 -0
- package/dist/generated/lexicons.d.ts +76 -0
- package/dist/generated/lexicons.js +39 -0
- package/dist/generated/nsid.d.ts +1 -0
- package/dist/generated/nsid.js +1 -0
- package/dist/generated/nsid.json +1 -0
- package/dist/generated/records.d.ts +8 -6
- package/dist/generated/types/pub/techne/draft/tagFeedback.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/tagFeedback.js +12 -0
- package/dist/session/dpop.d.ts +49 -0
- package/dist/session/dpop.js +105 -0
- package/dist/session/index.d.ts +22 -0
- package/dist/session/index.js +22 -0
- package/dist/session/own-session.d.ts +169 -0
- package/dist/session/own-session.js +364 -0
- package/dist/session/phone.d.ts +79 -0
- package/dist/session/phone.js +179 -0
- package/dist/session/relay.d.ts +69 -0
- package/dist/session/relay.js +120 -0
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +14138 -14138
- package/package.json +10 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,45 @@
|
|
|
3
3
|
`techne-sdk` on npm and the `techne-sdk` crate share a version. Each entry names what changes for an app or
|
|
4
4
|
a crate user.
|
|
5
5
|
|
|
6
|
+
## 0.9.0 (2026-11-20)
|
|
7
|
+
|
|
8
|
+
npm 0.9.0 and crate 0.9.0 are built from the same commit. Additions only; no export is removed or renamed. The
|
|
9
|
+
crate moves from 0.7.0 to 0.9.0 (its check dependency and placement changed; 0.8.0 was npm only).
|
|
10
|
+
|
|
11
|
+
- **Tag feedback (`pub.techne.draft.tagFeedback`).** New public record type: a person's word on whether one
|
|
12
|
+
tag fits a record, `{subject (strongRef), tag (chip id), verdict ('fits' | 'doesntFit'), createdAt}`, key
|
|
13
|
+
`tid`. `NSID.TAG_FEEDBACK`, its generated type, and a public home in the placement manifest, so `put` and
|
|
14
|
+
`plan` write it to the author's repo instead of sending it to the private write (`permissioned.putRecords`)
|
|
15
|
+
as an unknown `pub.techne` type. `authWrite` (and so `everything: 'write'`) names it.
|
|
16
|
+
- **Lexicons `v0.1.22-techne.96`, check crate `techne-lexicon-check` 0.3.32** (the crate's dependency, exact).
|
|
17
|
+
- **Platform API at platform `main` `d26238730`** (the merge that indexes tagFeedback). Only description text
|
|
18
|
+
changed in its methods (`social.scenius.uploadAvatar`: who gets `InvalidRequest`).
|
|
19
|
+
|
|
20
|
+
## 0.8.0 (2026-11-20)
|
|
21
|
+
|
|
22
|
+
npm 0.8.0 adds the app-held session; no export is removed or renamed. Nothing under `crates/` changed since
|
|
23
|
+
0.7.0, so the crate is unchanged and stays 0.7.0 (RELEASING.md: the crate's version moves when the crate changes).
|
|
24
|
+
|
|
25
|
+
- **`techne-sdk/session`**: a session the app holds itself, for React Native (Hermes) as well as the browser,
|
|
26
|
+
in plain JavaScript (`@noble/curves` P-256 and `@noble/hashes`, no native module; the host provides
|
|
27
|
+
`crypto.getRandomValues`). Phone sign-in through the platform's door in own-session mode
|
|
28
|
+
(`startPhoneSignIn`, `finishPhoneSignIn`: the device's DPoP key and PKCE pair, a `UseDpopNonce` answer signed
|
|
29
|
+
again once with the same code). `OwnSession` (`restore`, `signedIn`) is a `connect` session (`did` +
|
|
30
|
+
`fetchHandler`): DPoP-bound calls to the PDS with a nonce per origin; refresh through
|
|
31
|
+
`social.scenius.refreshOwnSession` before expiry, one at a time (in-process, plus a `lock` the app backs
|
|
32
|
+
across processes), the rotated set saved before use, and a refresh that got no answer sent again unchanged
|
|
33
|
+
for up to 50 s, each send given up 5 s before the platform's 60 s answer window closes; an early refresh
|
|
34
|
+
holds a call only in the access token's last 30 s; a store holding another DPoP key's set ends the session
|
|
35
|
+
and is left alone; `signOut` (`revokeOwnSession`, then `signOutDevice`, each given up after 10 s, and the
|
|
36
|
+
store cleared); the tokens and key in `#private` fields (logging a session shows neither); the narrow device credential with a DPoP proof per request
|
|
37
|
+
(`deviceFetchHandler` for registerDevicePush, listDeviceSessions and signOutDevice, `deviceHeaders` for the
|
|
38
|
+
change stream's WebSocket). A `TokenStore` interface for where the app keeps it. `adoptHeldSession`, marked
|
|
39
|
+
deprecated: a device signed in with a full `rsds_` takes over the session the platform holds for it (`did`
|
|
40
|
+
required; the tokens kept when the issuer metadata fails). DPoP
|
|
41
|
+
helpers: `dpopProof`, `generateDpopKey`, `dpopKeyFromJwk`, `jwkThumbprint`, `pkcePair`. Errors are
|
|
42
|
+
`OwnSessionError` with the platform's error name as `code`, or `SessionEnded` / `NetworkError`.
|
|
43
|
+
- New dependencies: `@noble/curves` and `@noble/hashes` (2.4).
|
|
44
|
+
|
|
6
45
|
## 0.7.0 (2026-11-20)
|
|
7
46
|
|
|
8
47
|
npm 0.7.0 and crate 0.7.0 are built from the same commit. The `pub.techne.draft.org` reshape below is a break, so
|
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Every import goes through the package's `exports`, so the resolver has to read t
|
|
|
27
27
|
| `techne-sdk/react/query` | the client's reads as hooks over TanStack Query (`useRecordQuery`, `useRecord`, `useVersions`, `defaultQueryClient`); needs `@tanstack/react-query` |
|
|
28
28
|
| `techne-sdk/versions` | the same state without React: `eventState`, `verifyAnswer`, version labels |
|
|
29
29
|
| `techne-sdk/auth` | sign-in ("Sign in with Techne"): `signIn`, `signUp`, `restore`, `signOut`, `clientMetadata`, `scopes`, `appKey`, `appSpace`, `ownAppSpace`, `WHOLE_STORE` (browser OAuth); the account page: `openAccountSettings`, `accountSettingsUrl` |
|
|
30
|
+
| `techne-sdk/session` | a session the app holds itself, for React Native as well as the browser (plain JS, no native module): phone sign-in through the platform's door (`startPhoneSignIn`, `finishPhoneSignIn`), `OwnSession` (`did` + `fetchHandler` for `connect`, refresh, `signOut`, the device credential's proofs), DPoP helpers; `adoptHeldSession` (deprecated) |
|
|
30
31
|
| `techne-sdk/connect` | `connect(session, platform?)` / `connectHosted(did, fetchHandler)` / `connectAnonymous(platform?)`: the client over one session, with its reads (`query`, `get`, `versions`, their options forms) and `put`; `bind(clients)` over clients made elsewhere |
|
|
31
32
|
| `techne-sdk/put` | `put(techne, records, { deletes })`: the one write, deletes included (public deletes hinted to the platform); `put(techne, [], { deletes })` for deletes alone |
|
|
32
33
|
| `techne-sdk/query` | the platform's generic queries: `listRecords`, `getRecords`, `compose` (several steps in one `composeRecords` call), hosts (`hostsOf`, `hostSteps`/`hostsFrom`) |
|
|
@@ -103,6 +104,55 @@ else {
|
|
|
103
104
|
|
|
104
105
|
**Before the Techne release:** the techne.town defaults (`TECHNE_PLATFORM_DID`, the techne.town PDS and handle domain) go live at the Techne release. Until then, `signIn()` without `pds` fails: pass `pds`, `plcUrl`, `handleDomain` and `platform` explicitly, and ask the Techne team for the current staging values.
|
|
105
106
|
|
|
107
|
+
## A session the app holds (React Native)
|
|
108
|
+
|
|
109
|
+
`techne-sdk/session` is for an app that signs people in through the platform's phone door and keeps the
|
|
110
|
+
session on the device, Beacon's way. It needs no browser and no native module: DPoP is ES256 in plain
|
|
111
|
+
JavaScript (`@noble/curves`), so it runs on Hermes. The host provides `crypto.getRandomValues` (React Native:
|
|
112
|
+
import `react-native-get-random-values` once at the entry).
|
|
113
|
+
|
|
114
|
+
```ts
|
|
115
|
+
import { OwnSession, startPhoneSignIn, finishPhoneSignIn, type TokenStore } from 'techne-sdk/session'
|
|
116
|
+
import { connect, TECHNE_PLATFORM_DID } from 'techne-sdk/connect'
|
|
117
|
+
|
|
118
|
+
const store: TokenStore = { get, set, delete: del } // e.g. one expo-secure-store key holding JSON.stringify(data)
|
|
119
|
+
const options = { platformUrl, store, lock, onEnded: () => showSignIn() }
|
|
120
|
+
|
|
121
|
+
const pending = await startPhoneSignIn({ platformUrl, phone }) // texts the code
|
|
122
|
+
const { session: data, created } = await finishPhoneSignIn(pending, code, { platformUrl, device: { platform: 'ios' } })
|
|
123
|
+
const session = await OwnSession.signedIn(data, options) // on later launches: OwnSession.restore(options)
|
|
124
|
+
const techne = connect(session, TECHNE_PLATFORM_DID)
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
- **Sign-in:** the device makes the DPoP key and the PKCE pair and signs every proof; the platform runs the
|
|
128
|
+
door and answers the tokens bound to that key, plus a narrow device credential. A `UseDpopNonce` answer is
|
|
129
|
+
signed again once, with the same code. A refusal is an `OwnSessionError` whose `code` is the platform's error
|
|
130
|
+
(`OwnSessionUnavailable`: sign in the old way; `InvalidRequest`: wrong code; `CodeExpired`; `RateLimitExceeded`
|
|
131
|
+
with `retryAfter`).
|
|
132
|
+
- **Calls** to the PDS carry the access token and a proof per request; a `use_dpop_nonce` answer is signed again
|
|
133
|
+
once, an `invalid_token` one refreshes and sends again.
|
|
134
|
+
- **Refresh** goes through the platform (`refreshOwnSession`), five minutes before expiry by default; a call
|
|
135
|
+
waits for it only when the access token has less than 30 seconds left, otherwise it goes on with the current
|
|
136
|
+
token while the refresh runs behind it. The PDS
|
|
137
|
+
rotates the refresh token every time and ends the whole session if an old one comes back, so: one refresh at
|
|
138
|
+
a time in the process, and across processes under `lock` (give one if the app runs more than one JavaScript
|
|
139
|
+
process, such as a background task); inside it the store is read again and a set another process rotated is
|
|
140
|
+
taken; the new set is saved before it is used; a refresh that got no answer is sent again unchanged for up
|
|
141
|
+
to 50 seconds, which the platform answers from its 60-second window (each send is given up 5 seconds before
|
|
142
|
+
that window closes). A store that holds a set under another DPoP key (the person signed out and in again in
|
|
143
|
+
another process) ends this session without touching the store. `onEnded` is called when the session is
|
|
144
|
+
over (`SessionEnded`: sign in again).
|
|
145
|
+
- **The device credential** (push registration, the device list, `signOutDevice`, the change stream) goes only
|
|
146
|
+
with a proof of the session's key: `new AtpBaseClient(session.deviceFetchHandler)` for the calls,
|
|
147
|
+
`session.deviceHeaders('GET', wssUrl)` for the WebSocket's headers.
|
|
148
|
+
- **Sign-out:** `session.signOut()` revokes the grant and the device credential (each given up after 10
|
|
149
|
+
seconds) and clears the store, whatever the network says; when the store holds another key's set it leaves
|
|
150
|
+
that set and the store alone.
|
|
151
|
+
- **Moving an older install** (deprecated, removed when the platform stops holding sessions):
|
|
152
|
+
`adoptHeldSession({ platformUrl, deviceSession, did })` takes over the session the platform holds for a
|
|
153
|
+
device signed in with a full `rsds_` credential (`WrongAccount` when it is not `did`'s); save its answer with
|
|
154
|
+
`OwnSession.signedIn` at once. The tokens are kept even when the issuer's metadata does not answer.
|
|
155
|
+
|
|
106
156
|
## Where we differ from atproto
|
|
107
157
|
|
|
108
158
|
The platform follows atproto where atproto has an answer. These are the places it does not, today. The platform's builder guide (`get_app_guide`) has the same list.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PUBLIC_HOMES: readonly ["pub.techne.draft.appConfig", "pub.techne.draft.approval", "pub.techne.draft.connection", "pub.techne.draft.contactChannel", "pub.techne.draft.channelVerification", "pub.techne.draft.containedIn", "pub.techne.draft.derivation", "pub.techne.draft.distinctFrom", "pub.techne.draft.geo", "pub.techne.draft.heldAt", "pub.techne.draft.operator", "pub.techne.draft.org", "pub.techne.draft.orgAtPlace", "pub.techne.draft.financials", "pub.techne.draft.statement", "pub.techne.draft.profile", "pub.techne.draft.assessment", "pub.techne.draft.placeResearch", "pub.techne.draft.summary", "pub.techne.draft.provenance", "pub.techne.draft.questionSet", "pub.techne.draft.receipt", "pub.techne.draft.registry.typeRequest", "pub.techne.draft.verdict", "pub.techne.draft.verification", "pub.techne.draft.retirement", "pub.techne.draft.credential", "pub.techne.draft.credentialRevocation", "pub.techne.draft.publisher", "pub.techne.draft.sameAs", "pub.techne.draft.source", "pub.techne.draft.sourceAttribution", "pub.techne.draft.sourceRef", "pub.techne.draft.evaluation", "pub.techne.draft.event.config", "pub.techne.draft.event.listing", "pub.techne.draft.feed.recipe", "pub.techne.draft.query", "pub.techne.draft.invite", "pub.techne.draft.market.ask", "pub.techne.draft.market.offer", "pub.techne.draft.membership", "pub.techne.draft.place", "pub.techne.draft.presence", "pub.techne.draft.actor.profile", "pub.techne.draft.collective", "community.lexicon.calendar.event", "community.lexicon.calendar.rsvp", "org.hypercerts.funding.receipt"];
|
|
1
|
+
export declare const PUBLIC_HOMES: readonly ["pub.techne.draft.appConfig", "pub.techne.draft.approval", "pub.techne.draft.connection", "pub.techne.draft.contactChannel", "pub.techne.draft.channelVerification", "pub.techne.draft.containedIn", "pub.techne.draft.derivation", "pub.techne.draft.distinctFrom", "pub.techne.draft.geo", "pub.techne.draft.heldAt", "pub.techne.draft.operator", "pub.techne.draft.org", "pub.techne.draft.orgAtPlace", "pub.techne.draft.financials", "pub.techne.draft.statement", "pub.techne.draft.profile", "pub.techne.draft.assessment", "pub.techne.draft.placeResearch", "pub.techne.draft.summary", "pub.techne.draft.tagFeedback", "pub.techne.draft.provenance", "pub.techne.draft.questionSet", "pub.techne.draft.receipt", "pub.techne.draft.registry.typeRequest", "pub.techne.draft.verdict", "pub.techne.draft.verification", "pub.techne.draft.retirement", "pub.techne.draft.credential", "pub.techne.draft.credentialRevocation", "pub.techne.draft.publisher", "pub.techne.draft.sameAs", "pub.techne.draft.source", "pub.techne.draft.sourceAttribution", "pub.techne.draft.sourceRef", "pub.techne.draft.evaluation", "pub.techne.draft.event.config", "pub.techne.draft.event.listing", "pub.techne.draft.feed.recipe", "pub.techne.draft.query", "pub.techne.draft.invite", "pub.techne.draft.market.ask", "pub.techne.draft.market.offer", "pub.techne.draft.membership", "pub.techne.draft.place", "pub.techne.draft.presence", "pub.techne.draft.actor.profile", "pub.techne.draft.collective", "community.lexicon.calendar.event", "community.lexicon.calendar.rsvp", "org.hypercerts.funding.receipt"];
|
|
@@ -16457,6 +16457,95 @@ export const catalog = {
|
|
|
16457
16457
|
}
|
|
16458
16458
|
})
|
|
16459
16459
|
},
|
|
16460
|
+
{
|
|
16461
|
+
"nsid": "pub.techne.draft.tagFeedback",
|
|
16462
|
+
"name": "draft.tagFeedback",
|
|
16463
|
+
"group": "pub.techne",
|
|
16464
|
+
"kind": "record",
|
|
16465
|
+
"key": "tid",
|
|
16466
|
+
"description": "One live feedback per person per record and tag: a newer one replaces an older one (whatever its verdict), and a person who changes their mind deletes it.",
|
|
16467
|
+
"fields": [
|
|
16468
|
+
{
|
|
16469
|
+
"name": "subject",
|
|
16470
|
+
"type": "→ com.atproto.repo.strongRef",
|
|
16471
|
+
"required": true,
|
|
16472
|
+
"description": "The record the tag is on: the curated commons event (the subject of its assessment)."
|
|
16473
|
+
},
|
|
16474
|
+
{
|
|
16475
|
+
"name": "tag",
|
|
16476
|
+
"type": "string",
|
|
16477
|
+
"required": true,
|
|
16478
|
+
"description": "The tag as the app names it: a chip id in the app's chip groups, e.g. allAges or kids. Not a bank question: the chip groups map the tag to its questions."
|
|
16479
|
+
},
|
|
16480
|
+
{
|
|
16481
|
+
"name": "verdict",
|
|
16482
|
+
"type": "string (enum)",
|
|
16483
|
+
"required": true,
|
|
16484
|
+
"description": "What the person says about the record, not about the display: `fits`: the record has this tag's quality; `doesntFit`: it does not. Either can be said whether or not the tag is shown; feedback that agrees with what is shown asks nothing.",
|
|
16485
|
+
"knownValues": [
|
|
16486
|
+
"fits",
|
|
16487
|
+
"doesntFit"
|
|
16488
|
+
]
|
|
16489
|
+
},
|
|
16490
|
+
{
|
|
16491
|
+
"name": "createdAt",
|
|
16492
|
+
"type": "string<datetime>",
|
|
16493
|
+
"required": true
|
|
16494
|
+
}
|
|
16495
|
+
],
|
|
16496
|
+
"doc": ({
|
|
16497
|
+
"lexicon": 1,
|
|
16498
|
+
"id": "pub.techne.draft.tagFeedback",
|
|
16499
|
+
"description": "A person's feedback on one tag they saw on a record: that the record has that tag's quality (it fits) or does not (a Kids tag on a bar show does not fit). It records what the person saw, the tag, not the questions behind it: the commons maps a tag to its bank questions at read time, by the app's chip groups (the same mapping that lights the tag), so the feedback still applies after the record's assessment is rewritten or a chip's questions change. Tags only: there is no free text (prose about an event goes to the app's moderation report). Effect: the commons features rule asks the tag's questions about the record again, telling its classifier how many people say the tag does or does not fit; the classifier still answers from the record's own listing: feedback is context for it, not a vote. Feedback from the record's own publisher, or from the publisher of any source record merged into it, does not count. It is about the tag, never a mark against the record's author, host or venue. Written by the person, in their own repo. PUBLIC.",
|
|
16500
|
+
"defs": {
|
|
16501
|
+
"main": {
|
|
16502
|
+
"type": "record",
|
|
16503
|
+
"key": "tid",
|
|
16504
|
+
"description": "One live feedback per person per record and tag: a newer one replaces an older one (whatever its verdict), and a person who changes their mind deletes it.",
|
|
16505
|
+
"record": {
|
|
16506
|
+
"type": "object",
|
|
16507
|
+
"required": [
|
|
16508
|
+
"subject",
|
|
16509
|
+
"tag",
|
|
16510
|
+
"verdict",
|
|
16511
|
+
"createdAt"
|
|
16512
|
+
],
|
|
16513
|
+
"properties": {
|
|
16514
|
+
"subject": {
|
|
16515
|
+
"type": "ref",
|
|
16516
|
+
"ref": "com.atproto.repo.strongRef",
|
|
16517
|
+
"description": "The record the tag is on: the curated commons event (the subject of its assessment)."
|
|
16518
|
+
},
|
|
16519
|
+
"tag": {
|
|
16520
|
+
"type": "string",
|
|
16521
|
+
"maxLength": 64,
|
|
16522
|
+
"description": "The tag as the app names it: a chip id in the app's chip groups, e.g. allAges or kids. Not a bank question: the chip groups map the tag to its questions."
|
|
16523
|
+
},
|
|
16524
|
+
"verdict": {
|
|
16525
|
+
"type": "string",
|
|
16526
|
+
"maxLength": 64,
|
|
16527
|
+
"knownValues": [
|
|
16528
|
+
"fits",
|
|
16529
|
+
"doesntFit"
|
|
16530
|
+
],
|
|
16531
|
+
"description": "What the person says about the record, not about the display: `fits`: the record has this tag's quality; `doesntFit`: it does not. Either can be said whether or not the tag is shown; feedback that agrees with what is shown asks nothing."
|
|
16532
|
+
},
|
|
16533
|
+
"createdAt": {
|
|
16534
|
+
"type": "string",
|
|
16535
|
+
"format": "datetime"
|
|
16536
|
+
}
|
|
16537
|
+
}
|
|
16538
|
+
}
|
|
16539
|
+
}
|
|
16540
|
+
}
|
|
16541
|
+
}),
|
|
16542
|
+
"homes": [
|
|
16543
|
+
{
|
|
16544
|
+
"space": "public",
|
|
16545
|
+
"unbuilt": false
|
|
16546
|
+
}
|
|
16547
|
+
]
|
|
16548
|
+
},
|
|
16460
16549
|
{
|
|
16461
16550
|
"nsid": "pub.techne.draft.verdict",
|
|
16462
16551
|
"name": "draft.verdict",
|
|
@@ -18146,6 +18235,7 @@ export const catalog = {
|
|
|
18146
18235
|
"pub.techne.draft.assessment",
|
|
18147
18236
|
"pub.techne.draft.placeResearch",
|
|
18148
18237
|
"pub.techne.draft.summary",
|
|
18238
|
+
"pub.techne.draft.tagFeedback",
|
|
18149
18239
|
"pub.techne.draft.provenance",
|
|
18150
18240
|
"pub.techne.draft.questionSet",
|
|
18151
18241
|
"pub.techne.draft.receipt",
|
|
@@ -18251,6 +18341,7 @@ export const catalog = {
|
|
|
18251
18341
|
"pub.techne.draft.assessment",
|
|
18252
18342
|
"pub.techne.draft.placeResearch",
|
|
18253
18343
|
"pub.techne.draft.summary",
|
|
18344
|
+
"pub.techne.draft.tagFeedback",
|
|
18254
18345
|
"pub.techne.draft.provenance",
|
|
18255
18346
|
"pub.techne.draft.questionSet",
|
|
18256
18347
|
"pub.techne.draft.receipt",
|
|
@@ -34438,7 +34529,7 @@ export const catalog = {
|
|
|
34438
34529
|
"group": "social.scenius",
|
|
34439
34530
|
"kind": "procedure",
|
|
34440
34531
|
"class": "write",
|
|
34441
|
-
"description": "Upload profile-photo bytes and get back the atproto blob ref to hand to social.scenius.putProfile. This is a PASSTHROUGH to the caller's own PDS (com.atproto.repo.uploadBlob, authenticated as the repo owner): the bytes live in the author's OWN repo, never in an AppView-local store, so a photo is as portable as every other record.
|
|
34532
|
+
"description": "Upload profile-photo bytes and get back the atproto blob ref to hand to social.scenius.putProfile. This is a PASSTHROUGH to the caller's own PDS (com.atproto.repo.uploadBlob, authenticated as the repo owner): the bytes live in the author's OWN repo, never in an AppView-local store, so a photo is as portable as every other record. Only for a caller signed in to the platform itself, for a repo whose credential the platform holds (custodial, or a session it holds). A caller that comes through its own PDS with a service-auth token (an app or phone holding its own OAuth session), or whose repo the platform holds no credential for (a BYOD account), gets 400 InvalidRequest and uploads with com.atproto.repo.uploadBlob at its own PDS. The body is the raw image bytes; Content-Type MUST be the image's mime type. Auth required. Nothing is written to any record here — the upload is only durable once a putProfile references it.",
|
|
34442
34533
|
"output": [
|
|
34443
34534
|
{
|
|
34444
34535
|
"name": "blob",
|
|
@@ -34453,7 +34544,7 @@ export const catalog = {
|
|
|
34453
34544
|
"defs": {
|
|
34454
34545
|
"main": {
|
|
34455
34546
|
"type": "procedure",
|
|
34456
|
-
"description": "Upload profile-photo bytes and get back the atproto blob ref to hand to social.scenius.putProfile. This is a PASSTHROUGH to the caller's own PDS (com.atproto.repo.uploadBlob, authenticated as the repo owner): the bytes live in the author's OWN repo, never in an AppView-local store, so a photo is as portable as every other record.
|
|
34547
|
+
"description": "Upload profile-photo bytes and get back the atproto blob ref to hand to social.scenius.putProfile. This is a PASSTHROUGH to the caller's own PDS (com.atproto.repo.uploadBlob, authenticated as the repo owner): the bytes live in the author's OWN repo, never in an AppView-local store, so a photo is as portable as every other record. Only for a caller signed in to the platform itself, for a repo whose credential the platform holds (custodial, or a session it holds). A caller that comes through its own PDS with a service-auth token (an app or phone holding its own OAuth session), or whose repo the platform holds no credential for (a BYOD account), gets 400 InvalidRequest and uploads with com.atproto.repo.uploadBlob at its own PDS. The body is the raw image bytes; Content-Type MUST be the image's mime type. Auth required. Nothing is written to any record here — the upload is only durable once a putProfile references it.",
|
|
34457
34548
|
"input": {
|
|
34458
34549
|
"encoding": "*/*",
|
|
34459
34550
|
"description": "The raw image bytes. Content-Type must be image/png, image/jpeg or image/webp; the body must be at most 2000000 bytes. Both are enforced server-side and a violation is a 400 InvalidRequest with a readable message, never a silent success. (A body over the route's own 8 MiB transport ceiling is refused by the HTTP layer with a bare 413 before this handler sees it — still a real error, just not this method's typed one.)"
|
|
@@ -34482,7 +34573,7 @@ export const catalog = {
|
|
|
34482
34573
|
"errors": [
|
|
34483
34574
|
{
|
|
34484
34575
|
"name": "InvalidRequest",
|
|
34485
|
-
"description": "Unaccepted Content-Type, an empty body, a body over maxSize,
|
|
34576
|
+
"description": "Unaccepted Content-Type, an empty body, a body over maxSize, a caller that came through its own PDS (service-auth), or a repo the platform holds no credential for."
|
|
34486
34577
|
}
|
|
34487
34578
|
]
|
|
34488
34579
|
}
|
|
@@ -34491,7 +34582,7 @@ export const catalog = {
|
|
|
34491
34582
|
}
|
|
34492
34583
|
],
|
|
34493
34584
|
"counts": {
|
|
34494
|
-
"records":
|
|
34585
|
+
"records": 160,
|
|
34495
34586
|
"spaces": 13,
|
|
34496
34587
|
"predicates": 9,
|
|
34497
34588
|
"methods": 130
|
|
@@ -131,6 +131,7 @@ import * as PubTechneDraftStatement from './types/pub/techne/draft/statement.js'
|
|
|
131
131
|
import * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
|
|
132
132
|
import * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
133
133
|
import * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
134
|
+
import * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
|
|
134
135
|
import * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
135
136
|
import * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
136
137
|
import * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
@@ -296,6 +297,7 @@ export * as PubTechneDraftStatement from './types/pub/techne/draft/statement.js'
|
|
|
296
297
|
export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
|
|
297
298
|
export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
298
299
|
export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
300
|
+
export * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
|
|
299
301
|
export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
300
302
|
export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
301
303
|
export * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
@@ -580,6 +582,7 @@ export declare class PubTechneDraftNS {
|
|
|
580
582
|
statement: PubTechneDraftStatementRecord;
|
|
581
583
|
subjectPrefs: PubTechneDraftSubjectPrefsRecord;
|
|
582
584
|
summary: PubTechneDraftSummaryRecord;
|
|
585
|
+
tagFeedback: PubTechneDraftTagFeedbackRecord;
|
|
583
586
|
verdict: PubTechneDraftVerdictRecord;
|
|
584
587
|
verification: PubTechneDraftVerificationRecord;
|
|
585
588
|
weeklyCheckIn: PubTechneDraftWeeklyCheckInRecord;
|
|
@@ -2452,6 +2455,31 @@ export declare class PubTechneDraftSummaryRecord {
|
|
|
2452
2455
|
}>;
|
|
2453
2456
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2454
2457
|
}
|
|
2458
|
+
export declare class PubTechneDraftTagFeedbackRecord {
|
|
2459
|
+
_client: XrpcClient;
|
|
2460
|
+
constructor(client: XrpcClient);
|
|
2461
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
2462
|
+
cursor?: string;
|
|
2463
|
+
records: {
|
|
2464
|
+
uri: string;
|
|
2465
|
+
value: PubTechneDraftTagFeedback.Record;
|
|
2466
|
+
}[];
|
|
2467
|
+
}>;
|
|
2468
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
2469
|
+
uri: string;
|
|
2470
|
+
cid: string;
|
|
2471
|
+
value: PubTechneDraftTagFeedback.Record;
|
|
2472
|
+
}>;
|
|
2473
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftTagFeedback.Record>, headers?: Record<string, string>): Promise<{
|
|
2474
|
+
uri: string;
|
|
2475
|
+
cid: string;
|
|
2476
|
+
}>;
|
|
2477
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftTagFeedback.Record>, headers?: Record<string, string>): Promise<{
|
|
2478
|
+
uri: string;
|
|
2479
|
+
cid: string;
|
|
2480
|
+
}>;
|
|
2481
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2482
|
+
}
|
|
2455
2483
|
export declare class PubTechneDraftVerdictRecord {
|
|
2456
2484
|
_client: XrpcClient;
|
|
2457
2485
|
constructor(client: XrpcClient);
|
package/dist/generated/index.js
CHANGED
|
@@ -215,6 +215,7 @@ export * as PubTechneDraftStatement from './types/pub/techne/draft/statement.js'
|
|
|
215
215
|
export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
|
|
216
216
|
export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
217
217
|
export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
218
|
+
export * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
|
|
218
219
|
export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
219
220
|
export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
220
221
|
export * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
@@ -623,6 +624,7 @@ export class PubTechneDraftNS {
|
|
|
623
624
|
statement;
|
|
624
625
|
subjectPrefs;
|
|
625
626
|
summary;
|
|
627
|
+
tagFeedback;
|
|
626
628
|
verdict;
|
|
627
629
|
verification;
|
|
628
630
|
weeklyCheckIn;
|
|
@@ -709,6 +711,7 @@ export class PubTechneDraftNS {
|
|
|
709
711
|
this.statement = new PubTechneDraftStatementRecord(client);
|
|
710
712
|
this.subjectPrefs = new PubTechneDraftSubjectPrefsRecord(client);
|
|
711
713
|
this.summary = new PubTechneDraftSummaryRecord(client);
|
|
714
|
+
this.tagFeedback = new PubTechneDraftTagFeedbackRecord(client);
|
|
712
715
|
this.verdict = new PubTechneDraftVerdictRecord(client);
|
|
713
716
|
this.verification = new PubTechneDraftVerificationRecord(client);
|
|
714
717
|
this.weeklyCheckIn = new PubTechneDraftWeeklyCheckInRecord(client);
|
|
@@ -3491,6 +3494,39 @@ export class PubTechneDraftSummaryRecord {
|
|
|
3491
3494
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.summary', ...params }, { headers });
|
|
3492
3495
|
}
|
|
3493
3496
|
}
|
|
3497
|
+
export class PubTechneDraftTagFeedbackRecord {
|
|
3498
|
+
_client;
|
|
3499
|
+
constructor(client) {
|
|
3500
|
+
this._client = client;
|
|
3501
|
+
}
|
|
3502
|
+
async list(params) {
|
|
3503
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3504
|
+
collection: 'pub.techne.draft.tagFeedback',
|
|
3505
|
+
...params,
|
|
3506
|
+
});
|
|
3507
|
+
return res.data;
|
|
3508
|
+
}
|
|
3509
|
+
async get(params) {
|
|
3510
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3511
|
+
collection: 'pub.techne.draft.tagFeedback',
|
|
3512
|
+
...params,
|
|
3513
|
+
});
|
|
3514
|
+
return res.data;
|
|
3515
|
+
}
|
|
3516
|
+
async create(params, record, headers) {
|
|
3517
|
+
const collection = 'pub.techne.draft.tagFeedback';
|
|
3518
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3519
|
+
return res.data;
|
|
3520
|
+
}
|
|
3521
|
+
async put(params, record, headers) {
|
|
3522
|
+
const collection = 'pub.techne.draft.tagFeedback';
|
|
3523
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3524
|
+
return res.data;
|
|
3525
|
+
}
|
|
3526
|
+
async delete(params, headers) {
|
|
3527
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.tagFeedback', ...params }, { headers });
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3494
3530
|
export class PubTechneDraftVerdictRecord {
|
|
3495
3531
|
_client;
|
|
3496
3532
|
constructor(client) {
|
|
@@ -9847,6 +9847,44 @@ export declare const schemaDict: {
|
|
|
9847
9847
|
};
|
|
9848
9848
|
};
|
|
9849
9849
|
};
|
|
9850
|
+
readonly PubTechneDraftTagFeedback: {
|
|
9851
|
+
readonly lexicon: 1;
|
|
9852
|
+
readonly id: "pub.techne.draft.tagFeedback";
|
|
9853
|
+
readonly description: "A person's feedback on one tag they saw on a record: that the record has that tag's quality (it fits) or does not (a Kids tag on a bar show does not fit). It records what the person saw, the tag, not the questions behind it: the commons maps a tag to its bank questions at read time, by the app's chip groups (the same mapping that lights the tag), so the feedback still applies after the record's assessment is rewritten or a chip's questions change. Tags only: there is no free text (prose about an event goes to the app's moderation report). Effect: the commons features rule asks the tag's questions about the record again, telling its classifier how many people say the tag does or does not fit; the classifier still answers from the record's own listing: feedback is context for it, not a vote. Feedback from the record's own publisher, or from the publisher of any source record merged into it, does not count. It is about the tag, never a mark against the record's author, host or venue. Written by the person, in their own repo. PUBLIC.";
|
|
9854
|
+
readonly defs: {
|
|
9855
|
+
readonly main: {
|
|
9856
|
+
readonly type: "record";
|
|
9857
|
+
readonly key: "tid";
|
|
9858
|
+
readonly description: "One live feedback per person per record and tag: a newer one replaces an older one (whatever its verdict), and a person who changes their mind deletes it.";
|
|
9859
|
+
readonly record: {
|
|
9860
|
+
readonly type: "object";
|
|
9861
|
+
readonly required: ["subject", "tag", "verdict", "createdAt"];
|
|
9862
|
+
readonly properties: {
|
|
9863
|
+
readonly subject: {
|
|
9864
|
+
readonly type: "ref";
|
|
9865
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
9866
|
+
readonly description: "The record the tag is on: the curated commons event (the subject of its assessment).";
|
|
9867
|
+
};
|
|
9868
|
+
readonly tag: {
|
|
9869
|
+
readonly type: "string";
|
|
9870
|
+
readonly maxLength: 64;
|
|
9871
|
+
readonly description: "The tag as the app names it: a chip id in the app's chip groups, e.g. allAges or kids. Not a bank question: the chip groups map the tag to its questions.";
|
|
9872
|
+
};
|
|
9873
|
+
readonly verdict: {
|
|
9874
|
+
readonly type: "string";
|
|
9875
|
+
readonly maxLength: 64;
|
|
9876
|
+
readonly knownValues: ["fits", "doesntFit"];
|
|
9877
|
+
readonly description: "What the person says about the record, not about the display: `fits`: the record has this tag's quality; `doesntFit`: it does not. Either can be said whether or not the tag is shown; feedback that agrees with what is shown asks nothing.";
|
|
9878
|
+
};
|
|
9879
|
+
readonly createdAt: {
|
|
9880
|
+
readonly type: "string";
|
|
9881
|
+
readonly format: "datetime";
|
|
9882
|
+
};
|
|
9883
|
+
};
|
|
9884
|
+
};
|
|
9885
|
+
};
|
|
9886
|
+
};
|
|
9887
|
+
};
|
|
9850
9888
|
readonly PubTechneDraftVerdict: {
|
|
9851
9889
|
readonly lexicon: 1;
|
|
9852
9890
|
readonly id: "pub.techne.draft.verdict";
|
|
@@ -20938,6 +20976,43 @@ export declare const schemas: ({
|
|
|
20938
20976
|
}];
|
|
20939
20977
|
};
|
|
20940
20978
|
};
|
|
20979
|
+
} | {
|
|
20980
|
+
readonly lexicon: 1;
|
|
20981
|
+
readonly id: "pub.techne.draft.tagFeedback";
|
|
20982
|
+
readonly description: "A person's feedback on one tag they saw on a record: that the record has that tag's quality (it fits) or does not (a Kids tag on a bar show does not fit). It records what the person saw, the tag, not the questions behind it: the commons maps a tag to its bank questions at read time, by the app's chip groups (the same mapping that lights the tag), so the feedback still applies after the record's assessment is rewritten or a chip's questions change. Tags only: there is no free text (prose about an event goes to the app's moderation report). Effect: the commons features rule asks the tag's questions about the record again, telling its classifier how many people say the tag does or does not fit; the classifier still answers from the record's own listing: feedback is context for it, not a vote. Feedback from the record's own publisher, or from the publisher of any source record merged into it, does not count. It is about the tag, never a mark against the record's author, host or venue. Written by the person, in their own repo. PUBLIC.";
|
|
20983
|
+
readonly defs: {
|
|
20984
|
+
readonly main: {
|
|
20985
|
+
readonly type: "record";
|
|
20986
|
+
readonly key: "tid";
|
|
20987
|
+
readonly description: "One live feedback per person per record and tag: a newer one replaces an older one (whatever its verdict), and a person who changes their mind deletes it.";
|
|
20988
|
+
readonly record: {
|
|
20989
|
+
readonly type: "object";
|
|
20990
|
+
readonly required: ["subject", "tag", "verdict", "createdAt"];
|
|
20991
|
+
readonly properties: {
|
|
20992
|
+
readonly subject: {
|
|
20993
|
+
readonly type: "ref";
|
|
20994
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
20995
|
+
readonly description: "The record the tag is on: the curated commons event (the subject of its assessment).";
|
|
20996
|
+
};
|
|
20997
|
+
readonly tag: {
|
|
20998
|
+
readonly type: "string";
|
|
20999
|
+
readonly maxLength: 64;
|
|
21000
|
+
readonly description: "The tag as the app names it: a chip id in the app's chip groups, e.g. allAges or kids. Not a bank question: the chip groups map the tag to its questions.";
|
|
21001
|
+
};
|
|
21002
|
+
readonly verdict: {
|
|
21003
|
+
readonly type: "string";
|
|
21004
|
+
readonly maxLength: 64;
|
|
21005
|
+
readonly knownValues: ["fits", "doesntFit"];
|
|
21006
|
+
readonly description: "What the person says about the record, not about the display: `fits`: the record has this tag's quality; `doesntFit`: it does not. Either can be said whether or not the tag is shown; feedback that agrees with what is shown asks nothing.";
|
|
21007
|
+
};
|
|
21008
|
+
readonly createdAt: {
|
|
21009
|
+
readonly type: "string";
|
|
21010
|
+
readonly format: "datetime";
|
|
21011
|
+
};
|
|
21012
|
+
};
|
|
21013
|
+
};
|
|
21014
|
+
};
|
|
21015
|
+
};
|
|
20941
21016
|
} | {
|
|
20942
21017
|
readonly lexicon: 1;
|
|
20943
21018
|
readonly id: "pub.techne.draft.verdict";
|
|
@@ -22454,6 +22529,7 @@ export declare const ids: {
|
|
|
22454
22529
|
readonly PubTechneDraftSubjectPrefs: "pub.techne.draft.subjectPrefs";
|
|
22455
22530
|
readonly PubTechneDraftSummary: "pub.techne.draft.summary";
|
|
22456
22531
|
readonly PubTechneDraftSyncIndexRecord: "pub.techne.draft.sync.indexRecord";
|
|
22532
|
+
readonly PubTechneDraftTagFeedback: "pub.techne.draft.tagFeedback";
|
|
22457
22533
|
readonly PubTechneDraftVerdict: "pub.techne.draft.verdict";
|
|
22458
22534
|
readonly PubTechneDraftVerification: "pub.techne.draft.verification";
|
|
22459
22535
|
readonly PubTechneDraftWeeklyCheckIn: "pub.techne.draft.weeklyCheckIn";
|
|
@@ -10517,6 +10517,44 @@ export const schemaDict = {
|
|
|
10517
10517
|
},
|
|
10518
10518
|
},
|
|
10519
10519
|
},
|
|
10520
|
+
PubTechneDraftTagFeedback: {
|
|
10521
|
+
lexicon: 1,
|
|
10522
|
+
id: 'pub.techne.draft.tagFeedback',
|
|
10523
|
+
description: "A person's feedback on one tag they saw on a record: that the record has that tag's quality (it fits) or does not (a Kids tag on a bar show does not fit). It records what the person saw, the tag, not the questions behind it: the commons maps a tag to its bank questions at read time, by the app's chip groups (the same mapping that lights the tag), so the feedback still applies after the record's assessment is rewritten or a chip's questions change. Tags only: there is no free text (prose about an event goes to the app's moderation report). Effect: the commons features rule asks the tag's questions about the record again, telling its classifier how many people say the tag does or does not fit; the classifier still answers from the record's own listing: feedback is context for it, not a vote. Feedback from the record's own publisher, or from the publisher of any source record merged into it, does not count. It is about the tag, never a mark against the record's author, host or venue. Written by the person, in their own repo. PUBLIC.",
|
|
10524
|
+
defs: {
|
|
10525
|
+
main: {
|
|
10526
|
+
type: 'record',
|
|
10527
|
+
key: 'tid',
|
|
10528
|
+
description: 'One live feedback per person per record and tag: a newer one replaces an older one (whatever its verdict), and a person who changes their mind deletes it.',
|
|
10529
|
+
record: {
|
|
10530
|
+
type: 'object',
|
|
10531
|
+
required: ['subject', 'tag', 'verdict', 'createdAt'],
|
|
10532
|
+
properties: {
|
|
10533
|
+
subject: {
|
|
10534
|
+
type: 'ref',
|
|
10535
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10536
|
+
description: 'The record the tag is on: the curated commons event (the subject of its assessment).',
|
|
10537
|
+
},
|
|
10538
|
+
tag: {
|
|
10539
|
+
type: 'string',
|
|
10540
|
+
maxLength: 64,
|
|
10541
|
+
description: "The tag as the app names it: a chip id in the app's chip groups, e.g. allAges or kids. Not a bank question: the chip groups map the tag to its questions.",
|
|
10542
|
+
},
|
|
10543
|
+
verdict: {
|
|
10544
|
+
type: 'string',
|
|
10545
|
+
maxLength: 64,
|
|
10546
|
+
knownValues: ['fits', 'doesntFit'],
|
|
10547
|
+
description: "What the person says about the record, not about the display: `fits`: the record has this tag's quality; `doesntFit`: it does not. Either can be said whether or not the tag is shown; feedback that agrees with what is shown asks nothing.",
|
|
10548
|
+
},
|
|
10549
|
+
createdAt: {
|
|
10550
|
+
type: 'string',
|
|
10551
|
+
format: 'datetime',
|
|
10552
|
+
},
|
|
10553
|
+
},
|
|
10554
|
+
},
|
|
10555
|
+
},
|
|
10556
|
+
},
|
|
10557
|
+
},
|
|
10520
10558
|
PubTechneDraftVerdict: {
|
|
10521
10559
|
lexicon: 1,
|
|
10522
10560
|
id: 'pub.techne.draft.verdict',
|
|
@@ -12125,6 +12163,7 @@ export const ids = {
|
|
|
12125
12163
|
PubTechneDraftSubjectPrefs: 'pub.techne.draft.subjectPrefs',
|
|
12126
12164
|
PubTechneDraftSummary: 'pub.techne.draft.summary',
|
|
12127
12165
|
PubTechneDraftSyncIndexRecord: 'pub.techne.draft.sync.indexRecord',
|
|
12166
|
+
PubTechneDraftTagFeedback: 'pub.techne.draft.tagFeedback',
|
|
12128
12167
|
PubTechneDraftVerdict: 'pub.techne.draft.verdict',
|
|
12129
12168
|
PubTechneDraftVerification: 'pub.techne.draft.verification',
|
|
12130
12169
|
PubTechneDraftWeeklyCheckIn: 'pub.techne.draft.weeklyCheckIn',
|
package/dist/generated/nsid.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ export declare const NSID: {
|
|
|
292
292
|
readonly SUBJECT_PREFS: "pub.techne.draft.subjectPrefs";
|
|
293
293
|
readonly SUMMARY: "pub.techne.draft.summary";
|
|
294
294
|
readonly SYNC_INDEX_RECORD: "pub.techne.draft.sync.indexRecord";
|
|
295
|
+
readonly TAG_FEEDBACK: "pub.techne.draft.tagFeedback";
|
|
295
296
|
readonly VERDICT: "pub.techne.draft.verdict";
|
|
296
297
|
readonly VERIFICATION: "pub.techne.draft.verification";
|
|
297
298
|
readonly WEEKLY_CHECK_IN: "pub.techne.draft.weeklyCheckIn";
|
package/dist/generated/nsid.js
CHANGED
|
@@ -296,6 +296,7 @@ export const NSID = {
|
|
|
296
296
|
SUBJECT_PREFS: 'pub.techne.draft.subjectPrefs',
|
|
297
297
|
SUMMARY: 'pub.techne.draft.summary',
|
|
298
298
|
SYNC_INDEX_RECORD: 'pub.techne.draft.sync.indexRecord',
|
|
299
|
+
TAG_FEEDBACK: 'pub.techne.draft.tagFeedback',
|
|
299
300
|
VERDICT: 'pub.techne.draft.verdict',
|
|
300
301
|
VERIFICATION: 'pub.techne.draft.verification',
|
|
301
302
|
WEEKLY_CHECK_IN: 'pub.techne.draft.weeklyCheckIn',
|
package/dist/generated/nsid.json
CHANGED
|
@@ -292,6 +292,7 @@
|
|
|
292
292
|
"SUBJECT_PREFS": "pub.techne.draft.subjectPrefs",
|
|
293
293
|
"SUMMARY": "pub.techne.draft.summary",
|
|
294
294
|
"SYNC_INDEX_RECORD": "pub.techne.draft.sync.indexRecord",
|
|
295
|
+
"TAG_FEEDBACK": "pub.techne.draft.tagFeedback",
|
|
295
296
|
"VERDICT": "pub.techne.draft.verdict",
|
|
296
297
|
"VERIFICATION": "pub.techne.draft.verification",
|
|
297
298
|
"WEEKLY_CHECK_IN": "pub.techne.draft.weeklyCheckIn"
|
|
@@ -71,9 +71,10 @@ import type * as R69 from './types/pub/techne/draft/sourceRef.js';
|
|
|
71
71
|
import type * as R70 from './types/pub/techne/draft/statement.js';
|
|
72
72
|
import type * as R71 from './types/pub/techne/draft/subjectPrefs.js';
|
|
73
73
|
import type * as R72 from './types/pub/techne/draft/summary.js';
|
|
74
|
-
import type * as R73 from './types/pub/techne/draft/
|
|
75
|
-
import type * as R74 from './types/pub/techne/draft/
|
|
76
|
-
import type * as R75 from './types/pub/techne/draft/
|
|
74
|
+
import type * as R73 from './types/pub/techne/draft/tagFeedback.js';
|
|
75
|
+
import type * as R74 from './types/pub/techne/draft/verdict.js';
|
|
76
|
+
import type * as R75 from './types/pub/techne/draft/verification.js';
|
|
77
|
+
import type * as R76 from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
77
78
|
/** Every record type the lexicons define, by collection. */
|
|
78
79
|
export interface Records {
|
|
79
80
|
'community.lexicon.calendar.event': R0.Record;
|
|
@@ -149,9 +150,10 @@ export interface Records {
|
|
|
149
150
|
'pub.techne.draft.statement': R70.Record;
|
|
150
151
|
'pub.techne.draft.subjectPrefs': R71.Record;
|
|
151
152
|
'pub.techne.draft.summary': R72.Record;
|
|
152
|
-
'pub.techne.draft.
|
|
153
|
-
'pub.techne.draft.
|
|
154
|
-
'pub.techne.draft.
|
|
153
|
+
'pub.techne.draft.tagFeedback': R73.Record;
|
|
154
|
+
'pub.techne.draft.verdict': R74.Record;
|
|
155
|
+
'pub.techne.draft.verification': R75.Record;
|
|
156
|
+
'pub.techne.draft.weeklyCheckIn': R76.Record;
|
|
155
157
|
}
|
|
156
158
|
/** Any one record the lexicons define (its `$type` says which). */
|
|
157
159
|
export type AnyRecord = Records[keyof Records];
|