Skip to content

Commit ddb5bea

Browse files
committed
refactor: upgrade modules, clean up
1 parent 683c575 commit ddb5bea

File tree

152 files changed

+5496
-7641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+5496
-7641
lines changed

docs/content/docs/modules/core/Coin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ coin = uint
167167
**Signature**
168168

169169
```ts
170-
export declare const Coin: Schema.refine<bigint, typeof Schema.BigInt>
170+
export declare const Coin: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
171171
```
172172

173173
Added in v2.0.0

docs/content/docs/modules/core/EpochNo.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Schema for validating epoch numbers (0-255).
140140
**Signature**
141141

142142
```ts
143-
export declare const EpochNoSchema: Schema.brand<Schema.refine<bigint, typeof Schema.BigInt>, "EpochNo">
143+
export declare const EpochNoSchema: Schema.brand<Schema.refine<bigint, typeof Schema.BigIntFromSelf>, "EpochNo">
144144
```
145145

146146
Added in v2.0.0

docs/content/docs/modules/core/Metadata.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ Represents: metadata = {* transaction_metadatum_label => transaction_metadatum}
437437

438438
```ts
439439
export declare const Metadata: Schema.MapFromSelf<
440-
Schema.refine<bigint, typeof Schema.BigInt>,
440+
Schema.refine<bigint, typeof Schema.BigIntFromSelf>,
441441
Schema.Union<
442442
[
443443
typeof TransactionMetadatum.TextMetadatum,
@@ -459,7 +459,7 @@ Schema for transaction metadatum label (uint .size 8).
459459
**Signature**
460460
461461
```ts
462-
export declare const MetadataLabel: Schema.refine<bigint, typeof Schema.BigInt>
462+
export declare const MetadataLabel: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
463463
```
464464
465465
Added in v2.0.0

docs/content/docs/modules/core/Mint.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export declare const AssetMap: Schema.transform<
284284
Schema.Array$<
285285
Schema.Tuple2<
286286
typeof AssetName.AssetName,
287-
Schema.Union<[Schema.refine<bigint, typeof Schema.BigInt>, Schema.refine<bigint, typeof Schema.BigInt>]>
287+
Schema.Union<[Schema.refine<bigint, typeof Schema.BigIntFromSelf>, Schema.refine<bigint, typeof Schema.BigIntFromSelf>]>
288288
>
289289
>,
290290
Schema.MapFromSelf<
@@ -412,7 +412,7 @@ export declare const Mint: Schema.transform<
412412
Schema.Array$<
413413
Schema.Tuple2<
414414
typeof AssetName.AssetName,
415-
Schema.Union<[Schema.refine<bigint, typeof Schema.BigInt>, Schema.refine<bigint, typeof Schema.BigInt>]>
415+
Schema.Union<[Schema.refine<bigint, typeof Schema.BigIntFromSelf>, Schema.refine<bigint, typeof Schema.BigIntFromSelf>]>
416416
>
417417
>,
418418
Schema.MapFromSelf<

docs/content/docs/modules/core/MultiAsset.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Schema for inner asset map (asset_name => positive_coin).
263263
```ts
264264
export declare const AssetMap: Schema.refine<
265265
Map<AssetName.AssetName, bigint>,
266-
Schema.Map$<typeof AssetName.AssetName, Schema.refine<bigint, typeof Schema.BigInt>>
266+
Schema.Map$<typeof AssetName.AssetName, Schema.refine<bigint, typeof Schema.BigIntFromSelf>>
267267
>
268268
```
269269
@@ -383,7 +383,7 @@ export declare const MultiAsset: Schema.brand<
383383
typeof PolicyId.PolicyId,
384384
Schema.refine<
385385
Map<AssetName.AssetName, bigint>,
386-
Schema.Map$<typeof AssetName.AssetName, Schema.refine<bigint, typeof Schema.BigInt>>
386+
Schema.Map$<typeof AssetName.AssetName, Schema.refine<bigint, typeof Schema.BigIntFromSelf>>
387387
>
388388
>
389389
>,

docs/content/docs/modules/core/NonZeroInt64.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Schema for validating negative 64-bit integers (-9223372036854775808 to -1).
175175
**Signature**
176176

177177
```ts
178-
export declare const NegInt64Schema: Schema.refine<bigint, typeof Schema.BigInt>
178+
export declare const NegInt64Schema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
179179
```
180180

181181
Added in v2.0.0
@@ -189,7 +189,7 @@ nonZeroInt64 = negInt64/ posInt64
189189

190190
```ts
191191
export declare const NonZeroInt64: Schema.Union<
192-
[Schema.refine<bigint, typeof Schema.BigInt>, Schema.refine<bigint, typeof Schema.BigInt>]
192+
[Schema.refine<bigint, typeof Schema.BigIntFromSelf>, Schema.refine<bigint, typeof Schema.BigIntFromSelf>]
193193
>
194194
```
195195

@@ -202,7 +202,7 @@ Schema for validating positive 64-bit integers (1 to 9223372036854775807).
202202
**Signature**
203203

204204
```ts
205-
export declare const PosInt64Schema: Schema.refine<bigint, typeof Schema.BigInt>
205+
export declare const PosInt64Schema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
206206
```
207207

208208
Added in v2.0.0

docs/content/docs/modules/core/NonnegativeInterval.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ CDDL: nonnegative_interval = #6.30([uint, positive_int])
127127
export declare const NonnegativeInterval: Schema.refine<
128128
{ readonly numerator: bigint; readonly denominator: bigint },
129129
Schema.Struct<{
130-
numerator: Schema.refine<bigint, typeof Schema.BigInt>
131-
denominator: Schema.refine<bigint, typeof Schema.BigInt>
130+
numerator: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
131+
denominator: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
132132
}>
133133
>
134134
```

docs/content/docs/modules/core/Numeric.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Schema for 8-bit unsigned integers.
217217
**Signature**
218218

219219
```ts
220-
export declare const Uint8Schema: Schema.refine<bigint, typeof Schema.BigInt>
220+
export declare const Uint8Schema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
221221
```
222222

223223
Added in v2.0.0
@@ -293,7 +293,7 @@ export declare const INT8_MIN: -128n
293293
**Signature**
294294

295295
```ts
296-
export declare const Int16: Schema.refine<bigint, typeof Schema.BigInt>
296+
export declare const Int16: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
297297
```
298298

299299
## Int16 (type alias)
@@ -317,7 +317,7 @@ export declare const Int16Generator: FastCheck.Arbitrary<bigint>
317317
**Signature**
318318

319319
```ts
320-
export declare const Int32: Schema.refine<bigint, typeof Schema.BigInt>
320+
export declare const Int32: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
321321
```
322322

323323
## Int32 (type alias)
@@ -341,7 +341,7 @@ export declare const Int32Generator: FastCheck.Arbitrary<bigint>
341341
**Signature**
342342

343343
```ts
344-
export declare const Int64: Schema.refine<bigint, typeof Schema.BigInt>
344+
export declare const Int64: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
345345
```
346346

347347
## Int64 (type alias)
@@ -365,7 +365,7 @@ export declare const Int64Generator: FastCheck.Arbitrary<bigint>
365365
**Signature**
366366

367367
```ts
368-
export declare const Int8: Schema.refine<bigint, typeof Schema.BigInt>
368+
export declare const Int8: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
369369
```
370370

371371
## Int8 (type alias)
@@ -469,7 +469,7 @@ export declare const Uint16Arbitrary: FastCheck.Arbitrary<bigint>
469469
**Signature**
470470

471471
```ts
472-
export declare const Uint16Schema: Schema.refine<bigint, typeof Schema.BigInt>
472+
export declare const Uint16Schema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
473473
```
474474

475475
## Uint32 (type alias)
@@ -493,7 +493,7 @@ export declare const Uint32Arbitrary: FastCheck.Arbitrary<bigint>
493493
**Signature**
494494

495495
```ts
496-
export declare const Uint32Schema: Schema.refine<bigint, typeof Schema.BigInt>
496+
export declare const Uint32Schema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
497497
```
498498

499499
## Uint64 (type alias)
@@ -517,5 +517,5 @@ export declare const Uint64Arbitrary: FastCheck.Arbitrary<bigint>
517517
**Signature**
518518

519519
```ts
520-
export declare const Uint64Schema: Schema.refine<bigint, typeof Schema.BigInt>
520+
export declare const Uint64Schema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
521521
```

docs/content/docs/modules/core/Port.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Schema for validating port numbers (0-65535).
213213
**Signature**
214214

215215
```ts
216-
export declare const PortSchema: Schema.refine<bigint, typeof Schema.BigInt>
216+
export declare const PortSchema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
217217
```
218218

219219
Added in v2.0.0

docs/content/docs/modules/core/PositiveCoin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ positive_coin = 1 .. maxWord64
171171
**Signature**
172172

173173
```ts
174-
export declare const PositiveCoinSchema: Schema.refine<bigint, typeof Schema.BigInt>
174+
export declare const PositiveCoinSchema: Schema.refine<bigint, typeof Schema.BigIntFromSelf>
175175
```
176176

177177
Added in v2.0.0

0 commit comments

Comments
 (0)