Skip to content

Commit

Permalink
Bugfix - Separate CastWithInteractionsReactions and CastWithInteracti…
Browse files Browse the repository at this point in the history
…onsRecasts from CastWithInteractionsReactionsOrRecasts

Bugfix - Separate CastWithInteractionsReactions and CastWithInteractionsRecasts from CastWithInteractionsReactionsOrRecasts
  • Loading branch information
Shreyaschorge authored Dec 14, 2023
2 parents c807e56 + 5b50e43 commit 207f7d9
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@neynar/nodejs-sdk",
"version": "1.3.1",
"version": "1.3.2",
"description": "SDK to interact with Neynar APIs (https://docs.neynar.com/)",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/neynar-api/v1/openapi/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ models/cast-response-result.ts
models/cast-response.ts
models/cast-type.ts
models/cast-with-interactions-all-of.ts
models/cast-with-interactions-reactions-or-recasts.ts
models/cast-with-interactions-reactions.ts
models/cast-with-interactions-recasts.ts
models/cast-with-interactions-replies.ts
models/cast-with-interactions.ts
models/cast.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@

// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsReactionsOrRecasts } from './cast-with-interactions-reactions-or-recasts';
import { CastWithInteractionsReactions } from './cast-with-interactions-reactions';
// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsRecasts } from './cast-with-interactions-recasts';
// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsReplies } from './cast-with-interactions-replies';
Expand All @@ -31,16 +34,16 @@ import { ViewerContext } from './viewer-context';
export interface CastWithInteractionsAllOf {
/**
*
* @type {CastWithInteractionsReactionsOrRecasts}
* @type {CastWithInteractionsReactions}
* @memberof CastWithInteractionsAllOf
*/
'reactions': CastWithInteractionsReactionsOrRecasts;
'reactions': CastWithInteractionsReactions;
/**
*
* @type {CastWithInteractionsReactionsOrRecasts}
* @type {CastWithInteractionsRecasts}
* @memberof CastWithInteractionsAllOf
*/
'recasts': CastWithInteractionsReactionsOrRecasts;
'recasts': CastWithInteractionsRecasts;
/**
*
* @type {Array<string>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@
/**
*
* @export
* @interface CastWithInteractionsReactionsOrRecasts
* @interface CastWithInteractionsReactions
*/
export interface CastWithInteractionsReactionsOrRecasts {
export interface CastWithInteractionsReactions {
/**
*
* @type {number}
* @memberof CastWithInteractionsReactionsOrRecasts
* @memberof CastWithInteractionsReactions
*/
'count': number;
/**
*
* @type {Array<number>}
* @memberof CastWithInteractionsReactionsOrRecasts
* @memberof CastWithInteractionsReactions
*/
'fids': Array<number>;
/**
*
* @type {Array<string>}
* @memberof CastWithInteractionsReactionsOrRecasts
* @memberof CastWithInteractionsReactions
*/
'fnames': Array<string>;
}
Expand Down
36 changes: 36 additions & 0 deletions src/neynar-api/v1/openapi/models/cast-with-interactions-recasts.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* tslint:disable */
/* eslint-disable */
/**
* Farcaster API V1
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
*
* @export
* @interface CastWithInteractionsRecasts
*/
export interface CastWithInteractionsRecasts {
/**
*
* @type {number}
* @memberof CastWithInteractionsRecasts
*/
'count': number;
/**
*
* @type {Array<number>}
* @memberof CastWithInteractionsRecasts
*/
'fids': Array<number>;
}

5 changes: 4 additions & 1 deletion src/neynar-api/v1/openapi/models/cast-with-interactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ import { CastType } from './cast-type';
import { CastWithInteractionsAllOf } from './cast-with-interactions-all-of';
// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsReactionsOrRecasts } from './cast-with-interactions-reactions-or-recasts';
import { CastWithInteractionsReactions } from './cast-with-interactions-reactions';
// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsRecasts } from './cast-with-interactions-recasts';
// May contain unused imports in some cases
// @ts-ignore
import { CastWithInteractionsReplies } from './cast-with-interactions-replies';
Expand Down
3 changes: 2 additions & 1 deletion src/neynar-api/v1/openapi/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export * from './cast-response-result';
export * from './cast-type';
export * from './cast-with-interactions';
export * from './cast-with-interactions-all-of';
export * from './cast-with-interactions-reactions-or-recasts';
export * from './cast-with-interactions-reactions';
export * from './cast-with-interactions-recasts';
export * from './cast-with-interactions-replies';
export * from './casts-response';
export * from './casts-response-result';
Expand Down
2 changes: 1 addition & 1 deletion src/oas
Submodule oas updated 1 files
+16 −3 src/v1/spec.yaml

0 comments on commit 207f7d9

Please sign in to comment.