Skip to content

Commit

Permalink
docs: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnoW committed Oct 5, 2022
1 parent a6047c1 commit cfd2300
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/flat-beds-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moralisweb3/streams': patch
---

Update types from swagger
17 changes: 8 additions & 9 deletions packages/streams/src/generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ export interface components {
StateMutabilityType: "pure" | "view" | "nonpayable" | "payable";
/** @enum {string} */
AbiType: "function" | "constructor" | "event" | "fallback";
/**
* @description The abi to parse the log object of the contract
* @example {}
*/
AbiItem: {
anonymous?: boolean;
constant?: boolean;
Expand Down Expand Up @@ -289,11 +293,6 @@ export interface components {
* @enum {string}
*/
StreamsStatus: "active" | "paused" | "error";
/**
* @description The abi to parse the log object of the contract
* @example {}
*/
StreamsAbi: { [key: string]: unknown };
/**
* @description The filter object, optional and only used if the type : log
* https://v1docs.moralis.io/moralis-dapp/automatic-transaction-sync/smart-contract-events#event-filters
Expand Down Expand Up @@ -323,7 +322,7 @@ export interface components {
includeContractLogs?: boolean;
/** @description Include or not include internal transactions defaults to false */
includeInternalTxs?: boolean;
abi?: components["schemas"]["StreamsAbi"][] | null;
abi?: components["schemas"]["AbiItem"][] | null;
advancedOptions?: components["schemas"]["advancedOptions"][] | null;
/** @description The ids of the chains for this stream in hex Ex: ["0x1","0x38"] */
chainIds: string[];
Expand Down Expand Up @@ -362,7 +361,7 @@ export interface components {
includeContractLogs?: boolean;
/** @description Include or not include internal transactions defaults to false */
includeInternalTxs?: boolean;
abi?: components["schemas"]["StreamsAbi"][] | null;
abi?: components["schemas"]["AbiItem"][] | null;
advancedOptions?: components["schemas"]["advancedOptions"][] | null;
/** @description The ids of the chains for this stream in hex Ex: ["0x1","0x38"] */
chainIds: string[];
Expand Down Expand Up @@ -390,7 +389,7 @@ export interface components {
includeContractLogs?: boolean;
/** @description Include or not include internal transactions defaults to false */
includeInternalTxs?: boolean;
abi?: components["schemas"]["StreamsAbi"][] | null;
abi?: components["schemas"]["AbiItem"][] | null;
advancedOptions?: components["schemas"]["advancedOptions"][] | null;
/** @description The ids of the chains for this stream in hex Ex: ["0x1","0x38"] */
chainIds: string[];
Expand Down Expand Up @@ -419,7 +418,7 @@ export interface components {
includeContractLogs?: boolean;
/** @description Include or not include internal transactions defaults to false */
includeInternalTxs?: boolean;
abi?: components["schemas"]["StreamsAbi"][] | null;
abi?: components["schemas"]["AbiItem"][] | null;
advancedOptions?: components["schemas"]["advancedOptions"][] | null;
/** @description The ids of the chains for this stream in hex Ex: ["0x1","0x38"] */
chainIds?: string[];
Expand Down

0 comments on commit cfd2300

Please sign in to comment.