-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Tweaking the types to reduce maintenance burden
Breaking chnge to type import paths. Import everything from @algorandfoundation/algokit-subscriber/types now
- Loading branch information
Showing
33 changed files
with
926 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[@algorandfoundation/algokit-subscriber](../README.md) / [types/arc-28](../modules/types_arc_28.md) / Arc28Event | ||
|
||
# Interface: Arc28Event | ||
|
||
[types/arc-28](../modules/types_arc_28.md).Arc28Event | ||
|
||
The definition of metadata for an ARC-28 event per https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0028.md#event. | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [args](types_arc_28.Arc28Event.md#args) | ||
- [desc](types_arc_28.Arc28Event.md#desc) | ||
- [name](types_arc_28.Arc28Event.md#name) | ||
|
||
## Properties | ||
|
||
### args | ||
|
||
• **args**: \{ `desc?`: `string` ; `name?`: `string` ; `type`: `string` }[] | ||
|
||
The arguments of the event, in order | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:15](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L15) | ||
|
||
___ | ||
|
||
### desc | ||
|
||
• `Optional` **desc**: `string` | ||
|
||
Optional, user-friendly description for the event | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:13](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L13) | ||
|
||
___ | ||
|
||
### name | ||
|
||
• **name**: `string` | ||
|
||
The name of the event | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:11](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L11) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
[@algorandfoundation/algokit-subscriber](../README.md) / [types/arc-28](../modules/types_arc_28.md) / Arc28EventToProcess | ||
|
||
# Interface: Arc28EventToProcess | ||
|
||
[types/arc-28](../modules/types_arc_28.md).Arc28EventToProcess | ||
|
||
An ARC-28 event to be processed | ||
|
||
## Hierarchy | ||
|
||
- **`Arc28EventToProcess`** | ||
|
||
↳ [`EmittedArc28Event`](types_arc_28.EmittedArc28Event.md) | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [eventDefinition](types_arc_28.Arc28EventToProcess.md#eventdefinition) | ||
- [eventName](types_arc_28.Arc28EventToProcess.md#eventname) | ||
- [eventPrefix](types_arc_28.Arc28EventToProcess.md#eventprefix) | ||
- [eventSignature](types_arc_28.Arc28EventToProcess.md#eventsignature) | ||
- [groupName](types_arc_28.Arc28EventToProcess.md#groupname) | ||
|
||
## Properties | ||
|
||
### eventDefinition | ||
|
||
• **eventDefinition**: [`Arc28Event`](types_arc_28.Arc28Event.md) | ||
|
||
The ARC-28 definition of the event | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:36](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L36) | ||
|
||
___ | ||
|
||
### eventName | ||
|
||
• **eventName**: `string` | ||
|
||
The name of the ARC-28 event that was triggered | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:30](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L30) | ||
|
||
___ | ||
|
||
### eventPrefix | ||
|
||
• **eventPrefix**: `string` | ||
|
||
The 4-byte hex prefix for the event | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:34](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L34) | ||
|
||
___ | ||
|
||
### eventSignature | ||
|
||
• **eventSignature**: `string` | ||
|
||
The signature of the event e.g. `EventName(type1,type2)` | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:32](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L32) | ||
|
||
___ | ||
|
||
### groupName | ||
|
||
• **groupName**: `string` | ||
|
||
The name of the ARC-28 event group the event belongs to | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:28](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L28) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
[@algorandfoundation/algokit-subscriber](../README.md) / [types/arc-28](../modules/types_arc_28.md) / EmittedArc28Event | ||
|
||
# Interface: EmittedArc28Event | ||
|
||
[types/arc-28](../modules/types_arc_28.md).EmittedArc28Event | ||
|
||
An emitted ARC-28 event extracted from an app call log. | ||
|
||
## Hierarchy | ||
|
||
- [`Arc28EventToProcess`](types_arc_28.Arc28EventToProcess.md) | ||
|
||
↳ **`EmittedArc28Event`** | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [args](types_arc_28.EmittedArc28Event.md#args) | ||
- [argsByName](types_arc_28.EmittedArc28Event.md#argsbyname) | ||
- [eventDefinition](types_arc_28.EmittedArc28Event.md#eventdefinition) | ||
- [eventName](types_arc_28.EmittedArc28Event.md#eventname) | ||
- [eventPrefix](types_arc_28.EmittedArc28Event.md#eventprefix) | ||
- [eventSignature](types_arc_28.EmittedArc28Event.md#eventsignature) | ||
- [groupName](types_arc_28.EmittedArc28Event.md#groupname) | ||
|
||
## Properties | ||
|
||
### args | ||
|
||
• **args**: `ABIValue`[] | ||
|
||
The ordered arguments extracted from the event that was emitted | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:42](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L42) | ||
|
||
___ | ||
|
||
### argsByName | ||
|
||
• **argsByName**: `Record`\<`string`, `ABIValue`\> | ||
|
||
The named arguments extracted from the event that was emitted (where the arguments had a name defined) | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:44](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L44) | ||
|
||
___ | ||
|
||
### eventDefinition | ||
|
||
• **eventDefinition**: [`Arc28Event`](types_arc_28.Arc28Event.md) | ||
|
||
The ARC-28 definition of the event | ||
|
||
#### Inherited from | ||
|
||
[Arc28EventToProcess](types_arc_28.Arc28EventToProcess.md).[eventDefinition](types_arc_28.Arc28EventToProcess.md#eventdefinition) | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:36](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L36) | ||
|
||
___ | ||
|
||
### eventName | ||
|
||
• **eventName**: `string` | ||
|
||
The name of the ARC-28 event that was triggered | ||
|
||
#### Inherited from | ||
|
||
[Arc28EventToProcess](types_arc_28.Arc28EventToProcess.md).[eventName](types_arc_28.Arc28EventToProcess.md#eventname) | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:30](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L30) | ||
|
||
___ | ||
|
||
### eventPrefix | ||
|
||
• **eventPrefix**: `string` | ||
|
||
The 4-byte hex prefix for the event | ||
|
||
#### Inherited from | ||
|
||
[Arc28EventToProcess](types_arc_28.Arc28EventToProcess.md).[eventPrefix](types_arc_28.Arc28EventToProcess.md#eventprefix) | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:34](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L34) | ||
|
||
___ | ||
|
||
### eventSignature | ||
|
||
• **eventSignature**: `string` | ||
|
||
The signature of the event e.g. `EventName(type1,type2)` | ||
|
||
#### Inherited from | ||
|
||
[Arc28EventToProcess](types_arc_28.Arc28EventToProcess.md).[eventSignature](types_arc_28.Arc28EventToProcess.md#eventsignature) | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:32](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L32) | ||
|
||
___ | ||
|
||
### groupName | ||
|
||
• **groupName**: `string` | ||
|
||
The name of the ARC-28 event group the event belongs to | ||
|
||
#### Inherited from | ||
|
||
[Arc28EventToProcess](types_arc_28.Arc28EventToProcess.md).[groupName](types_arc_28.Arc28EventToProcess.md#groupname) | ||
|
||
#### Defined in | ||
|
||
[types/arc-28.ts:28](https://github.com/algorandfoundation/algokit-subscriber-ts/blob/main/src/types/arc-28.ts#L28) |
Oops, something went wrong.