techne-sdk 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/catalog/catalog.gen.js +147 -26
- package/dist/generated/index.d.ts +28 -0
- package/dist/generated/index.js +36 -0
- package/dist/generated/lexicons.d.ts +64 -10
- package/dist/generated/lexicons.js +39 -5
- 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/unfollow.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/unfollow.js +12 -0
- package/dist/generated/types/pub/techne/draft/verdict.d.ts +2 -2
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +10815 -10813
- package/package.json +1 -1
|
@@ -3107,7 +3107,7 @@ export declare const schemaDict: {
|
|
|
3107
3107
|
readonly PubTechneDraftFollow: {
|
|
3108
3108
|
readonly lexicon: 1;
|
|
3109
3109
|
readonly id: "pub.techne.draft.follow";
|
|
3110
|
-
readonly description: "The owner follows a person
|
|
3110
|
+
readonly description: "The owner follows a person. Beacon no longer writes it: since 2026-12-02 Beacon follows every steward curator by default and records an opt-out as pub.techne.draft.unfollow instead; existing follow records are left in place and nothing reads them. Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. For a follow of anyone (not Beacon's curators, which are followed by default), a missing record means not followed and unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.";
|
|
3111
3111
|
readonly defs: {
|
|
3112
3112
|
readonly main: {
|
|
3113
3113
|
readonly type: "record";
|
|
@@ -6053,7 +6053,7 @@ export declare const schemaDict: {
|
|
|
6053
6053
|
readonly PubTechneDraftNotificationPref: {
|
|
6054
6054
|
readonly lexicon: 1;
|
|
6055
6055
|
readonly id: "pub.techne.draft.notificationPref";
|
|
6056
|
-
readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.
|
|
6056
|
+
readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.picks` (curators you follow added picks near you: at most the day's first pick and one 6 PM batch) on. `curator.new` (a new local curator near you) is no longer read: since 2026-12-02 everyone gets that notice, and an old record turning it off is ignored. The notifier reads `curator.picks`, and the owner's pub.techne.draft.unfollow records, before it sends.";
|
|
6057
6057
|
readonly defs: {
|
|
6058
6058
|
readonly main: {
|
|
6059
6059
|
readonly type: "record";
|
|
@@ -10515,10 +10515,37 @@ export declare const schemaDict: {
|
|
|
10515
10515
|
};
|
|
10516
10516
|
};
|
|
10517
10517
|
};
|
|
10518
|
+
readonly PubTechneDraftUnfollow: {
|
|
10519
|
+
readonly lexicon: 1;
|
|
10520
|
+
readonly id: "pub.techne.draft.unfollow";
|
|
10521
|
+
readonly description: "The owner stopped following a person they follow by default (Beacon: a local curator, one of the stewards everyone follows unless they say no). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list it. A missing record means followed; following again deletes it. The opposite of pub.techne.draft.follow, which records a follow the owner chose.";
|
|
10522
|
+
readonly defs: {
|
|
10523
|
+
readonly main: {
|
|
10524
|
+
readonly type: "record";
|
|
10525
|
+
readonly key: "any";
|
|
10526
|
+
readonly description: "The record key is the subject's DID.";
|
|
10527
|
+
readonly record: {
|
|
10528
|
+
readonly type: "object";
|
|
10529
|
+
readonly required: ["subject", "createdAt"];
|
|
10530
|
+
readonly properties: {
|
|
10531
|
+
readonly subject: {
|
|
10532
|
+
readonly type: "string";
|
|
10533
|
+
readonly format: "did";
|
|
10534
|
+
readonly description: "The person unfollowed.";
|
|
10535
|
+
};
|
|
10536
|
+
readonly createdAt: {
|
|
10537
|
+
readonly type: "string";
|
|
10538
|
+
readonly format: "datetime";
|
|
10539
|
+
};
|
|
10540
|
+
};
|
|
10541
|
+
};
|
|
10542
|
+
};
|
|
10543
|
+
};
|
|
10544
|
+
};
|
|
10518
10545
|
readonly PubTechneDraftVerdict: {
|
|
10519
10546
|
readonly lexicon: 1;
|
|
10520
10547
|
readonly id: "pub.techne.draft.verdict";
|
|
10521
|
-
readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get
|
|
10548
|
+
readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`), or, from an admin writer, that a verdict on it was wrong (`cleared`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get a `spam`, `obscene` or `!takedown` verdict; a version with none was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter); `declined` and `cleared` count instead only from an admin writer as itself (pub.techne.draft.provenancePolicy, gaps). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones), `declined` and `cleared` by an admin writer as itself. PUBLIC.";
|
|
10522
10549
|
readonly defs: {
|
|
10523
10550
|
readonly main: {
|
|
10524
10551
|
readonly type: "record";
|
|
@@ -10540,9 +10567,9 @@ export declare const schemaDict: {
|
|
|
10540
10567
|
readonly items: {
|
|
10541
10568
|
readonly type: "string";
|
|
10542
10569
|
readonly maxLength: 64;
|
|
10543
|
-
readonly knownValues: ["spam", "obscene", "!takedown", "declined"];
|
|
10570
|
+
readonly knownValues: ["spam", "obscene", "!takedown", "declined", "cleared"];
|
|
10544
10571
|
};
|
|
10545
|
-
readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing.";
|
|
10572
|
+
readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps).";
|
|
10546
10573
|
};
|
|
10547
10574
|
readonly createdAt: {
|
|
10548
10575
|
readonly type: "string";
|
|
@@ -14951,7 +14978,7 @@ export declare const schemas: ({
|
|
|
14951
14978
|
} | {
|
|
14952
14979
|
readonly lexicon: 1;
|
|
14953
14980
|
readonly id: "pub.techne.draft.follow";
|
|
14954
|
-
readonly description: "The owner follows a person
|
|
14981
|
+
readonly description: "The owner follows a person. Beacon no longer writes it: since 2026-12-02 Beacon follows every steward curator by default and records an opt-out as pub.techne.draft.unfollow instead; existing follow records are left in place and nothing reads them. Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. For a follow of anyone (not Beacon's curators, which are followed by default), a missing record means not followed and unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.";
|
|
14955
14982
|
readonly defs: {
|
|
14956
14983
|
readonly main: {
|
|
14957
14984
|
readonly type: "record";
|
|
@@ -17857,7 +17884,7 @@ export declare const schemas: ({
|
|
|
17857
17884
|
} | {
|
|
17858
17885
|
readonly lexicon: 1;
|
|
17859
17886
|
readonly id: "pub.techne.draft.notificationPref";
|
|
17860
|
-
readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.
|
|
17887
|
+
readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.picks` (curators you follow added picks near you: at most the day's first pick and one 6 PM batch) on. `curator.new` (a new local curator near you) is no longer read: since 2026-12-02 everyone gets that notice, and an old record turning it off is ignored. The notifier reads `curator.picks`, and the owner's pub.techne.draft.unfollow records, before it sends.";
|
|
17861
17888
|
readonly defs: {
|
|
17862
17889
|
readonly main: {
|
|
17863
17890
|
readonly type: "record";
|
|
@@ -22263,10 +22290,36 @@ export declare const schemas: ({
|
|
|
22263
22290
|
};
|
|
22264
22291
|
};
|
|
22265
22292
|
};
|
|
22293
|
+
} | {
|
|
22294
|
+
readonly lexicon: 1;
|
|
22295
|
+
readonly id: "pub.techne.draft.unfollow";
|
|
22296
|
+
readonly description: "The owner stopped following a person they follow by default (Beacon: a local curator, one of the stewards everyone follows unless they say no). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list it. A missing record means followed; following again deletes it. The opposite of pub.techne.draft.follow, which records a follow the owner chose.";
|
|
22297
|
+
readonly defs: {
|
|
22298
|
+
readonly main: {
|
|
22299
|
+
readonly type: "record";
|
|
22300
|
+
readonly key: "any";
|
|
22301
|
+
readonly description: "The record key is the subject's DID.";
|
|
22302
|
+
readonly record: {
|
|
22303
|
+
readonly type: "object";
|
|
22304
|
+
readonly required: ["subject", "createdAt"];
|
|
22305
|
+
readonly properties: {
|
|
22306
|
+
readonly subject: {
|
|
22307
|
+
readonly type: "string";
|
|
22308
|
+
readonly format: "did";
|
|
22309
|
+
readonly description: "The person unfollowed.";
|
|
22310
|
+
};
|
|
22311
|
+
readonly createdAt: {
|
|
22312
|
+
readonly type: "string";
|
|
22313
|
+
readonly format: "datetime";
|
|
22314
|
+
};
|
|
22315
|
+
};
|
|
22316
|
+
};
|
|
22317
|
+
};
|
|
22318
|
+
};
|
|
22266
22319
|
} | {
|
|
22267
22320
|
readonly lexicon: 1;
|
|
22268
22321
|
readonly id: "pub.techne.draft.verdict";
|
|
22269
|
-
readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get
|
|
22322
|
+
readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`), or, from an admin writer, that a verdict on it was wrong (`cleared`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get a `spam`, `obscene` or `!takedown` verdict; a version with none was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter); `declined` and `cleared` count instead only from an admin writer as itself (pub.techne.draft.provenancePolicy, gaps). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones), `declined` and `cleared` by an admin writer as itself. PUBLIC.";
|
|
22270
22323
|
readonly defs: {
|
|
22271
22324
|
readonly main: {
|
|
22272
22325
|
readonly type: "record";
|
|
@@ -22288,9 +22341,9 @@ export declare const schemas: ({
|
|
|
22288
22341
|
readonly items: {
|
|
22289
22342
|
readonly type: "string";
|
|
22290
22343
|
readonly maxLength: 64;
|
|
22291
|
-
readonly knownValues: ["spam", "obscene", "!takedown", "declined"];
|
|
22344
|
+
readonly knownValues: ["spam", "obscene", "!takedown", "declined", "cleared"];
|
|
22292
22345
|
};
|
|
22293
|
-
readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing.";
|
|
22346
|
+
readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps).";
|
|
22294
22347
|
};
|
|
22295
22348
|
readonly createdAt: {
|
|
22296
22349
|
readonly type: "string";
|
|
@@ -23790,6 +23843,7 @@ export declare const ids: {
|
|
|
23790
23843
|
readonly PubTechneDraftSummary: "pub.techne.draft.summary";
|
|
23791
23844
|
readonly PubTechneDraftSyncIndexRecord: "pub.techne.draft.sync.indexRecord";
|
|
23792
23845
|
readonly PubTechneDraftTagFeedback: "pub.techne.draft.tagFeedback";
|
|
23846
|
+
readonly PubTechneDraftUnfollow: "pub.techne.draft.unfollow";
|
|
23793
23847
|
readonly PubTechneDraftVerdict: "pub.techne.draft.verdict";
|
|
23794
23848
|
readonly PubTechneDraftVerification: "pub.techne.draft.verification";
|
|
23795
23849
|
readonly PubTechneDraftWeeklyCheckIn: "pub.techne.draft.weeklyCheckIn";
|
|
@@ -3297,7 +3297,7 @@ export const schemaDict = {
|
|
|
3297
3297
|
PubTechneDraftFollow: {
|
|
3298
3298
|
lexicon: 1,
|
|
3299
3299
|
id: 'pub.techne.draft.follow',
|
|
3300
|
-
description: "The owner follows a person
|
|
3300
|
+
description: "The owner follows a person. Beacon no longer writes it: since 2026-12-02 Beacon follows every steward curator by default and records an opt-out as pub.techne.draft.unfollow instead; existing follow records are left in place and nothing reads them. Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. For a follow of anyone (not Beacon's curators, which are followed by default), a missing record means not followed and unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.",
|
|
3301
3301
|
defs: {
|
|
3302
3302
|
main: {
|
|
3303
3303
|
type: 'record',
|
|
@@ -6532,7 +6532,7 @@ export const schemaDict = {
|
|
|
6532
6532
|
PubTechneDraftNotificationPref: {
|
|
6533
6533
|
lexicon: 1,
|
|
6534
6534
|
id: 'pub.techne.draft.notificationPref',
|
|
6535
|
-
description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.
|
|
6535
|
+
description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.picks` (curators you follow added picks near you: at most the day's first pick and one 6 PM batch) on. `curator.new` (a new local curator near you) is no longer read: since 2026-12-02 everyone gets that notice, and an old record turning it off is ignored. The notifier reads `curator.picks`, and the owner's pub.techne.draft.unfollow records, before it sends.",
|
|
6536
6536
|
defs: {
|
|
6537
6537
|
main: {
|
|
6538
6538
|
type: 'record',
|
|
@@ -11258,10 +11258,37 @@ export const schemaDict = {
|
|
|
11258
11258
|
},
|
|
11259
11259
|
},
|
|
11260
11260
|
},
|
|
11261
|
+
PubTechneDraftUnfollow: {
|
|
11262
|
+
lexicon: 1,
|
|
11263
|
+
id: 'pub.techne.draft.unfollow',
|
|
11264
|
+
description: "The owner stopped following a person they follow by default (Beacon: a local curator, one of the stewards everyone follows unless they say no). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list it. A missing record means followed; following again deletes it. The opposite of pub.techne.draft.follow, which records a follow the owner chose.",
|
|
11265
|
+
defs: {
|
|
11266
|
+
main: {
|
|
11267
|
+
type: 'record',
|
|
11268
|
+
key: 'any',
|
|
11269
|
+
description: "The record key is the subject's DID.",
|
|
11270
|
+
record: {
|
|
11271
|
+
type: 'object',
|
|
11272
|
+
required: ['subject', 'createdAt'],
|
|
11273
|
+
properties: {
|
|
11274
|
+
subject: {
|
|
11275
|
+
type: 'string',
|
|
11276
|
+
format: 'did',
|
|
11277
|
+
description: 'The person unfollowed.',
|
|
11278
|
+
},
|
|
11279
|
+
createdAt: {
|
|
11280
|
+
type: 'string',
|
|
11281
|
+
format: 'datetime',
|
|
11282
|
+
},
|
|
11283
|
+
},
|
|
11284
|
+
},
|
|
11285
|
+
},
|
|
11286
|
+
},
|
|
11287
|
+
},
|
|
11261
11288
|
PubTechneDraftVerdict: {
|
|
11262
11289
|
lexicon: 1,
|
|
11263
11290
|
id: 'pub.techne.draft.verdict',
|
|
11264
|
-
description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get
|
|
11291
|
+
description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`), or, from an admin writer, that a verdict on it was wrong (`cleared`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get a `spam`, `obscene` or `!takedown` verdict; a version with none was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter); `declined` and `cleared` count instead only from an admin writer as itself (pub.techne.draft.provenancePolicy, gaps). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones), `declined` and `cleared` by an admin writer as itself. PUBLIC.",
|
|
11265
11292
|
defs: {
|
|
11266
11293
|
main: {
|
|
11267
11294
|
type: 'record',
|
|
@@ -11283,9 +11310,15 @@ export const schemaDict = {
|
|
|
11283
11310
|
items: {
|
|
11284
11311
|
type: 'string',
|
|
11285
11312
|
maxLength: 64,
|
|
11286
|
-
knownValues: [
|
|
11313
|
+
knownValues: [
|
|
11314
|
+
'spam',
|
|
11315
|
+
'obscene',
|
|
11316
|
+
'!takedown',
|
|
11317
|
+
'declined',
|
|
11318
|
+
'cleared',
|
|
11319
|
+
],
|
|
11287
11320
|
},
|
|
11288
|
-
description: 'What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing.',
|
|
11321
|
+
description: 'What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps).',
|
|
11289
11322
|
},
|
|
11290
11323
|
createdAt: {
|
|
11291
11324
|
type: 'string',
|
|
@@ -12877,6 +12910,7 @@ export const ids = {
|
|
|
12877
12910
|
PubTechneDraftSummary: 'pub.techne.draft.summary',
|
|
12878
12911
|
PubTechneDraftSyncIndexRecord: 'pub.techne.draft.sync.indexRecord',
|
|
12879
12912
|
PubTechneDraftTagFeedback: 'pub.techne.draft.tagFeedback',
|
|
12913
|
+
PubTechneDraftUnfollow: 'pub.techne.draft.unfollow',
|
|
12880
12914
|
PubTechneDraftVerdict: 'pub.techne.draft.verdict',
|
|
12881
12915
|
PubTechneDraftVerification: 'pub.techne.draft.verification',
|
|
12882
12916
|
PubTechneDraftWeeklyCheckIn: 'pub.techne.draft.weeklyCheckIn',
|
package/dist/generated/nsid.d.ts
CHANGED
|
@@ -341,6 +341,7 @@ export declare const NSID: {
|
|
|
341
341
|
readonly SYNC_INDEX_RECORD: "pub.techne.draft.sync.indexRecord";
|
|
342
342
|
readonly TAG_FEEDBACK: "pub.techne.draft.tagFeedback";
|
|
343
343
|
readonly TAG_FEEDBACK_QUERY: "pub.techne.draft.tagFeedback.query";
|
|
344
|
+
readonly UNFOLLOW: "pub.techne.draft.unfollow";
|
|
344
345
|
readonly VERDICT: "pub.techne.draft.verdict";
|
|
345
346
|
readonly VERDICT_QUERY: "pub.techne.draft.verdict.query";
|
|
346
347
|
readonly VERIFICATION: "pub.techne.draft.verification";
|
package/dist/generated/nsid.js
CHANGED
|
@@ -345,6 +345,7 @@ export const NSID = {
|
|
|
345
345
|
SYNC_INDEX_RECORD: 'pub.techne.draft.sync.indexRecord',
|
|
346
346
|
TAG_FEEDBACK: 'pub.techne.draft.tagFeedback',
|
|
347
347
|
TAG_FEEDBACK_QUERY: 'pub.techne.draft.tagFeedback.query',
|
|
348
|
+
UNFOLLOW: 'pub.techne.draft.unfollow',
|
|
348
349
|
VERDICT: 'pub.techne.draft.verdict',
|
|
349
350
|
VERDICT_QUERY: 'pub.techne.draft.verdict.query',
|
|
350
351
|
VERIFICATION: 'pub.techne.draft.verification',
|
package/dist/generated/nsid.json
CHANGED
|
@@ -341,6 +341,7 @@
|
|
|
341
341
|
"SYNC_INDEX_RECORD": "pub.techne.draft.sync.indexRecord",
|
|
342
342
|
"TAG_FEEDBACK": "pub.techne.draft.tagFeedback",
|
|
343
343
|
"TAG_FEEDBACK_QUERY": "pub.techne.draft.tagFeedback.query",
|
|
344
|
+
"UNFOLLOW": "pub.techne.draft.unfollow",
|
|
344
345
|
"VERDICT": "pub.techne.draft.verdict",
|
|
345
346
|
"VERDICT_QUERY": "pub.techne.draft.verdict.query",
|
|
346
347
|
"VERIFICATION": "pub.techne.draft.verification",
|
|
@@ -79,9 +79,10 @@ import type * as R77 from './types/pub/techne/draft/statement.js';
|
|
|
79
79
|
import type * as R78 from './types/pub/techne/draft/subjectPrefs.js';
|
|
80
80
|
import type * as R79 from './types/pub/techne/draft/summary.js';
|
|
81
81
|
import type * as R80 from './types/pub/techne/draft/tagFeedback.js';
|
|
82
|
-
import type * as R81 from './types/pub/techne/draft/
|
|
83
|
-
import type * as R82 from './types/pub/techne/draft/
|
|
84
|
-
import type * as R83 from './types/pub/techne/draft/
|
|
82
|
+
import type * as R81 from './types/pub/techne/draft/unfollow.js';
|
|
83
|
+
import type * as R82 from './types/pub/techne/draft/verdict.js';
|
|
84
|
+
import type * as R83 from './types/pub/techne/draft/verification.js';
|
|
85
|
+
import type * as R84 from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
85
86
|
/** Every record type the lexicons define, by collection. */
|
|
86
87
|
export interface Records {
|
|
87
88
|
'community.lexicon.calendar.event': R0.Record;
|
|
@@ -165,9 +166,10 @@ export interface Records {
|
|
|
165
166
|
'pub.techne.draft.subjectPrefs': R78.Record;
|
|
166
167
|
'pub.techne.draft.summary': R79.Record;
|
|
167
168
|
'pub.techne.draft.tagFeedback': R80.Record;
|
|
168
|
-
'pub.techne.draft.
|
|
169
|
-
'pub.techne.draft.
|
|
170
|
-
'pub.techne.draft.
|
|
169
|
+
'pub.techne.draft.unfollow': R81.Record;
|
|
170
|
+
'pub.techne.draft.verdict': R82.Record;
|
|
171
|
+
'pub.techne.draft.verification': R83.Record;
|
|
172
|
+
'pub.techne.draft.weeklyCheckIn': R84.Record;
|
|
171
173
|
}
|
|
172
174
|
/** Any one record the lexicons define (its `$type` says which). */
|
|
173
175
|
export type AnyRecord = Records[keyof Records];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.unfollow';
|
|
7
|
+
/** The person unfollowed. */
|
|
8
|
+
subject: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.unfollow", "main">;
|
|
13
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
14
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'pub.techne.draft.unfollow';
|
|
5
|
+
const hashMain = 'main';
|
|
6
|
+
export function isMain(v) {
|
|
7
|
+
return is$typed(v, id, hashMain);
|
|
8
|
+
}
|
|
9
|
+
export function validateMain(v) {
|
|
10
|
+
return validate(v, id, hashMain, true);
|
|
11
|
+
}
|
|
12
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -6,8 +6,8 @@ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongR
|
|
|
6
6
|
export interface Main {
|
|
7
7
|
$type: 'pub.techne.draft.verdict';
|
|
8
8
|
subject: ComAtprotoRepoStrongRef.Main;
|
|
9
|
-
/** What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. */
|
|
10
|
-
values: ('spam' | 'obscene' | '!takedown' | 'declined' | (string & {}))[];
|
|
9
|
+
/** What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps). */
|
|
10
|
+
values: ('spam' | 'obscene' | '!takedown' | 'declined' | 'cleared' | (string & {}))[];
|
|
11
11
|
createdAt: string;
|
|
12
12
|
[k: string]: unknown;
|
|
13
13
|
}
|