techne-sdk 0.3.2 → 0.3.3
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 +23 -0
- package/dist/auth/placement.gen.d.ts +1 -1
- package/dist/auth/placement.gen.js +2 -0
- package/dist/catalog/catalog.gen.d.ts +6 -33
- package/dist/catalog/catalog.gen.js +536 -6
- package/dist/generated/index.d.ts +56 -0
- package/dist/generated/index.js +72 -0
- package/dist/generated/lexicons.d.ts +328 -6
- package/dist/generated/lexicons.js +201 -3
- package/dist/generated/nsid.d.ts +7 -0
- package/dist/generated/nsid.js +7 -0
- package/dist/generated/nsid.json +7 -0
- package/dist/generated/records.d.ts +48 -44
- package/dist/generated/types/pub/techne/draft/collective.d.ts +2 -0
- package/dist/generated/types/pub/techne/draft/placeResearch.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/placeResearch.js +26 -0
- package/dist/generated/types/pub/techne/draft/questionSet.d.ts +3 -0
- package/dist/generated/types/pub/techne/draft/summary.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/summary.js +12 -0
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +22469 -21460
- package/package.json +1 -1
|
@@ -88,6 +88,7 @@ import * as PubTechneDraftPermissionedListRecords from './types/pub/techne/draft
|
|
|
88
88
|
import * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/permissioned/putRecord.js';
|
|
89
89
|
import * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
90
90
|
import * as PubTechneDraftPlace from './types/pub/techne/draft/place.js';
|
|
91
|
+
import * as PubTechneDraftPlaceResearch from './types/pub/techne/draft/placeResearch.js';
|
|
91
92
|
import * as PubTechneDraftPost from './types/pub/techne/draft/post.js';
|
|
92
93
|
import * as PubTechneDraftPresence from './types/pub/techne/draft/presence.js';
|
|
93
94
|
import * as PubTechneDraftProfile from './types/pub/techne/draft/profile.js';
|
|
@@ -120,6 +121,7 @@ import * as PubTechneDraftSource from './types/pub/techne/draft/source.js';
|
|
|
120
121
|
import * as PubTechneDraftSourceAttribution from './types/pub/techne/draft/sourceAttribution.js';
|
|
121
122
|
import * as PubTechneDraftSourceRef from './types/pub/techne/draft/sourceRef.js';
|
|
122
123
|
import * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
|
|
124
|
+
import * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
123
125
|
import * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
124
126
|
import * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
125
127
|
import * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
@@ -240,6 +242,7 @@ export * as PubTechneDraftPermissionedListRecords from './types/pub/techne/draft
|
|
|
240
242
|
export * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/permissioned/putRecord.js';
|
|
241
243
|
export * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
242
244
|
export * as PubTechneDraftPlace from './types/pub/techne/draft/place.js';
|
|
245
|
+
export * as PubTechneDraftPlaceResearch from './types/pub/techne/draft/placeResearch.js';
|
|
243
246
|
export * as PubTechneDraftPost from './types/pub/techne/draft/post.js';
|
|
244
247
|
export * as PubTechneDraftPresence from './types/pub/techne/draft/presence.js';
|
|
245
248
|
export * as PubTechneDraftProfile from './types/pub/techne/draft/profile.js';
|
|
@@ -273,6 +276,7 @@ export * as PubTechneDraftSource from './types/pub/techne/draft/source.js';
|
|
|
273
276
|
export * as PubTechneDraftSourceAttribution from './types/pub/techne/draft/sourceAttribution.js';
|
|
274
277
|
export * as PubTechneDraftSourceRef from './types/pub/techne/draft/sourceRef.js';
|
|
275
278
|
export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
|
|
279
|
+
export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
276
280
|
export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
277
281
|
export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
278
282
|
export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
@@ -496,6 +500,7 @@ export declare class PubTechneDraftNS {
|
|
|
496
500
|
passage: PubTechneDraftPassageRecord;
|
|
497
501
|
pendingBeaconSpot: PubTechneDraftPendingBeaconSpotRecord;
|
|
498
502
|
place: PubTechneDraftPlaceRecord;
|
|
503
|
+
placeResearch: PubTechneDraftPlaceResearchRecord;
|
|
499
504
|
post: PubTechneDraftPostRecord;
|
|
500
505
|
presence: PubTechneDraftPresenceRecord;
|
|
501
506
|
profile: PubTechneDraftProfileRecord;
|
|
@@ -512,6 +517,7 @@ export declare class PubTechneDraftNS {
|
|
|
512
517
|
sourceAttribution: PubTechneDraftSourceAttributionRecord;
|
|
513
518
|
sourceRef: PubTechneDraftSourceRefRecord;
|
|
514
519
|
subjectPrefs: PubTechneDraftSubjectPrefsRecord;
|
|
520
|
+
summary: PubTechneDraftSummaryRecord;
|
|
515
521
|
verdict: PubTechneDraftVerdictRecord;
|
|
516
522
|
verification: PubTechneDraftVerificationRecord;
|
|
517
523
|
weeklyCheckIn: PubTechneDraftWeeklyCheckInRecord;
|
|
@@ -1855,6 +1861,31 @@ export declare class PubTechneDraftPlaceRecord {
|
|
|
1855
1861
|
}>;
|
|
1856
1862
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1857
1863
|
}
|
|
1864
|
+
export declare class PubTechneDraftPlaceResearchRecord {
|
|
1865
|
+
_client: XrpcClient;
|
|
1866
|
+
constructor(client: XrpcClient);
|
|
1867
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
1868
|
+
cursor?: string;
|
|
1869
|
+
records: {
|
|
1870
|
+
uri: string;
|
|
1871
|
+
value: PubTechneDraftPlaceResearch.Record;
|
|
1872
|
+
}[];
|
|
1873
|
+
}>;
|
|
1874
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
1875
|
+
uri: string;
|
|
1876
|
+
cid: string;
|
|
1877
|
+
value: PubTechneDraftPlaceResearch.Record;
|
|
1878
|
+
}>;
|
|
1879
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftPlaceResearch.Record>, headers?: Record<string, string>): Promise<{
|
|
1880
|
+
uri: string;
|
|
1881
|
+
cid: string;
|
|
1882
|
+
}>;
|
|
1883
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftPlaceResearch.Record>, headers?: Record<string, string>): Promise<{
|
|
1884
|
+
uri: string;
|
|
1885
|
+
cid: string;
|
|
1886
|
+
}>;
|
|
1887
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1888
|
+
}
|
|
1858
1889
|
export declare class PubTechneDraftPostRecord {
|
|
1859
1890
|
_client: XrpcClient;
|
|
1860
1891
|
constructor(client: XrpcClient);
|
|
@@ -2255,6 +2286,31 @@ export declare class PubTechneDraftSubjectPrefsRecord {
|
|
|
2255
2286
|
}>;
|
|
2256
2287
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2257
2288
|
}
|
|
2289
|
+
export declare class PubTechneDraftSummaryRecord {
|
|
2290
|
+
_client: XrpcClient;
|
|
2291
|
+
constructor(client: XrpcClient);
|
|
2292
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
2293
|
+
cursor?: string;
|
|
2294
|
+
records: {
|
|
2295
|
+
uri: string;
|
|
2296
|
+
value: PubTechneDraftSummary.Record;
|
|
2297
|
+
}[];
|
|
2298
|
+
}>;
|
|
2299
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
2300
|
+
uri: string;
|
|
2301
|
+
cid: string;
|
|
2302
|
+
value: PubTechneDraftSummary.Record;
|
|
2303
|
+
}>;
|
|
2304
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftSummary.Record>, headers?: Record<string, string>): Promise<{
|
|
2305
|
+
uri: string;
|
|
2306
|
+
cid: string;
|
|
2307
|
+
}>;
|
|
2308
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftSummary.Record>, headers?: Record<string, string>): Promise<{
|
|
2309
|
+
uri: string;
|
|
2310
|
+
cid: string;
|
|
2311
|
+
}>;
|
|
2312
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2313
|
+
}
|
|
2258
2314
|
export declare class PubTechneDraftVerdictRecord {
|
|
2259
2315
|
_client: XrpcClient;
|
|
2260
2316
|
constructor(client: XrpcClient);
|
package/dist/generated/index.js
CHANGED
|
@@ -165,6 +165,7 @@ export * as PubTechneDraftPermissionedListRecords from './types/pub/techne/draft
|
|
|
165
165
|
export * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/permissioned/putRecord.js';
|
|
166
166
|
export * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
167
167
|
export * as PubTechneDraftPlace from './types/pub/techne/draft/place.js';
|
|
168
|
+
export * as PubTechneDraftPlaceResearch from './types/pub/techne/draft/placeResearch.js';
|
|
168
169
|
export * as PubTechneDraftPost from './types/pub/techne/draft/post.js';
|
|
169
170
|
export * as PubTechneDraftPresence from './types/pub/techne/draft/presence.js';
|
|
170
171
|
export * as PubTechneDraftProfile from './types/pub/techne/draft/profile.js';
|
|
@@ -198,6 +199,7 @@ export * as PubTechneDraftSource from './types/pub/techne/draft/source.js';
|
|
|
198
199
|
export * as PubTechneDraftSourceAttribution from './types/pub/techne/draft/sourceAttribution.js';
|
|
199
200
|
export * as PubTechneDraftSourceRef from './types/pub/techne/draft/sourceRef.js';
|
|
200
201
|
export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
|
|
202
|
+
export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
|
|
201
203
|
export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
202
204
|
export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
203
205
|
export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
@@ -527,6 +529,7 @@ export class PubTechneDraftNS {
|
|
|
527
529
|
passage;
|
|
528
530
|
pendingBeaconSpot;
|
|
529
531
|
place;
|
|
532
|
+
placeResearch;
|
|
530
533
|
post;
|
|
531
534
|
presence;
|
|
532
535
|
profile;
|
|
@@ -543,6 +546,7 @@ export class PubTechneDraftNS {
|
|
|
543
546
|
sourceAttribution;
|
|
544
547
|
sourceRef;
|
|
545
548
|
subjectPrefs;
|
|
549
|
+
summary;
|
|
546
550
|
verdict;
|
|
547
551
|
verification;
|
|
548
552
|
weeklyCheckIn;
|
|
@@ -608,6 +612,7 @@ export class PubTechneDraftNS {
|
|
|
608
612
|
this.passage = new PubTechneDraftPassageRecord(client);
|
|
609
613
|
this.pendingBeaconSpot = new PubTechneDraftPendingBeaconSpotRecord(client);
|
|
610
614
|
this.place = new PubTechneDraftPlaceRecord(client);
|
|
615
|
+
this.placeResearch = new PubTechneDraftPlaceResearchRecord(client);
|
|
611
616
|
this.post = new PubTechneDraftPostRecord(client);
|
|
612
617
|
this.presence = new PubTechneDraftPresenceRecord(client);
|
|
613
618
|
this.profile = new PubTechneDraftProfileRecord(client);
|
|
@@ -624,6 +629,7 @@ export class PubTechneDraftNS {
|
|
|
624
629
|
this.sourceAttribution = new PubTechneDraftSourceAttributionRecord(client);
|
|
625
630
|
this.sourceRef = new PubTechneDraftSourceRefRecord(client);
|
|
626
631
|
this.subjectPrefs = new PubTechneDraftSubjectPrefsRecord(client);
|
|
632
|
+
this.summary = new PubTechneDraftSummaryRecord(client);
|
|
627
633
|
this.verdict = new PubTechneDraftVerdictRecord(client);
|
|
628
634
|
this.verification = new PubTechneDraftVerificationRecord(client);
|
|
629
635
|
this.weeklyCheckIn = new PubTechneDraftWeeklyCheckInRecord(client);
|
|
@@ -2680,6 +2686,39 @@ export class PubTechneDraftPlaceRecord {
|
|
|
2680
2686
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.place', ...params }, { headers });
|
|
2681
2687
|
}
|
|
2682
2688
|
}
|
|
2689
|
+
export class PubTechneDraftPlaceResearchRecord {
|
|
2690
|
+
_client;
|
|
2691
|
+
constructor(client) {
|
|
2692
|
+
this._client = client;
|
|
2693
|
+
}
|
|
2694
|
+
async list(params) {
|
|
2695
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2696
|
+
collection: 'pub.techne.draft.placeResearch',
|
|
2697
|
+
...params,
|
|
2698
|
+
});
|
|
2699
|
+
return res.data;
|
|
2700
|
+
}
|
|
2701
|
+
async get(params) {
|
|
2702
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2703
|
+
collection: 'pub.techne.draft.placeResearch',
|
|
2704
|
+
...params,
|
|
2705
|
+
});
|
|
2706
|
+
return res.data;
|
|
2707
|
+
}
|
|
2708
|
+
async create(params, record, headers) {
|
|
2709
|
+
const collection = 'pub.techne.draft.placeResearch';
|
|
2710
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2711
|
+
return res.data;
|
|
2712
|
+
}
|
|
2713
|
+
async put(params, record, headers) {
|
|
2714
|
+
const collection = 'pub.techne.draft.placeResearch';
|
|
2715
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2716
|
+
return res.data;
|
|
2717
|
+
}
|
|
2718
|
+
async delete(params, headers) {
|
|
2719
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.placeResearch', ...params }, { headers });
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2683
2722
|
export class PubTechneDraftPostRecord {
|
|
2684
2723
|
_client;
|
|
2685
2724
|
constructor(client) {
|
|
@@ -3213,6 +3252,39 @@ export class PubTechneDraftSubjectPrefsRecord {
|
|
|
3213
3252
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.subjectPrefs', ...params }, { headers });
|
|
3214
3253
|
}
|
|
3215
3254
|
}
|
|
3255
|
+
export class PubTechneDraftSummaryRecord {
|
|
3256
|
+
_client;
|
|
3257
|
+
constructor(client) {
|
|
3258
|
+
this._client = client;
|
|
3259
|
+
}
|
|
3260
|
+
async list(params) {
|
|
3261
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3262
|
+
collection: 'pub.techne.draft.summary',
|
|
3263
|
+
...params,
|
|
3264
|
+
});
|
|
3265
|
+
return res.data;
|
|
3266
|
+
}
|
|
3267
|
+
async get(params) {
|
|
3268
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3269
|
+
collection: 'pub.techne.draft.summary',
|
|
3270
|
+
...params,
|
|
3271
|
+
});
|
|
3272
|
+
return res.data;
|
|
3273
|
+
}
|
|
3274
|
+
async create(params, record, headers) {
|
|
3275
|
+
const collection = 'pub.techne.draft.summary';
|
|
3276
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3277
|
+
return res.data;
|
|
3278
|
+
}
|
|
3279
|
+
async put(params, record, headers) {
|
|
3280
|
+
const collection = 'pub.techne.draft.summary';
|
|
3281
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3282
|
+
return res.data;
|
|
3283
|
+
}
|
|
3284
|
+
async delete(params, headers) {
|
|
3285
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.summary', ...params }, { headers });
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3216
3288
|
export class PubTechneDraftVerdictRecord {
|
|
3217
3289
|
_client;
|
|
3218
3290
|
constructor(client) {
|