@atproto/api 0.19.0 → 0.19.2
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 +19 -0
- package/dist/agent.d.ts +1 -1
- package/dist/agent.d.ts.map +1 -1
- package/dist/atp-agent.d.ts +3 -3
- package/dist/atp-agent.d.ts.map +1 -1
- package/dist/atp-agent.js +25 -30
- package/dist/atp-agent.js.map +1 -1
- package/dist/client/lexicons.d.ts +48 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +24 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +3 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.js.map +1 -1
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts +1 -0
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/sendInteractions.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts +3 -1
- package/dist/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts +3 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsers.d.ts +3 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsers.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsers.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +3 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -1
- package/package.json +5 -5
- package/src/atp-agent.ts +29 -43
- package/src/client/lexicons.ts +24 -0
- package/src/client/types/app/bsky/actor/getSuggestions.ts +3 -1
- package/src/client/types/app/bsky/feed/sendInteractions.ts +1 -0
- package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +3 -1
- package/src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +3 -1
- package/src/client/types/app/bsky/unspecced/getSuggestedUsers.ts +3 -1
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +3 -1
|
@@ -11,8 +11,10 @@ export type InputSchema = undefined;
|
|
|
11
11
|
export interface OutputSchema {
|
|
12
12
|
cursor?: string;
|
|
13
13
|
actors: AppBskyActorDefs.ProfileView[];
|
|
14
|
-
/**
|
|
14
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
15
15
|
recId?: number;
|
|
16
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
17
|
+
recIdStr?: string;
|
|
16
18
|
}
|
|
17
19
|
export interface CallOptions {
|
|
18
20
|
signal?: AbortSignal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestions.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/getSuggestions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,gBAAgB,MAAM,WAAW,CAAA;AAMlD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,oFAAoF;IACpF,
|
|
1
|
+
{"version":3,"file":"getSuggestions.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/getSuggestions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,gBAAgB,MAAM,WAAW,CAAA;AAMlD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestions.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/getSuggestions.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getSuggestions.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/getSuggestions.ts"],"names":[],"mappings":";;AA4CA,gCAEC;AAxCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+BAA+B,CAAA;AA4B1C,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.actor.getSuggestions'\n\nexport type QueryParams = {\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n actors: AppBskyActorDefs.ProfileView[]\n /** DEPRECATED: use recIdStr instead. */\n recId?: number\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendInteractions.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,eAAe,CAAC,WAAW,EAAE,CAAA;CAC5C;AAED,MAAM,WAAW,YAAY;CAAG;AAEhC,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
1
|
+
{"version":3,"file":"sendInteractions.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,eAAe,CAAC,WAAW,EAAE,CAAA;CAC5C;AAED,MAAM,WAAW,YAAY;CAAG;AAEhC,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendInteractions.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"sendInteractions.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":";;AAwCA,gCAEC;AApCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gCAAgC,CAAA;AAwB3C,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.sendInteractions'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n feed?: string\n interactions: AppBskyFeedDefs.Interaction[]\n}\n\nexport interface OutputSchema {}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -12,8 +12,10 @@ export type QueryParams = {
|
|
|
12
12
|
export type InputSchema = undefined;
|
|
13
13
|
export interface OutputSchema {
|
|
14
14
|
dids: string[];
|
|
15
|
-
/**
|
|
15
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
16
16
|
recId?: string;
|
|
17
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
18
|
+
recIdStr?: string;
|
|
17
19
|
}
|
|
18
20
|
export interface CallOptions {
|
|
19
21
|
signal?: AbortSignal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOnboardingSuggestedUsersSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,oFAAoF;IACpF,
|
|
1
|
+
{"version":3,"file":"getOnboardingSuggestedUsersSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOnboardingSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getOnboardingSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;AA6CA,gCAEC;AAzCD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wDAAwD,CAAA;AA8BnE,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** DEPRECATED: use recIdStr instead. */\n recId?: string\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -11,8 +11,10 @@ export type QueryParams = {
|
|
|
11
11
|
export type InputSchema = undefined;
|
|
12
12
|
export interface OutputSchema {
|
|
13
13
|
actors: AppBskyActorDefs.ProfileView[];
|
|
14
|
-
/**
|
|
14
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
15
15
|
recId?: string;
|
|
16
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
17
|
+
recIdStr?: string;
|
|
16
18
|
}
|
|
17
19
|
export interface CallOptions {
|
|
18
20
|
signal?: AbortSignal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedOnboardingUsers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,oFAAoF;IACpF,
|
|
1
|
+
{"version":3,"file":"getSuggestedOnboardingUsers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedOnboardingUsers.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getSuggestedOnboardingUsers.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":";;AA4CA,gCAEC;AAxCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gDAAgD,CAAA;AA4B3D,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedOnboardingUsers'\n\nexport type QueryParams = {\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** DEPRECATED: use recIdStr instead. */\n recId?: string\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -11,8 +11,10 @@ export type QueryParams = {
|
|
|
11
11
|
export type InputSchema = undefined;
|
|
12
12
|
export interface OutputSchema {
|
|
13
13
|
actors: AppBskyActorDefs.ProfileView[];
|
|
14
|
-
/**
|
|
14
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
15
15
|
recId?: string;
|
|
16
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
17
|
+
recIdStr?: string;
|
|
16
18
|
}
|
|
17
19
|
export interface CallOptions {
|
|
18
20
|
signal?: AbortSignal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedUsers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,oFAAoF;IACpF,
|
|
1
|
+
{"version":3,"file":"getSuggestedUsers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedUsers.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsers.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getSuggestedUsers.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsers.ts"],"names":[],"mappings":";;AA4CA,gCAEC;AAxCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA;AA4BjD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsers'\n\nexport type QueryParams = {\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** DEPRECATED: use recIdStr instead. */\n recId?: string\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -12,8 +12,10 @@ export type QueryParams = {
|
|
|
12
12
|
export type InputSchema = undefined;
|
|
13
13
|
export interface OutputSchema {
|
|
14
14
|
dids: string[];
|
|
15
|
-
/**
|
|
15
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
16
16
|
recId?: string;
|
|
17
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
18
|
+
recIdStr?: string;
|
|
17
19
|
}
|
|
18
20
|
export interface CallOptions {
|
|
19
21
|
signal?: AbortSignal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedUsersSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,oFAAoF;IACpF,
|
|
1
|
+
{"version":3,"file":"getSuggestedUsersSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;AA6CA,gCAEC;AAzCD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,8CAA8C,CAAA;AA8BzD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** DEPRECATED: use recIdStr instead. */\n recId?: string\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"multiformats": "^9.9.0",
|
|
22
22
|
"tlds": "^1.234.0",
|
|
23
23
|
"zod": "^3.23.8",
|
|
24
|
-
"@atproto/common-web": "^0.4.
|
|
25
|
-
"@atproto/lexicon": "^0.6.
|
|
26
|
-
"@atproto/syntax": "^0.
|
|
24
|
+
"@atproto/common-web": "^0.4.18",
|
|
25
|
+
"@atproto/lexicon": "^0.6.2",
|
|
26
|
+
"@atproto/syntax": "^0.5.0",
|
|
27
27
|
"@atproto/xrpc": "^0.7.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"jest": "^28.1.2",
|
|
32
32
|
"prettier": "^3.2.5",
|
|
33
33
|
"typescript": "^5.6.3",
|
|
34
|
-
"@atproto/lex-cli": "^0.9.
|
|
34
|
+
"@atproto/lex-cli": "^0.9.9"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"codegen": "node ./scripts/generate-code.mjs && lex gen-api --yes ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/* ../../lexicons/com/germnetwork/*",
|
package/src/atp-agent.ts
CHANGED
|
@@ -159,7 +159,7 @@ export class AtpAgent extends Agent {
|
|
|
159
159
|
export class CredentialSession implements SessionManager {
|
|
160
160
|
public pdsUrl?: URL // The PDS URL, driven by the did doc
|
|
161
161
|
public session?: AtpSessionData
|
|
162
|
-
public refreshSessionPromise
|
|
162
|
+
public refreshSessionPromise?: Promise<ComAtprotoServerRefreshSession.Response>
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* Private {@link ComAtprotoServerNS} used to perform session management API
|
|
@@ -372,47 +372,28 @@ export class CredentialSession implements SessionManager {
|
|
|
372
372
|
*/
|
|
373
373
|
async resumeSession(
|
|
374
374
|
session: AtpSessionData,
|
|
375
|
-
): Promise<
|
|
376
|
-
| ComAtprotoServerGetSession.Response
|
|
377
|
-
| ComAtprotoServerRefreshSession.Response
|
|
378
|
-
> {
|
|
375
|
+
): Promise<ComAtprotoServerRefreshSession.Response> {
|
|
379
376
|
// Protect against multiple calls to resumeSession that would trigger a
|
|
380
377
|
// refresh for the same session simultaneously.
|
|
381
378
|
// Ideally, this check would be based on a session identifier, but since
|
|
382
379
|
// we don't have one, we will just check the refresh token.
|
|
383
|
-
if (session.refreshJwt
|
|
384
|
-
//
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
// Another concurrent operation may have replaced the session while we
|
|
388
|
-
// were waiting for the refresh to complete.
|
|
389
|
-
if (session.did !== this.session?.did) {
|
|
390
|
-
throw new Error('DID mismatch on resumeSession')
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
return this.server.getSession(undefined, {
|
|
394
|
-
headers: { authorization: `Bearer ${this.session.accessJwt}` },
|
|
395
|
-
})
|
|
380
|
+
if (session.refreshJwt !== this.session?.refreshJwt) {
|
|
381
|
+
// Set the current session, and discard any pending refresh operation..
|
|
382
|
+
this.session = session
|
|
383
|
+
this.refreshSessionPromise = undefined
|
|
396
384
|
}
|
|
397
385
|
|
|
398
|
-
//
|
|
399
|
-
//
|
|
400
|
-
|
|
401
|
-
this.refreshSessionPromise = undefined
|
|
402
|
-
|
|
403
|
-
const promise = this._refreshSessionInner()
|
|
386
|
+
// Ensure that the session is still valid by forcing a refresh. This will
|
|
387
|
+
// also ensure that persistSession handler is called.
|
|
388
|
+
const result = await this.refreshSession()
|
|
404
389
|
|
|
405
|
-
//
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
)
|
|
411
|
-
.finally(() => {
|
|
412
|
-
this.refreshSessionPromise = undefined
|
|
413
|
-
})
|
|
390
|
+
// Fool-proofing: another concurrent operation may have replaced the session
|
|
391
|
+
// while we were waiting for the refresh to complete.
|
|
392
|
+
if (session.did !== this.session?.did) {
|
|
393
|
+
throw new Error('DID mismatch on resumeSession')
|
|
394
|
+
}
|
|
414
395
|
|
|
415
|
-
return
|
|
396
|
+
return result
|
|
416
397
|
}
|
|
417
398
|
|
|
418
399
|
/**
|
|
@@ -420,18 +401,23 @@ export class CredentialSession implements SessionManager {
|
|
|
420
401
|
* - Wraps the actual implementation in a promise-guard to ensure only
|
|
421
402
|
* one refresh is attempted at a time.
|
|
422
403
|
*/
|
|
423
|
-
async refreshSession(): Promise<
|
|
424
|
-
if (!this.session)
|
|
404
|
+
async refreshSession(): Promise<ComAtprotoServerRefreshSession.Response> {
|
|
405
|
+
if (!this.session) {
|
|
406
|
+
throw new Error('Unexpected state: no session to refresh')
|
|
407
|
+
}
|
|
425
408
|
|
|
426
409
|
// Do not refresh if we already have a refresh in progress
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
)
|
|
432
|
-
.finally(() => {
|
|
410
|
+
if (this.refreshSessionPromise) return this.refreshSessionPromise
|
|
411
|
+
|
|
412
|
+
const promise = this._refreshSessionInner().finally(() => {
|
|
413
|
+
if (this.refreshSessionPromise === promise) {
|
|
433
414
|
this.refreshSessionPromise = undefined
|
|
434
|
-
}
|
|
415
|
+
}
|
|
416
|
+
})
|
|
417
|
+
|
|
418
|
+
this.refreshSessionPromise = promise
|
|
419
|
+
|
|
420
|
+
return promise
|
|
435
421
|
}
|
|
436
422
|
|
|
437
423
|
/**
|
package/src/client/lexicons.ts
CHANGED
|
@@ -1028,6 +1028,10 @@ export const schemaDict = {
|
|
|
1028
1028
|
},
|
|
1029
1029
|
recId: {
|
|
1030
1030
|
type: 'integer',
|
|
1031
|
+
description: 'DEPRECATED: use recIdStr instead.',
|
|
1032
|
+
},
|
|
1033
|
+
recIdStr: {
|
|
1034
|
+
type: 'string',
|
|
1031
1035
|
description:
|
|
1032
1036
|
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
1033
1037
|
},
|
|
@@ -4947,6 +4951,10 @@ export const schemaDict = {
|
|
|
4947
4951
|
type: 'object',
|
|
4948
4952
|
required: ['interactions'],
|
|
4949
4953
|
properties: {
|
|
4954
|
+
feed: {
|
|
4955
|
+
type: 'string',
|
|
4956
|
+
format: 'at-uri',
|
|
4957
|
+
},
|
|
4950
4958
|
interactions: {
|
|
4951
4959
|
type: 'array',
|
|
4952
4960
|
items: {
|
|
@@ -8103,6 +8111,10 @@ export const schemaDict = {
|
|
|
8103
8111
|
},
|
|
8104
8112
|
},
|
|
8105
8113
|
recId: {
|
|
8114
|
+
type: 'string',
|
|
8115
|
+
description: 'DEPRECATED: use recIdStr instead.',
|
|
8116
|
+
},
|
|
8117
|
+
recIdStr: {
|
|
8106
8118
|
type: 'string',
|
|
8107
8119
|
description:
|
|
8108
8120
|
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
@@ -8437,6 +8449,10 @@ export const schemaDict = {
|
|
|
8437
8449
|
},
|
|
8438
8450
|
},
|
|
8439
8451
|
recId: {
|
|
8452
|
+
type: 'string',
|
|
8453
|
+
description: 'DEPRECATED: use recIdStr instead.',
|
|
8454
|
+
},
|
|
8455
|
+
recIdStr: {
|
|
8440
8456
|
type: 'string',
|
|
8441
8457
|
description:
|
|
8442
8458
|
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
@@ -8564,6 +8580,10 @@ export const schemaDict = {
|
|
|
8564
8580
|
},
|
|
8565
8581
|
},
|
|
8566
8582
|
recId: {
|
|
8583
|
+
type: 'string',
|
|
8584
|
+
description: 'DEPRECATED: use recIdStr instead.',
|
|
8585
|
+
},
|
|
8586
|
+
recIdStr: {
|
|
8567
8587
|
type: 'string',
|
|
8568
8588
|
description:
|
|
8569
8589
|
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
@@ -8617,6 +8637,10 @@ export const schemaDict = {
|
|
|
8617
8637
|
},
|
|
8618
8638
|
},
|
|
8619
8639
|
recId: {
|
|
8640
|
+
type: 'string',
|
|
8641
|
+
description: 'DEPRECATED: use recIdStr instead.',
|
|
8642
|
+
},
|
|
8643
|
+
recIdStr: {
|
|
8620
8644
|
type: 'string',
|
|
8621
8645
|
description:
|
|
8622
8646
|
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
@@ -25,8 +25,10 @@ export type InputSchema = undefined
|
|
|
25
25
|
export interface OutputSchema {
|
|
26
26
|
cursor?: string
|
|
27
27
|
actors: AppBskyActorDefs.ProfileView[]
|
|
28
|
-
/**
|
|
28
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
29
29
|
recId?: number
|
|
30
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
31
|
+
recIdStr?: string
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface CallOptions {
|
|
@@ -26,8 +26,10 @@ export type InputSchema = undefined
|
|
|
26
26
|
|
|
27
27
|
export interface OutputSchema {
|
|
28
28
|
dids: string[]
|
|
29
|
-
/**
|
|
29
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
30
30
|
recId?: string
|
|
31
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
32
|
+
recIdStr?: string
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
export interface CallOptions {
|
|
@@ -25,8 +25,10 @@ export type InputSchema = undefined
|
|
|
25
25
|
|
|
26
26
|
export interface OutputSchema {
|
|
27
27
|
actors: AppBskyActorDefs.ProfileView[]
|
|
28
|
-
/**
|
|
28
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
29
29
|
recId?: string
|
|
30
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
31
|
+
recIdStr?: string
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface CallOptions {
|
|
@@ -25,8 +25,10 @@ export type InputSchema = undefined
|
|
|
25
25
|
|
|
26
26
|
export interface OutputSchema {
|
|
27
27
|
actors: AppBskyActorDefs.ProfileView[]
|
|
28
|
-
/**
|
|
28
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
29
29
|
recId?: string
|
|
30
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
31
|
+
recIdStr?: string
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface CallOptions {
|
|
@@ -26,8 +26,10 @@ export type InputSchema = undefined
|
|
|
26
26
|
|
|
27
27
|
export interface OutputSchema {
|
|
28
28
|
dids: string[]
|
|
29
|
-
/**
|
|
29
|
+
/** DEPRECATED: use recIdStr instead. */
|
|
30
30
|
recId?: string
|
|
31
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
32
|
+
recIdStr?: string
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
export interface CallOptions {
|