@odatano/core 2.0.0-rc.11 → 2.0.0-rc.12

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.
@@ -185,6 +185,60 @@ export class Dreps extends Array<Drep> {
185
185
  $count?: number
186
186
  }
187
187
 
188
+ // entity 'PoolEpochSnapshot'
189
+ export declare function _PoolEpochSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
190
+ new (...args: any[]): {
191
+ poolId?: __.Key<_.Bech32>
192
+ epoch?: __.Key<number>
193
+ snapshotSlot?: number | null
194
+ snapshotTime?: number | null
195
+ blocksMinted?: number | null
196
+ blocksEpoch?: number | null
197
+ liveStake?: _.Lovelace | null
198
+ liveSize?: (number | string) | null
199
+ liveSaturation?: (number | string) | null
200
+ liveDelegators?: number | null
201
+ activeStake?: _.Lovelace | null
202
+ activeSize?: (number | string) | null
203
+ pledge?: _.Lovelace | null
204
+ margin?: (number | string) | null
205
+ fixedCost?: _.Lovelace | null
206
+ } & InstanceType<TBase>
207
+ readonly kind: 'entity';
208
+ readonly keys: __.KeysOf<PoolEpochSnapshot>;
209
+ readonly elements: __.ElementsOf<PoolEpochSnapshot>;
210
+ readonly actions: globalThis.Record<never, never>;
211
+ };
212
+ export class PoolEpochSnapshot extends _PoolEpochSnapshotAspect(__.Entity) {
213
+ }
214
+ export class PoolEpochSnapshots extends Array<PoolEpochSnapshot> {
215
+ $count?: number
216
+ }
217
+
218
+ // entity 'DrepEpochSnapshot'
219
+ export declare function _DrepEpochSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
220
+ new (...args: any[]): {
221
+ drepId?: __.Key<_.Bech32>
222
+ epoch?: __.Key<number>
223
+ snapshotSlot?: number | null
224
+ snapshotTime?: number | null
225
+ amount?: _.Lovelace | null
226
+ hasScript?: boolean | null
227
+ lastActiveEpoch?: number | null
228
+ retired?: boolean | null
229
+ expired?: boolean | null
230
+ } & InstanceType<TBase>
231
+ readonly kind: 'entity';
232
+ readonly keys: __.KeysOf<DrepEpochSnapshot>;
233
+ readonly elements: __.ElementsOf<DrepEpochSnapshot>;
234
+ readonly actions: globalThis.Record<never, never>;
235
+ };
236
+ export class DrepEpochSnapshot extends _DrepEpochSnapshotAspect(__.Entity) {
237
+ }
238
+ export class DrepEpochSnapshots extends Array<DrepEpochSnapshot> {
239
+ $count?: number
240
+ }
241
+
188
242
  // entity 'Asset'
189
243
  export declare function _AssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
190
244
  new (...args: any[]): {
@@ -19,6 +19,12 @@ module.exports.Pools = createEntityProxy(['CardanoODataService', 'Pools'], { tar
19
19
  // Dreps
20
20
  module.exports.Drep = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: true } })
21
21
  module.exports.Dreps = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: false }})
22
+ // PoolEpochSnapshots
23
+ module.exports.PoolEpochSnapshot = createEntityProxy(['CardanoODataService', 'PoolEpochSnapshots'], { target: { is_singular: true } })
24
+ module.exports.PoolEpochSnapshots = createEntityProxy(['CardanoODataService', 'PoolEpochSnapshots'], { target: { is_singular: false }})
25
+ // DrepEpochSnapshots
26
+ module.exports.DrepEpochSnapshot = createEntityProxy(['CardanoODataService', 'DrepEpochSnapshots'], { target: { is_singular: true } })
27
+ module.exports.DrepEpochSnapshots = createEntityProxy(['CardanoODataService', 'DrepEpochSnapshots'], { target: { is_singular: false }})
22
28
  // Assets
23
29
  module.exports.Asset = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: true } })
24
30
  module.exports.Assets = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: false }})
@@ -110,6 +110,60 @@ export class Pools extends Array<Pool> {
110
110
  $count?: number
111
111
  }
112
112
 
113
+ // entity 'PoolEpochSnapshot'
114
+ export declare function _PoolEpochSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
115
+ new (...args: any[]): {
116
+ poolId?: __.Key<_.Bech32>
117
+ epoch?: __.Key<number>
118
+ snapshotSlot?: number | null
119
+ snapshotTime?: number | null
120
+ blocksMinted?: number | null
121
+ blocksEpoch?: number | null
122
+ liveStake?: _.Lovelace | null
123
+ liveSize?: (number | string) | null
124
+ liveSaturation?: (number | string) | null
125
+ liveDelegators?: number | null
126
+ activeStake?: _.Lovelace | null
127
+ activeSize?: (number | string) | null
128
+ pledge?: _.Lovelace | null
129
+ margin?: (number | string) | null
130
+ fixedCost?: _.Lovelace | null
131
+ } & InstanceType<TBase>
132
+ readonly kind: 'entity';
133
+ readonly keys: __.KeysOf<PoolEpochSnapshot>;
134
+ readonly elements: __.ElementsOf<PoolEpochSnapshot>;
135
+ readonly actions: globalThis.Record<never, never>;
136
+ };
137
+ export class PoolEpochSnapshot extends _PoolEpochSnapshotAspect(__.Entity) {
138
+ }
139
+ export class PoolEpochSnapshots extends Array<PoolEpochSnapshot> {
140
+ $count?: number
141
+ }
142
+
143
+ // entity 'DrepEpochSnapshot'
144
+ export declare function _DrepEpochSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
145
+ new (...args: any[]): {
146
+ drepId?: __.Key<_.Bech32>
147
+ epoch?: __.Key<number>
148
+ snapshotSlot?: number | null
149
+ snapshotTime?: number | null
150
+ amount?: _.Lovelace | null
151
+ hasScript?: boolean | null
152
+ lastActiveEpoch?: number | null
153
+ retired?: boolean | null
154
+ expired?: boolean | null
155
+ } & InstanceType<TBase>
156
+ readonly kind: 'entity';
157
+ readonly keys: __.KeysOf<DrepEpochSnapshot>;
158
+ readonly elements: __.ElementsOf<DrepEpochSnapshot>;
159
+ readonly actions: globalThis.Record<never, never>;
160
+ };
161
+ export class DrepEpochSnapshot extends _DrepEpochSnapshotAspect(__.Entity) {
162
+ }
163
+ export class DrepEpochSnapshots extends Array<DrepEpochSnapshot> {
164
+ $count?: number
165
+ }
166
+
113
167
  // entity 'Asset'
114
168
  export declare function _AssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
115
169
  new (...args: any[]): {
@@ -12,6 +12,12 @@ module.exports.Epochs = createEntityProxy(['odatano.cardano', 'Epochs'], { targe
12
12
  // Pools
13
13
  module.exports.Pool = createEntityProxy(['odatano.cardano', 'Pools'], { target: { is_singular: true } })
14
14
  module.exports.Pools = createEntityProxy(['odatano.cardano', 'Pools'], { target: { is_singular: false }})
15
+ // PoolEpochSnapshots
16
+ module.exports.PoolEpochSnapshot = createEntityProxy(['odatano.cardano', 'PoolEpochSnapshots'], { target: { is_singular: true } })
17
+ module.exports.PoolEpochSnapshots = createEntityProxy(['odatano.cardano', 'PoolEpochSnapshots'], { target: { is_singular: false }})
18
+ // DrepEpochSnapshots
19
+ module.exports.DrepEpochSnapshot = createEntityProxy(['odatano.cardano', 'DrepEpochSnapshots'], { target: { is_singular: true } })
20
+ module.exports.DrepEpochSnapshots = createEntityProxy(['odatano.cardano', 'DrepEpochSnapshots'], { target: { is_singular: false }})
15
21
  // Assets
16
22
  module.exports.Asset = createEntityProxy(['odatano.cardano', 'Assets'], { target: { is_singular: true } })
17
23
  module.exports.Assets = createEntityProxy(['odatano.cardano', 'Assets'], { target: { is_singular: false }})