@turtleclub/hooks 0.5.0-beta.37 → 0.5.0-beta.39
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.
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/v2/schemas/shared.ts +1 -1
- package/src/v2/streams/schemas.ts +4 -0
package/dist/index.cjs
CHANGED
|
@@ -411,7 +411,7 @@ var incentiveSchema = import_zod.z.object({
|
|
|
411
411
|
tokenSupplyAllocation: import_zod.z.number().nullable(),
|
|
412
412
|
yield: import_zod.z.number().nullable()
|
|
413
413
|
});
|
|
414
|
-
var opportunityTypeEnum = import_zod.z.enum(["vault", "lending", "staking", "stablecoin", ""]);
|
|
414
|
+
var opportunityTypeEnum = import_zod.z.enum(["vault", "lending", "staking", "stablecoin", "draft", ""]);
|
|
415
415
|
var opportunityStatusEnum = import_zod.z.enum(["active", "paused", "deprecated", "draft", "ended"]);
|
|
416
416
|
var opportunitySchema = import_zod.z.object({
|
|
417
417
|
id: import_zod.z.string().uuid().optional(),
|
|
@@ -1270,7 +1270,9 @@ var streamPointSchema = import_zod10.z.object({
|
|
|
1270
1270
|
decimals: import_zod10.z.coerce.number().optional(),
|
|
1271
1271
|
logoUrl: import_zod10.z.string().url().nullable().optional(),
|
|
1272
1272
|
createdAt: import_zod10.z.string().optional(),
|
|
1273
|
-
updatedAt: import_zod10.z.string().optional()
|
|
1273
|
+
updatedAt: import_zod10.z.string().optional(),
|
|
1274
|
+
deletedAt: import_zod10.z.string().nullable().optional(),
|
|
1275
|
+
organization: organizationSchema.nullable().optional()
|
|
1274
1276
|
});
|
|
1275
1277
|
var customArgsTokensPerUsdSchema = import_zod10.z.object({
|
|
1276
1278
|
tokensPerUSD: import_zod10.z.string(),
|
|
@@ -1329,6 +1331,7 @@ var streamSchema = import_zod10.z.object({
|
|
|
1329
1331
|
lastSnapshot: snapshotSchema.nullable(),
|
|
1330
1332
|
merkleTreeComputationPaused: import_zod10.z.boolean(),
|
|
1331
1333
|
orgId: import_zod10.z.string().uuid(),
|
|
1334
|
+
point: streamPointSchema.nullable().optional(),
|
|
1332
1335
|
rewardToken: rewardTokenSchema,
|
|
1333
1336
|
snapshotComputationPaused: import_zod10.z.boolean(),
|
|
1334
1337
|
snapshots: import_zod10.z.array(snapshotSchema).optional(),
|