techne-sdk 0.6.0 → 0.8.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +48 -5
  2. package/README.md +51 -1
  3. package/dist/auth/index.d.ts +2 -2
  4. package/dist/auth/index.js +5 -3
  5. package/dist/auth/placement.gen.d.ts +1 -1
  6. package/dist/auth/placement.gen.js +4 -0
  7. package/dist/catalog/catalog.gen.d.ts +2 -2
  8. package/dist/catalog/catalog.gen.js +1394 -130
  9. package/dist/generated/index.d.ts +129 -0
  10. package/dist/generated/index.js +170 -0
  11. package/dist/generated/lexicons.d.ts +954 -134
  12. package/dist/generated/lexicons.js +511 -61
  13. package/dist/generated/nsid.d.ts +16 -1
  14. package/dist/generated/nsid.js +16 -1
  15. package/dist/generated/nsid.json +16 -1
  16. package/dist/generated/records.d.ts +148 -140
  17. package/dist/generated/types/app/certified/defs.d.ts +20 -0
  18. package/dist/generated/types/app/certified/defs.js +18 -0
  19. package/dist/generated/types/app/certified/signature/defs.d.ts +29 -0
  20. package/dist/generated/types/app/certified/signature/defs.js +18 -0
  21. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts +56 -0
  22. package/dist/generated/types/org/hypercerts/funding/receipt.js +19 -0
  23. package/dist/generated/types/pub/techne/draft/financials.d.ts +26 -0
  24. package/dist/generated/types/pub/techne/draft/financials.js +12 -0
  25. package/dist/generated/types/pub/techne/draft/identity/createCollective.d.ts +5 -0
  26. package/dist/generated/types/pub/techne/draft/identity/createCollective.js +7 -0
  27. package/dist/generated/types/pub/techne/draft/identity/defs.d.ts +1 -1
  28. package/dist/generated/types/pub/techne/draft/identity/manageMethods.d.ts +4 -1
  29. package/dist/generated/types/pub/techne/draft/org.d.ts +55 -25
  30. package/dist/generated/types/pub/techne/draft/org.js +12 -5
  31. package/dist/generated/types/pub/techne/draft/orgAtPlace.d.ts +17 -0
  32. package/dist/generated/types/pub/techne/draft/orgAtPlace.js +12 -0
  33. package/dist/generated/types/pub/techne/draft/statement.d.ts +19 -0
  34. package/dist/generated/types/pub/techne/draft/statement.js +12 -0
  35. package/dist/session/dpop.d.ts +49 -0
  36. package/dist/session/dpop.js +105 -0
  37. package/dist/session/index.d.ts +22 -0
  38. package/dist/session/index.js +22 -0
  39. package/dist/session/own-session.d.ts +169 -0
  40. package/dist/session/own-session.js +364 -0
  41. package/dist/session/phone.d.ts +79 -0
  42. package/dist/session/phone.js +179 -0
  43. package/dist/session/relay.d.ts +69 -0
  44. package/dist/session/relay.js +120 -0
  45. package/dist/wasm/techne-wasm.gen.js +1 -1
  46. package/dist/wasm/techne-wasm2js.gen.js +23340 -23255
  47. package/package.json +10 -3
@@ -81,9 +81,13 @@ export declare const NSID: {
81
81
  readonly FEED_RECIPE: "pub.techne.draft.feed.recipe";
82
82
  readonly FEED_RECIPE_SEED: "pub.techne.draft.feed.recipe#seed";
83
83
  readonly FEED_RECIPE_SIGNAL_WEIGHT: "pub.techne.draft.feed.recipe#signalWeight";
84
+ readonly FINANCIALS: "pub.techne.draft.financials";
85
+ readonly FUNDING_RECEIPT: "org.hypercerts.funding.receipt";
86
+ readonly FUNDING_RECEIPT_TEXT: "org.hypercerts.funding.receipt#text";
84
87
  readonly GEO: "pub.techne.draft.geo";
85
88
  readonly HELD_AT: "pub.techne.draft.heldAt";
86
89
  readonly HELD_AT_QUERY: "pub.techne.draft.heldAt.query";
90
+ readonly HYPERCERTS_AUTHORITY: "org.hypercerts";
87
91
  readonly IDENTITY_ACCOUNTS_FOR_PHONES: "pub.techne.draft.identity.accountsForPhones";
88
92
  readonly IDENTITY_ACCOUNTS_FOR_PHONES_ACCOUNT: "pub.techne.draft.identity.accountsForPhones#account";
89
93
  readonly IDENTITY_ATTEST: "pub.techne.draft.identity.attest";
@@ -152,7 +156,9 @@ export declare const NSID: {
152
156
  readonly OPERATOR: "pub.techne.draft.operator";
153
157
  readonly OPERATOR_QUERY: "pub.techne.draft.operator.query";
154
158
  readonly ORG: "pub.techne.draft.org";
155
- readonly ORG_SCHEME_TAG: "pub.techne.draft.org#schemeTag";
159
+ readonly ORG_AT_PLACE: "pub.techne.draft.orgAtPlace";
160
+ readonly ORG_FIELDS: "pub.techne.draft.org#fields";
161
+ readonly ORG_SCHEME_VALUE: "pub.techne.draft.org#schemeValue";
156
162
  readonly PASSAGE: "pub.techne.draft.passage";
157
163
  readonly PENDING_BEACON_SPOT: "pub.techne.draft.pendingBeaconSpot";
158
164
  readonly PERMISSIONED_DELETE_RECORD: "pub.techne.draft.permissioned.deleteRecord";
@@ -282,6 +288,7 @@ export declare const NSID: {
282
288
  readonly SPACE_PRIVATE_POLICY: "pub.techne.draft.space.private.policy";
283
289
  readonly SPACE_SOURCE: "pub.techne.draft.space.source";
284
290
  readonly SPACE_SOURCE_POLICY: "pub.techne.draft.space.source.policy";
291
+ readonly STATEMENT: "pub.techne.draft.statement";
285
292
  readonly SUBJECT_PREFS: "pub.techne.draft.subjectPrefs";
286
293
  readonly SUMMARY: "pub.techne.draft.summary";
287
294
  readonly SYNC_INDEX_RECORD: "pub.techne.draft.sync.indexRecord";
@@ -303,6 +310,8 @@ export declare const METHOD: {
303
310
  readonly ADD_GROUP_MEMBERS_PHONE_MEMBER: "social.scenius.addGroupMembers#phoneMember";
304
311
  readonly ADD_PERSON: "social.scenius.addPerson";
305
312
  readonly ADOPT_EVENT: "social.scenius.adoptEvent";
313
+ readonly ADOPT_HELD_SESSION: "social.scenius.adoptHeldSession";
314
+ readonly ADOPT_HELD_SESSION_HELD_SESSION: "social.scenius.adoptHeldSession#heldSession";
306
315
  readonly APPROVE_APP_ACCESS: "social.scenius.approveAppAccess";
307
316
  readonly ASK: "social.scenius.ask";
308
317
  readonly ASK_CHOICE: "social.scenius.ask#choice";
@@ -355,6 +364,8 @@ export declare const METHOD: {
355
364
  readonly FINISH_PASSKEY_SIGNUP: "social.scenius.finishPasskeySignup";
356
365
  readonly FINISH_PHONE_SIGNUP: "social.scenius.finishPhoneSignup";
357
366
  readonly FINISH_PHONE_SIGNUP_DEVICE: "social.scenius.finishPhoneSignup#device";
367
+ readonly FINISH_PHONE_SIGNUP_OWN_FINISH: "social.scenius.finishPhoneSignup#ownFinish";
368
+ readonly FINISH_PHONE_SIGNUP_OWN_SESSION: "social.scenius.finishPhoneSignup#ownSession";
358
369
  readonly GET_APP_ACCESS: "social.scenius.getAppAccess";
359
370
  readonly GET_APP_CONFIG: "social.scenius.getAppConfig";
360
371
  readonly GET_ATTENTION_PRESET: "social.scenius.getAttentionPreset";
@@ -505,6 +516,7 @@ export declare const METHOD: {
505
516
  readonly RECORD_BEACON_ANALYTICS_EVENTS_EVENT: "social.scenius.recordBeaconAnalyticsEvents#event";
506
517
  readonly RECORD_TENDING: "social.scenius.recordTending";
507
518
  readonly REDEEM_CONTACT_INVITE: "social.scenius.redeemContactInvite";
519
+ readonly REFRESH_OWN_SESSION: "social.scenius.refreshOwnSession";
508
520
  readonly REGISTER_DEVICE_PUSH: "social.scenius.registerDevicePush";
509
521
  readonly REGISTER_WEB_PUSH: "social.scenius.registerWebPush";
510
522
  readonly REMOVE_CONTENT: "social.scenius.removeContent";
@@ -526,6 +538,7 @@ export declare const METHOD: {
526
538
  readonly REVOKE_CONTACT_INVITE: "social.scenius.revokeContactInvite";
527
539
  readonly REVOKE_EVENT_INVITE: "social.scenius.revokeEventInvite";
528
540
  readonly REVOKE_MEMBERSHIP: "social.scenius.revokeMembership";
541
+ readonly REVOKE_OWN_SESSION: "social.scenius.revokeOwnSession";
529
542
  readonly REWRITE_CUSTODIAL_NSIDS: "social.scenius.rewriteCustodialNsids";
530
543
  readonly REWRITE_CUSTODIAL_NSIDS_OUTCOME: "social.scenius.rewriteCustodialNsids#outcome";
531
544
  readonly RSVP: "social.scenius.rsvp";
@@ -548,6 +561,8 @@ export declare const METHOD: {
548
561
  readonly SIGN_OUT_DEVICE: "social.scenius.signOutDevice";
549
562
  readonly START_ACCOUNT_DELETION: "social.scenius.startAccountDeletion";
550
563
  readonly START_PHONE_SIGNUP: "social.scenius.startPhoneSignup";
564
+ readonly START_PHONE_SIGNUP_OWN_START: "social.scenius.startPhoneSignup#ownStart";
565
+ readonly START_PHONE_SIGNUP_OWN_START_ANSWER: "social.scenius.startPhoneSignup#ownStartAnswer";
551
566
  readonly SUBMIT_WEEKLY_CHECK_IN: "social.scenius.submitWeeklyCheckIn";
552
567
  readonly SUGGEST_EVENT_SOURCE: "social.scenius.suggestEventSource";
553
568
  readonly SUSPEND_USER: "social.scenius.suspendUser";
@@ -85,9 +85,13 @@ export const NSID = {
85
85
  FEED_RECIPE: 'pub.techne.draft.feed.recipe',
86
86
  FEED_RECIPE_SEED: 'pub.techne.draft.feed.recipe#seed',
87
87
  FEED_RECIPE_SIGNAL_WEIGHT: 'pub.techne.draft.feed.recipe#signalWeight',
88
+ FINANCIALS: 'pub.techne.draft.financials',
89
+ FUNDING_RECEIPT: 'org.hypercerts.funding.receipt',
90
+ FUNDING_RECEIPT_TEXT: 'org.hypercerts.funding.receipt#text',
88
91
  GEO: 'pub.techne.draft.geo',
89
92
  HELD_AT: 'pub.techne.draft.heldAt',
90
93
  HELD_AT_QUERY: 'pub.techne.draft.heldAt.query',
94
+ HYPERCERTS_AUTHORITY: 'org.hypercerts',
91
95
  IDENTITY_ACCOUNTS_FOR_PHONES: 'pub.techne.draft.identity.accountsForPhones',
92
96
  IDENTITY_ACCOUNTS_FOR_PHONES_ACCOUNT: 'pub.techne.draft.identity.accountsForPhones#account',
93
97
  IDENTITY_ATTEST: 'pub.techne.draft.identity.attest',
@@ -156,7 +160,9 @@ export const NSID = {
156
160
  OPERATOR: 'pub.techne.draft.operator',
157
161
  OPERATOR_QUERY: 'pub.techne.draft.operator.query',
158
162
  ORG: 'pub.techne.draft.org',
159
- ORG_SCHEME_TAG: 'pub.techne.draft.org#schemeTag',
163
+ ORG_AT_PLACE: 'pub.techne.draft.orgAtPlace',
164
+ ORG_FIELDS: 'pub.techne.draft.org#fields',
165
+ ORG_SCHEME_VALUE: 'pub.techne.draft.org#schemeValue',
160
166
  PASSAGE: 'pub.techne.draft.passage',
161
167
  PENDING_BEACON_SPOT: 'pub.techne.draft.pendingBeaconSpot',
162
168
  PERMISSIONED_DELETE_RECORD: 'pub.techne.draft.permissioned.deleteRecord',
@@ -286,6 +292,7 @@ export const NSID = {
286
292
  SPACE_PRIVATE_POLICY: 'pub.techne.draft.space.private.policy',
287
293
  SPACE_SOURCE: 'pub.techne.draft.space.source',
288
294
  SPACE_SOURCE_POLICY: 'pub.techne.draft.space.source.policy',
295
+ STATEMENT: 'pub.techne.draft.statement',
289
296
  SUBJECT_PREFS: 'pub.techne.draft.subjectPrefs',
290
297
  SUMMARY: 'pub.techne.draft.summary',
291
298
  SYNC_INDEX_RECORD: 'pub.techne.draft.sync.indexRecord',
@@ -307,6 +314,8 @@ export const METHOD = {
307
314
  ADD_GROUP_MEMBERS_PHONE_MEMBER: 'social.scenius.addGroupMembers#phoneMember',
308
315
  ADD_PERSON: 'social.scenius.addPerson',
309
316
  ADOPT_EVENT: 'social.scenius.adoptEvent',
317
+ ADOPT_HELD_SESSION: 'social.scenius.adoptHeldSession',
318
+ ADOPT_HELD_SESSION_HELD_SESSION: 'social.scenius.adoptHeldSession#heldSession',
310
319
  APPROVE_APP_ACCESS: 'social.scenius.approveAppAccess',
311
320
  ASK: 'social.scenius.ask',
312
321
  ASK_CHOICE: 'social.scenius.ask#choice',
@@ -359,6 +368,8 @@ export const METHOD = {
359
368
  FINISH_PASSKEY_SIGNUP: 'social.scenius.finishPasskeySignup',
360
369
  FINISH_PHONE_SIGNUP: 'social.scenius.finishPhoneSignup',
361
370
  FINISH_PHONE_SIGNUP_DEVICE: 'social.scenius.finishPhoneSignup#device',
371
+ FINISH_PHONE_SIGNUP_OWN_FINISH: 'social.scenius.finishPhoneSignup#ownFinish',
372
+ FINISH_PHONE_SIGNUP_OWN_SESSION: 'social.scenius.finishPhoneSignup#ownSession',
362
373
  GET_APP_ACCESS: 'social.scenius.getAppAccess',
363
374
  GET_APP_CONFIG: 'social.scenius.getAppConfig',
364
375
  GET_ATTENTION_PRESET: 'social.scenius.getAttentionPreset',
@@ -509,6 +520,7 @@ export const METHOD = {
509
520
  RECORD_BEACON_ANALYTICS_EVENTS_EVENT: 'social.scenius.recordBeaconAnalyticsEvents#event',
510
521
  RECORD_TENDING: 'social.scenius.recordTending',
511
522
  REDEEM_CONTACT_INVITE: 'social.scenius.redeemContactInvite',
523
+ REFRESH_OWN_SESSION: 'social.scenius.refreshOwnSession',
512
524
  REGISTER_DEVICE_PUSH: 'social.scenius.registerDevicePush',
513
525
  REGISTER_WEB_PUSH: 'social.scenius.registerWebPush',
514
526
  REMOVE_CONTENT: 'social.scenius.removeContent',
@@ -530,6 +542,7 @@ export const METHOD = {
530
542
  REVOKE_CONTACT_INVITE: 'social.scenius.revokeContactInvite',
531
543
  REVOKE_EVENT_INVITE: 'social.scenius.revokeEventInvite',
532
544
  REVOKE_MEMBERSHIP: 'social.scenius.revokeMembership',
545
+ REVOKE_OWN_SESSION: 'social.scenius.revokeOwnSession',
533
546
  REWRITE_CUSTODIAL_NSIDS: 'social.scenius.rewriteCustodialNsids',
534
547
  REWRITE_CUSTODIAL_NSIDS_OUTCOME: 'social.scenius.rewriteCustodialNsids#outcome',
535
548
  RSVP: 'social.scenius.rsvp',
@@ -552,6 +565,8 @@ export const METHOD = {
552
565
  SIGN_OUT_DEVICE: 'social.scenius.signOutDevice',
553
566
  START_ACCOUNT_DELETION: 'social.scenius.startAccountDeletion',
554
567
  START_PHONE_SIGNUP: 'social.scenius.startPhoneSignup',
568
+ START_PHONE_SIGNUP_OWN_START: 'social.scenius.startPhoneSignup#ownStart',
569
+ START_PHONE_SIGNUP_OWN_START_ANSWER: 'social.scenius.startPhoneSignup#ownStartAnswer',
555
570
  SUBMIT_WEEKLY_CHECK_IN: 'social.scenius.submitWeeklyCheckIn',
556
571
  SUGGEST_EVENT_SOURCE: 'social.scenius.suggestEventSource',
557
572
  SUSPEND_USER: 'social.scenius.suspendUser',
@@ -81,9 +81,13 @@
81
81
  "FEED_RECIPE": "pub.techne.draft.feed.recipe",
82
82
  "FEED_RECIPE_SEED": "pub.techne.draft.feed.recipe#seed",
83
83
  "FEED_RECIPE_SIGNAL_WEIGHT": "pub.techne.draft.feed.recipe#signalWeight",
84
+ "FINANCIALS": "pub.techne.draft.financials",
85
+ "FUNDING_RECEIPT": "org.hypercerts.funding.receipt",
86
+ "FUNDING_RECEIPT_TEXT": "org.hypercerts.funding.receipt#text",
84
87
  "GEO": "pub.techne.draft.geo",
85
88
  "HELD_AT": "pub.techne.draft.heldAt",
86
89
  "HELD_AT_QUERY": "pub.techne.draft.heldAt.query",
90
+ "HYPERCERTS_AUTHORITY": "org.hypercerts",
87
91
  "IDENTITY_ACCOUNTS_FOR_PHONES": "pub.techne.draft.identity.accountsForPhones",
88
92
  "IDENTITY_ACCOUNTS_FOR_PHONES_ACCOUNT": "pub.techne.draft.identity.accountsForPhones#account",
89
93
  "IDENTITY_ATTEST": "pub.techne.draft.identity.attest",
@@ -152,7 +156,9 @@
152
156
  "OPERATOR": "pub.techne.draft.operator",
153
157
  "OPERATOR_QUERY": "pub.techne.draft.operator.query",
154
158
  "ORG": "pub.techne.draft.org",
155
- "ORG_SCHEME_TAG": "pub.techne.draft.org#schemeTag",
159
+ "ORG_AT_PLACE": "pub.techne.draft.orgAtPlace",
160
+ "ORG_FIELDS": "pub.techne.draft.org#fields",
161
+ "ORG_SCHEME_VALUE": "pub.techne.draft.org#schemeValue",
156
162
  "PASSAGE": "pub.techne.draft.passage",
157
163
  "PENDING_BEACON_SPOT": "pub.techne.draft.pendingBeaconSpot",
158
164
  "PERMISSIONED_DELETE_RECORD": "pub.techne.draft.permissioned.deleteRecord",
@@ -282,6 +288,7 @@
282
288
  "SPACE_PRIVATE_POLICY": "pub.techne.draft.space.private.policy",
283
289
  "SPACE_SOURCE": "pub.techne.draft.space.source",
284
290
  "SPACE_SOURCE_POLICY": "pub.techne.draft.space.source.policy",
291
+ "STATEMENT": "pub.techne.draft.statement",
285
292
  "SUBJECT_PREFS": "pub.techne.draft.subjectPrefs",
286
293
  "SUMMARY": "pub.techne.draft.summary",
287
294
  "SYNC_INDEX_RECORD": "pub.techne.draft.sync.indexRecord",
@@ -302,6 +309,8 @@
302
309
  "ADD_GROUP_MEMBERS_PHONE_MEMBER": "social.scenius.addGroupMembers#phoneMember",
303
310
  "ADD_PERSON": "social.scenius.addPerson",
304
311
  "ADOPT_EVENT": "social.scenius.adoptEvent",
312
+ "ADOPT_HELD_SESSION": "social.scenius.adoptHeldSession",
313
+ "ADOPT_HELD_SESSION_HELD_SESSION": "social.scenius.adoptHeldSession#heldSession",
305
314
  "APPROVE_APP_ACCESS": "social.scenius.approveAppAccess",
306
315
  "ASK": "social.scenius.ask",
307
316
  "ASK_CHOICE": "social.scenius.ask#choice",
@@ -354,6 +363,8 @@
354
363
  "FINISH_PASSKEY_SIGNUP": "social.scenius.finishPasskeySignup",
355
364
  "FINISH_PHONE_SIGNUP": "social.scenius.finishPhoneSignup",
356
365
  "FINISH_PHONE_SIGNUP_DEVICE": "social.scenius.finishPhoneSignup#device",
366
+ "FINISH_PHONE_SIGNUP_OWN_FINISH": "social.scenius.finishPhoneSignup#ownFinish",
367
+ "FINISH_PHONE_SIGNUP_OWN_SESSION": "social.scenius.finishPhoneSignup#ownSession",
357
368
  "GET_APP_ACCESS": "social.scenius.getAppAccess",
358
369
  "GET_APP_CONFIG": "social.scenius.getAppConfig",
359
370
  "GET_ATTENTION_PRESET": "social.scenius.getAttentionPreset",
@@ -504,6 +515,7 @@
504
515
  "RECORD_BEACON_ANALYTICS_EVENTS_EVENT": "social.scenius.recordBeaconAnalyticsEvents#event",
505
516
  "RECORD_TENDING": "social.scenius.recordTending",
506
517
  "REDEEM_CONTACT_INVITE": "social.scenius.redeemContactInvite",
518
+ "REFRESH_OWN_SESSION": "social.scenius.refreshOwnSession",
507
519
  "REGISTER_DEVICE_PUSH": "social.scenius.registerDevicePush",
508
520
  "REGISTER_WEB_PUSH": "social.scenius.registerWebPush",
509
521
  "REMOVE_CONTENT": "social.scenius.removeContent",
@@ -525,6 +537,7 @@
525
537
  "REVOKE_CONTACT_INVITE": "social.scenius.revokeContactInvite",
526
538
  "REVOKE_EVENT_INVITE": "social.scenius.revokeEventInvite",
527
539
  "REVOKE_MEMBERSHIP": "social.scenius.revokeMembership",
540
+ "REVOKE_OWN_SESSION": "social.scenius.revokeOwnSession",
528
541
  "REWRITE_CUSTODIAL_NSIDS": "social.scenius.rewriteCustodialNsids",
529
542
  "REWRITE_CUSTODIAL_NSIDS_OUTCOME": "social.scenius.rewriteCustodialNsids#outcome",
530
543
  "RSVP": "social.scenius.rsvp",
@@ -547,6 +560,8 @@
547
560
  "SIGN_OUT_DEVICE": "social.scenius.signOutDevice",
548
561
  "START_ACCOUNT_DELETION": "social.scenius.startAccountDeletion",
549
562
  "START_PHONE_SIGNUP": "social.scenius.startPhoneSignup",
563
+ "START_PHONE_SIGNUP_OWN_START": "social.scenius.startPhoneSignup#ownStart",
564
+ "START_PHONE_SIGNUP_OWN_START_ANSWER": "social.scenius.startPhoneSignup#ownStartAnswer",
550
565
  "SUBMIT_WEEKLY_CHECK_IN": "social.scenius.submitWeeklyCheckIn",
551
566
  "SUGGEST_EVENT_SOURCE": "social.scenius.suggestEventSource",
552
567
  "SUSPEND_USER": "social.scenius.suspendUser",
@@ -1,149 +1,157 @@
1
1
  import type * as R0 from './types/community/lexicon/calendar/event.js';
2
2
  import type * as R1 from './types/community/lexicon/calendar/rsvp.js';
3
- import type * as R2 from './types/pub/techne/draft/accessRule.js';
4
- import type * as R3 from './types/pub/techne/draft/accountLink.js';
5
- import type * as R4 from './types/pub/techne/draft/actor/profile.js';
6
- import type * as R5 from './types/pub/techne/draft/appAccess.js';
7
- import type * as R6 from './types/pub/techne/draft/appAccessRequest.js';
8
- import type * as R7 from './types/pub/techne/draft/appConfig.js';
9
- import type * as R8 from './types/pub/techne/draft/approval.js';
10
- import type * as R9 from './types/pub/techne/draft/assessment.js';
11
- import type * as R10 from './types/pub/techne/draft/attentionPrefs.js';
12
- import type * as R11 from './types/pub/techne/draft/beacon.js';
13
- import type * as R12 from './types/pub/techne/draft/beaconLists.js';
14
- import type * as R13 from './types/pub/techne/draft/beaconSpot.js';
15
- import type * as R14 from './types/pub/techne/draft/block.js';
16
- import type * as R15 from './types/pub/techne/draft/channelVerification.js';
17
- import type * as R16 from './types/pub/techne/draft/circleBeacon.js';
18
- import type * as R17 from './types/pub/techne/draft/collective.js';
19
- import type * as R18 from './types/pub/techne/draft/connection.js';
20
- import type * as R19 from './types/pub/techne/draft/contact.js';
21
- import type * as R20 from './types/pub/techne/draft/contactChannel.js';
22
- import type * as R21 from './types/pub/techne/draft/contactList.js';
23
- import type * as R22 from './types/pub/techne/draft/containedIn.js';
24
- import type * as R23 from './types/pub/techne/draft/credential.js';
25
- import type * as R24 from './types/pub/techne/draft/credentialRevocation.js';
26
- import type * as R25 from './types/pub/techne/draft/derivation.js';
27
- import type * as R26 from './types/pub/techne/draft/description.js';
28
- import type * as R27 from './types/pub/techne/draft/distinctFrom.js';
29
- import type * as R28 from './types/pub/techne/draft/evaluation.js';
30
- import type * as R29 from './types/pub/techne/draft/event/config.js';
31
- import type * as R30 from './types/pub/techne/draft/event/detail.js';
32
- import type * as R31 from './types/pub/techne/draft/event/listing.js';
33
- import type * as R32 from './types/pub/techne/draft/feed/recipe.js';
34
- import type * as R33 from './types/pub/techne/draft/geo.js';
35
- import type * as R34 from './types/pub/techne/draft/heldAt.js';
36
- import type * as R35 from './types/pub/techne/draft/identity/linkRedemption.js';
37
- import type * as R36 from './types/pub/techne/draft/interest.js';
38
- import type * as R37 from './types/pub/techne/draft/introProposal.js';
39
- import type * as R38 from './types/pub/techne/draft/invite.js';
40
- import type * as R39 from './types/pub/techne/draft/market/ask.js';
41
- import type * as R40 from './types/pub/techne/draft/market/offer.js';
42
- import type * as R41 from './types/pub/techne/draft/membership.js';
43
- import type * as R42 from './types/pub/techne/draft/notificationState.js';
44
- import type * as R43 from './types/pub/techne/draft/operator.js';
45
- import type * as R44 from './types/pub/techne/draft/org.js';
46
- import type * as R45 from './types/pub/techne/draft/passage.js';
47
- import type * as R46 from './types/pub/techne/draft/pendingBeaconSpot.js';
48
- import type * as R47 from './types/pub/techne/draft/place.js';
49
- import type * as R48 from './types/pub/techne/draft/placeResearch.js';
50
- import type * as R49 from './types/pub/techne/draft/post.js';
51
- import type * as R50 from './types/pub/techne/draft/presence.js';
52
- import type * as R51 from './types/pub/techne/draft/profile.js';
53
- import type * as R52 from './types/pub/techne/draft/provenance.js';
54
- import type * as R53 from './types/pub/techne/draft/publisher.js';
55
- import type * as R54 from './types/pub/techne/draft/questionSet.js';
56
- import type * as R55 from './types/pub/techne/draft/receipt.js';
57
- import type * as R56 from './types/pub/techne/draft/reflection.js';
58
- import type * as R57 from './types/pub/techne/draft/registry/typeRequest.js';
59
- import type * as R58 from './types/pub/techne/draft/retirement.js';
60
- import type * as R59 from './types/pub/techne/draft/rsvpNote.js';
61
- import type * as R60 from './types/pub/techne/draft/sameAs.js';
62
- import type * as R61 from './types/pub/techne/draft/scraper/cursor.js';
63
- import type * as R62 from './types/pub/techne/draft/scraper/raw.js';
64
- import type * as R63 from './types/pub/techne/draft/share.js';
65
- import type * as R64 from './types/pub/techne/draft/source.js';
66
- import type * as R65 from './types/pub/techne/draft/sourceAttribution.js';
67
- import type * as R66 from './types/pub/techne/draft/sourceRef.js';
68
- import type * as R67 from './types/pub/techne/draft/subjectPrefs.js';
69
- import type * as R68 from './types/pub/techne/draft/summary.js';
70
- import type * as R69 from './types/pub/techne/draft/verdict.js';
71
- import type * as R70 from './types/pub/techne/draft/verification.js';
72
- import type * as R71 from './types/pub/techne/draft/weeklyCheckIn.js';
3
+ import type * as R2 from './types/org/hypercerts/funding/receipt.js';
4
+ import type * as R3 from './types/pub/techne/draft/accessRule.js';
5
+ import type * as R4 from './types/pub/techne/draft/accountLink.js';
6
+ import type * as R5 from './types/pub/techne/draft/actor/profile.js';
7
+ import type * as R6 from './types/pub/techne/draft/appAccess.js';
8
+ import type * as R7 from './types/pub/techne/draft/appAccessRequest.js';
9
+ import type * as R8 from './types/pub/techne/draft/appConfig.js';
10
+ import type * as R9 from './types/pub/techne/draft/approval.js';
11
+ import type * as R10 from './types/pub/techne/draft/assessment.js';
12
+ import type * as R11 from './types/pub/techne/draft/attentionPrefs.js';
13
+ import type * as R12 from './types/pub/techne/draft/beacon.js';
14
+ import type * as R13 from './types/pub/techne/draft/beaconLists.js';
15
+ import type * as R14 from './types/pub/techne/draft/beaconSpot.js';
16
+ import type * as R15 from './types/pub/techne/draft/block.js';
17
+ import type * as R16 from './types/pub/techne/draft/channelVerification.js';
18
+ import type * as R17 from './types/pub/techne/draft/circleBeacon.js';
19
+ import type * as R18 from './types/pub/techne/draft/collective.js';
20
+ import type * as R19 from './types/pub/techne/draft/connection.js';
21
+ import type * as R20 from './types/pub/techne/draft/contact.js';
22
+ import type * as R21 from './types/pub/techne/draft/contactChannel.js';
23
+ import type * as R22 from './types/pub/techne/draft/contactList.js';
24
+ import type * as R23 from './types/pub/techne/draft/containedIn.js';
25
+ import type * as R24 from './types/pub/techne/draft/credential.js';
26
+ import type * as R25 from './types/pub/techne/draft/credentialRevocation.js';
27
+ import type * as R26 from './types/pub/techne/draft/derivation.js';
28
+ import type * as R27 from './types/pub/techne/draft/description.js';
29
+ import type * as R28 from './types/pub/techne/draft/distinctFrom.js';
30
+ import type * as R29 from './types/pub/techne/draft/evaluation.js';
31
+ import type * as R30 from './types/pub/techne/draft/event/config.js';
32
+ import type * as R31 from './types/pub/techne/draft/event/detail.js';
33
+ import type * as R32 from './types/pub/techne/draft/event/listing.js';
34
+ import type * as R33 from './types/pub/techne/draft/feed/recipe.js';
35
+ import type * as R34 from './types/pub/techne/draft/financials.js';
36
+ import type * as R35 from './types/pub/techne/draft/geo.js';
37
+ import type * as R36 from './types/pub/techne/draft/heldAt.js';
38
+ import type * as R37 from './types/pub/techne/draft/identity/linkRedemption.js';
39
+ import type * as R38 from './types/pub/techne/draft/interest.js';
40
+ import type * as R39 from './types/pub/techne/draft/introProposal.js';
41
+ import type * as R40 from './types/pub/techne/draft/invite.js';
42
+ import type * as R41 from './types/pub/techne/draft/market/ask.js';
43
+ import type * as R42 from './types/pub/techne/draft/market/offer.js';
44
+ import type * as R43 from './types/pub/techne/draft/membership.js';
45
+ import type * as R44 from './types/pub/techne/draft/notificationState.js';
46
+ import type * as R45 from './types/pub/techne/draft/operator.js';
47
+ import type * as R46 from './types/pub/techne/draft/org.js';
48
+ import type * as R47 from './types/pub/techne/draft/orgAtPlace.js';
49
+ import type * as R48 from './types/pub/techne/draft/passage.js';
50
+ import type * as R49 from './types/pub/techne/draft/pendingBeaconSpot.js';
51
+ import type * as R50 from './types/pub/techne/draft/place.js';
52
+ import type * as R51 from './types/pub/techne/draft/placeResearch.js';
53
+ import type * as R52 from './types/pub/techne/draft/post.js';
54
+ import type * as R53 from './types/pub/techne/draft/presence.js';
55
+ import type * as R54 from './types/pub/techne/draft/profile.js';
56
+ import type * as R55 from './types/pub/techne/draft/provenance.js';
57
+ import type * as R56 from './types/pub/techne/draft/publisher.js';
58
+ import type * as R57 from './types/pub/techne/draft/questionSet.js';
59
+ import type * as R58 from './types/pub/techne/draft/receipt.js';
60
+ import type * as R59 from './types/pub/techne/draft/reflection.js';
61
+ import type * as R60 from './types/pub/techne/draft/registry/typeRequest.js';
62
+ import type * as R61 from './types/pub/techne/draft/retirement.js';
63
+ import type * as R62 from './types/pub/techne/draft/rsvpNote.js';
64
+ import type * as R63 from './types/pub/techne/draft/sameAs.js';
65
+ import type * as R64 from './types/pub/techne/draft/scraper/cursor.js';
66
+ import type * as R65 from './types/pub/techne/draft/scraper/raw.js';
67
+ import type * as R66 from './types/pub/techne/draft/share.js';
68
+ import type * as R67 from './types/pub/techne/draft/source.js';
69
+ import type * as R68 from './types/pub/techne/draft/sourceAttribution.js';
70
+ import type * as R69 from './types/pub/techne/draft/sourceRef.js';
71
+ import type * as R70 from './types/pub/techne/draft/statement.js';
72
+ import type * as R71 from './types/pub/techne/draft/subjectPrefs.js';
73
+ import type * as R72 from './types/pub/techne/draft/summary.js';
74
+ import type * as R73 from './types/pub/techne/draft/verdict.js';
75
+ import type * as R74 from './types/pub/techne/draft/verification.js';
76
+ import type * as R75 from './types/pub/techne/draft/weeklyCheckIn.js';
73
77
  /** Every record type the lexicons define, by collection. */
74
78
  export interface Records {
75
79
  'community.lexicon.calendar.event': R0.Record;
76
80
  'community.lexicon.calendar.rsvp': R1.Record;
77
- 'pub.techne.draft.accessRule': R2.Record;
78
- 'pub.techne.draft.accountLink': R3.Record;
79
- 'pub.techne.draft.actor.profile': R4.Record;
80
- 'pub.techne.draft.appAccess': R5.Record;
81
- 'pub.techne.draft.appAccessRequest': R6.Record;
82
- 'pub.techne.draft.appConfig': R7.Record;
83
- 'pub.techne.draft.approval': R8.Record;
84
- 'pub.techne.draft.assessment': R9.Record;
85
- 'pub.techne.draft.attentionPrefs': R10.Record;
86
- 'pub.techne.draft.beacon': R11.Record;
87
- 'pub.techne.draft.beaconLists': R12.Record;
88
- 'pub.techne.draft.beaconSpot': R13.Record;
89
- 'pub.techne.draft.block': R14.Record;
90
- 'pub.techne.draft.channelVerification': R15.Record;
91
- 'pub.techne.draft.circleBeacon': R16.Record;
92
- 'pub.techne.draft.collective': R17.Record;
93
- 'pub.techne.draft.connection': R18.Record;
94
- 'pub.techne.draft.contact': R19.Record;
95
- 'pub.techne.draft.contactChannel': R20.Record;
96
- 'pub.techne.draft.contactList': R21.Record;
97
- 'pub.techne.draft.containedIn': R22.Record;
98
- 'pub.techne.draft.credential': R23.Record;
99
- 'pub.techne.draft.credentialRevocation': R24.Record;
100
- 'pub.techne.draft.derivation': R25.Record;
101
- 'pub.techne.draft.description': R26.Record;
102
- 'pub.techne.draft.distinctFrom': R27.Record;
103
- 'pub.techne.draft.evaluation': R28.Record;
104
- 'pub.techne.draft.event.config': R29.Record;
105
- 'pub.techne.draft.event.detail': R30.Record;
106
- 'pub.techne.draft.event.listing': R31.Record;
107
- 'pub.techne.draft.feed.recipe': R32.Record;
108
- 'pub.techne.draft.geo': R33.Record;
109
- 'pub.techne.draft.heldAt': R34.Record;
110
- 'pub.techne.draft.identity.linkRedemption': R35.Record;
111
- 'pub.techne.draft.interest': R36.Record;
112
- 'pub.techne.draft.introProposal': R37.Record;
113
- 'pub.techne.draft.invite': R38.Record;
114
- 'pub.techne.draft.market.ask': R39.Record;
115
- 'pub.techne.draft.market.offer': R40.Record;
116
- 'pub.techne.draft.membership': R41.Record;
117
- 'pub.techne.draft.notificationState': R42.Record;
118
- 'pub.techne.draft.operator': R43.Record;
119
- 'pub.techne.draft.org': R44.Record;
120
- 'pub.techne.draft.passage': R45.Record;
121
- 'pub.techne.draft.pendingBeaconSpot': R46.Record;
122
- 'pub.techne.draft.place': R47.Record;
123
- 'pub.techne.draft.placeResearch': R48.Record;
124
- 'pub.techne.draft.post': R49.Record;
125
- 'pub.techne.draft.presence': R50.Record;
126
- 'pub.techne.draft.profile': R51.Record;
127
- 'pub.techne.draft.provenance': R52.Record;
128
- 'pub.techne.draft.publisher': R53.Record;
129
- 'pub.techne.draft.questionSet': R54.Record;
130
- 'pub.techne.draft.receipt': R55.Record;
131
- 'pub.techne.draft.reflection': R56.Record;
132
- 'pub.techne.draft.registry.typeRequest': R57.Record;
133
- 'pub.techne.draft.retirement': R58.Record;
134
- 'pub.techne.draft.rsvpNote': R59.Record;
135
- 'pub.techne.draft.sameAs': R60.Record;
136
- 'pub.techne.draft.scraper.cursor': R61.Record;
137
- 'pub.techne.draft.scraper.raw': R62.Record;
138
- 'pub.techne.draft.share': R63.Record;
139
- 'pub.techne.draft.source': R64.Record;
140
- 'pub.techne.draft.sourceAttribution': R65.Record;
141
- 'pub.techne.draft.sourceRef': R66.Record;
142
- 'pub.techne.draft.subjectPrefs': R67.Record;
143
- 'pub.techne.draft.summary': R68.Record;
144
- 'pub.techne.draft.verdict': R69.Record;
145
- 'pub.techne.draft.verification': R70.Record;
146
- 'pub.techne.draft.weeklyCheckIn': R71.Record;
81
+ 'org.hypercerts.funding.receipt': R2.Record;
82
+ 'pub.techne.draft.accessRule': R3.Record;
83
+ 'pub.techne.draft.accountLink': R4.Record;
84
+ 'pub.techne.draft.actor.profile': R5.Record;
85
+ 'pub.techne.draft.appAccess': R6.Record;
86
+ 'pub.techne.draft.appAccessRequest': R7.Record;
87
+ 'pub.techne.draft.appConfig': R8.Record;
88
+ 'pub.techne.draft.approval': R9.Record;
89
+ 'pub.techne.draft.assessment': R10.Record;
90
+ 'pub.techne.draft.attentionPrefs': R11.Record;
91
+ 'pub.techne.draft.beacon': R12.Record;
92
+ 'pub.techne.draft.beaconLists': R13.Record;
93
+ 'pub.techne.draft.beaconSpot': R14.Record;
94
+ 'pub.techne.draft.block': R15.Record;
95
+ 'pub.techne.draft.channelVerification': R16.Record;
96
+ 'pub.techne.draft.circleBeacon': R17.Record;
97
+ 'pub.techne.draft.collective': R18.Record;
98
+ 'pub.techne.draft.connection': R19.Record;
99
+ 'pub.techne.draft.contact': R20.Record;
100
+ 'pub.techne.draft.contactChannel': R21.Record;
101
+ 'pub.techne.draft.contactList': R22.Record;
102
+ 'pub.techne.draft.containedIn': R23.Record;
103
+ 'pub.techne.draft.credential': R24.Record;
104
+ 'pub.techne.draft.credentialRevocation': R25.Record;
105
+ 'pub.techne.draft.derivation': R26.Record;
106
+ 'pub.techne.draft.description': R27.Record;
107
+ 'pub.techne.draft.distinctFrom': R28.Record;
108
+ 'pub.techne.draft.evaluation': R29.Record;
109
+ 'pub.techne.draft.event.config': R30.Record;
110
+ 'pub.techne.draft.event.detail': R31.Record;
111
+ 'pub.techne.draft.event.listing': R32.Record;
112
+ 'pub.techne.draft.feed.recipe': R33.Record;
113
+ 'pub.techne.draft.financials': R34.Record;
114
+ 'pub.techne.draft.geo': R35.Record;
115
+ 'pub.techne.draft.heldAt': R36.Record;
116
+ 'pub.techne.draft.identity.linkRedemption': R37.Record;
117
+ 'pub.techne.draft.interest': R38.Record;
118
+ 'pub.techne.draft.introProposal': R39.Record;
119
+ 'pub.techne.draft.invite': R40.Record;
120
+ 'pub.techne.draft.market.ask': R41.Record;
121
+ 'pub.techne.draft.market.offer': R42.Record;
122
+ 'pub.techne.draft.membership': R43.Record;
123
+ 'pub.techne.draft.notificationState': R44.Record;
124
+ 'pub.techne.draft.operator': R45.Record;
125
+ 'pub.techne.draft.org': R46.Record;
126
+ 'pub.techne.draft.orgAtPlace': R47.Record;
127
+ 'pub.techne.draft.passage': R48.Record;
128
+ 'pub.techne.draft.pendingBeaconSpot': R49.Record;
129
+ 'pub.techne.draft.place': R50.Record;
130
+ 'pub.techne.draft.placeResearch': R51.Record;
131
+ 'pub.techne.draft.post': R52.Record;
132
+ 'pub.techne.draft.presence': R53.Record;
133
+ 'pub.techne.draft.profile': R54.Record;
134
+ 'pub.techne.draft.provenance': R55.Record;
135
+ 'pub.techne.draft.publisher': R56.Record;
136
+ 'pub.techne.draft.questionSet': R57.Record;
137
+ 'pub.techne.draft.receipt': R58.Record;
138
+ 'pub.techne.draft.reflection': R59.Record;
139
+ 'pub.techne.draft.registry.typeRequest': R60.Record;
140
+ 'pub.techne.draft.retirement': R61.Record;
141
+ 'pub.techne.draft.rsvpNote': R62.Record;
142
+ 'pub.techne.draft.sameAs': R63.Record;
143
+ 'pub.techne.draft.scraper.cursor': R64.Record;
144
+ 'pub.techne.draft.scraper.raw': R65.Record;
145
+ 'pub.techne.draft.share': R66.Record;
146
+ 'pub.techne.draft.source': R67.Record;
147
+ 'pub.techne.draft.sourceAttribution': R68.Record;
148
+ 'pub.techne.draft.sourceRef': R69.Record;
149
+ 'pub.techne.draft.statement': R70.Record;
150
+ 'pub.techne.draft.subjectPrefs': R71.Record;
151
+ 'pub.techne.draft.summary': R72.Record;
152
+ 'pub.techne.draft.verdict': R73.Record;
153
+ 'pub.techne.draft.verification': R74.Record;
154
+ 'pub.techne.draft.weeklyCheckIn': R75.Record;
147
155
  }
148
156
  /** Any one record the lexicons define (its `$type` says which). */
149
157
  export type AnyRecord = Records[keyof Records];
@@ -0,0 +1,20 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ /** A Decentralized Identifier (DID) string. */
6
+ export interface Did {
7
+ $type?: 'app.certified.defs#did';
8
+ /** The DID string value. */
9
+ did: string;
10
+ }
11
+ export declare function isDid<V>(v: V): v is import("../../../util.js").$TypedObject<V, "app.certified.defs", "did">;
12
+ export declare function validateDid<V>(v: V): ValidationResult<Did & V>;
13
+ /** A subject that is a record, referenced by AT-URI. The URI must use the DID form (not handle form) and deliberately carries no CID: it references the record's identity, not a specific version, so references made against it survive updates to the record. */
14
+ export interface RecordSubject {
15
+ $type?: 'app.certified.defs#recordSubject';
16
+ /** AT-URI (DID form) of the record being followed. Schema validation enforces only general at-uri syntax; writers MUST supply a full record URI (did authority, collection, and rkey — not a handle authority or a partial URI), and consumers (AppView/indexer) are expected to reject or skip subjects that do not conform. */
17
+ uri: string;
18
+ }
19
+ export declare function isRecordSubject<V>(v: V): v is import("../../../util.js").$TypedObject<V, "app.certified.defs", "recordSubject">;
20
+ export declare function validateRecordSubject<V>(v: V): ValidationResult<RecordSubject & V>;
@@ -0,0 +1,18 @@
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 = 'app.certified.defs';
5
+ const hashDid = 'did';
6
+ export function isDid(v) {
7
+ return is$typed(v, id, hashDid);
8
+ }
9
+ export function validateDid(v) {
10
+ return validate(v, id, hashDid);
11
+ }
12
+ const hashRecordSubject = 'recordSubject';
13
+ export function isRecordSubject(v) {
14
+ return is$typed(v, id, hashRecordSubject);
15
+ }
16
+ export function validateRecordSubject(v) {
17
+ return validate(v, id, hashRecordSubject);
18
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util.js';
6
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
7
+ export type List = ($Typed<Inline> | $Typed<CreatedVia> | $Typed<ComAtprotoRepoStrongRef.Main> | {
8
+ $type: string;
9
+ })[];
10
+ /** Inline attestation signature embedded directly in a record. Conforms to the ATProtocol Attestation Specification: the signed input is the 36-byte CIDv1 (dag-cbor + SHA-256) of the record with the `signatures` field removed and a temporary `$sig` metadata object (containing `$type`, `key` and the housing repository DID) inserted before canonical DAG-CBOR encoding. ECDSA with the low-S variant per BIP-0062 is required; the curve (P-256 or K-256) is determined by the multicodec prefix of the verification method's `publicKeyMultibase`. */
11
+ export interface Inline {
12
+ $type?: 'app.certified.signature.defs#inline';
13
+ /** ECDSA signature bytes (raw r,s) over the 36-byte CID of the record. Low-S variant per BIP-0062 is mandatory. */
14
+ signature: Uint8Array;
15
+ /** Full DID verification method reference (format: did:{method}:{identifier}#{fragment}). Identifies the signer and the specific key used; the key's multicodec prefix determines the signing curve. */
16
+ key: string;
17
+ }
18
+ export declare function isInline<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.certified.signature.defs", "inline">;
19
+ export declare function validateInline<V>(v: V): ValidationResult<Inline & V>;
20
+ /** Inline signature by the application that wrote this version of the record. It does not mean the application endorses the content. A record should carry at most one `#createdVia` signature; applications enforce this, `#list` validation does not. Signed exactly like `#inline`: `$sig` is this signature entry without its `signature` field (so `$type` and `key`), plus `repository`, the DID of the repository that holds the record. */
21
+ export interface CreatedVia {
22
+ $type?: 'app.certified.signature.defs#createdVia';
23
+ /** ECDSA signature bytes (raw r,s) over the 36-byte CID of the record. Low-S variant per BIP-0062 is mandatory. */
24
+ signature: Uint8Array;
25
+ /** DID verification method of the application's signing key. It should be in the application's own DID document, preferably a did:web on the application's domain, so that the DID names the application. */
26
+ key: string;
27
+ }
28
+ export declare function isCreatedVia<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.certified.signature.defs", "createdVia">;
29
+ export declare function validateCreatedVia<V>(v: V): ValidationResult<CreatedVia & V>;
@@ -0,0 +1,18 @@
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 = 'app.certified.signature.defs';
5
+ const hashInline = 'inline';
6
+ export function isInline(v) {
7
+ return is$typed(v, id, hashInline);
8
+ }
9
+ export function validateInline(v) {
10
+ return validate(v, id, hashInline);
11
+ }
12
+ const hashCreatedVia = 'createdVia';
13
+ export function isCreatedVia(v) {
14
+ return is$typed(v, id, hashCreatedVia);
15
+ }
16
+ export function validateCreatedVia(v) {
17
+ return validate(v, id, hashCreatedVia);
18
+ }