tempest.games 0.2.74 → 0.2.76

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.
@@ -51049,6 +51049,9 @@ function findRelationsInStore(token, key, store) {
51049
51049
  }
51050
51050
  return relations;
51051
51051
  }
51052
+ function getInternalRelationsFromStore(token, store) {
51053
+ return getJoin(token, store).relatedKeysAtoms;
51054
+ }
51052
51055
 
51053
51056
  // ../../packages/atom.io/dist/main/index.js
51054
51057
  function mutableAtom(options) {
@@ -51063,6 +51066,9 @@ function getState(...params) {
51063
51066
  function join(options) {
51064
51067
  return createJoin(IMPLICIT.STORE, options);
51065
51068
  }
51069
+ function getInternalRelations(token) {
51070
+ return getInternalRelationsFromStore(token, IMPLICIT.STORE);
51071
+ }
51066
51072
  var PRETTY_TOKEN_TYPES = {
51067
51073
  atom_family: `atom family`,
51068
51074
  atom: `atom`,
@@ -51150,7 +51156,7 @@ import { createServer as createHttpServer } from "http";
51150
51156
  import { createServer as createSecureServer } from "https";
51151
51157
  import { resolve } from "path";
51152
51158
 
51153
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.26_typescript@5.9.3_zod@4.1.12/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
51159
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.27_typescript@5.9.3_zod@4.1.12/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
51154
51160
  function ensureSynchronous(value, message) {
51155
51161
  if (value instanceof Promise)
51156
51162
  throw new Error(message);
@@ -51236,7 +51242,7 @@ function createEnv(opts) {
51236
51242
  return env;
51237
51243
  }
51238
51244
 
51239
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/arrays.js
51245
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/arrays.js
51240
51246
  var liftArray = (data) => Array.isArray(data) ? data : [data];
51241
51247
  var spliterate = (arr, predicate) => {
51242
51248
  const result = [[], []];
@@ -51291,7 +51297,7 @@ var groupBy = (array, discriminant) => array.reduce((result, item) => {
51291
51297
  return result;
51292
51298
  }, {});
51293
51299
  var arrayEquals = (l2, r2, opts) => l2.length === r2.length && l2.every(opts?.isEqual ? (lItem, i2) => opts.isEqual(lItem, r2[i2]) : (lItem, i2) => lItem === r2[i2]);
51294
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/domain.js
51300
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/domain.js
51295
51301
  var hasDomain = (data, kind) => domainOf(data) === kind;
51296
51302
  var domainOf = (data) => {
51297
51303
  const builtinType = typeof data;
@@ -51312,7 +51318,7 @@ var jsTypeOfDescriptions = {
51312
51318
  function: "a function"
51313
51319
  };
51314
51320
 
51315
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/errors.js
51321
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/errors.js
51316
51322
  class InternalArktypeError extends Error {
51317
51323
  }
51318
51324
  var throwInternalError = (message) => throwError(message, InternalArktypeError);
@@ -51327,7 +51333,7 @@ var throwParseError = (message) => throwError(message, ParseError);
51327
51333
  var noSuggest = (s2) => ` ${s2}`;
51328
51334
  var ZeroWidthSpace = "\u200B";
51329
51335
 
51330
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/flatMorph.js
51336
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/flatMorph.js
51331
51337
  var flatMorph = (o2, flatMapEntry) => {
51332
51338
  const result = {};
51333
51339
  const inputIsArray = Array.isArray(o2);
@@ -51346,7 +51352,7 @@ var flatMorph = (o2, flatMapEntry) => {
51346
51352
  return outputShouldBeArray ? Object.values(result) : result;
51347
51353
  };
51348
51354
 
51349
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/records.js
51355
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/records.js
51350
51356
  var entriesOf = Object.entries;
51351
51357
  var isKeyOf = (k2, o2) => (k2 in o2);
51352
51358
  var hasKey = (o2, k2) => (k2 in o2);
@@ -51393,7 +51399,7 @@ var enumValues = (tsEnum) => Object.values(tsEnum).filter((v2) => {
51393
51399
  return typeof tsEnum[v2] !== "number";
51394
51400
  });
51395
51401
 
51396
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/objectKinds.js
51402
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/objectKinds.js
51397
51403
  var ecmascriptConstructors = {
51398
51404
  Array,
51399
51405
  Boolean,
@@ -51509,7 +51515,7 @@ var constructorExtends = (ctor, base) => {
51509
51515
  return false;
51510
51516
  };
51511
51517
 
51512
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/clone.js
51518
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/clone.js
51513
51519
  var deepClone = (input) => _clone(input, new Map);
51514
51520
  var _clone = (input, seen) => {
51515
51521
  if (typeof input !== "object" || input === null)
@@ -51535,7 +51541,7 @@ var _clone = (input, seen) => {
51535
51541
  Object.defineProperties(cloned, propertyDescriptors);
51536
51542
  return cloned;
51537
51543
  };
51538
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/functions.js
51544
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/functions.js
51539
51545
  var cached = (thunk) => {
51540
51546
  let result = unset;
51541
51547
  return () => result === unset ? result = thunk() : result;
@@ -51569,16 +51575,16 @@ var envHasCsp = cached(() => {
51569
51575
  return true;
51570
51576
  }
51571
51577
  });
51572
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/generics.js
51578
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/generics.js
51573
51579
  var brand = noSuggest("brand");
51574
51580
  var inferred = noSuggest("arkInferred");
51575
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/hkt.js
51581
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/hkt.js
51576
51582
  var args = noSuggest("args");
51577
51583
 
51578
51584
  class Hkt {
51579
51585
  constructor() {}
51580
51586
  }
51581
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/isomorphic.js
51587
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/isomorphic.js
51582
51588
  var fileName = () => {
51583
51589
  try {
51584
51590
  const error = new Error;
@@ -51595,7 +51601,7 @@ var isomorphic = {
51595
51601
  fileName,
51596
51602
  env
51597
51603
  };
51598
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/strings.js
51604
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/strings.js
51599
51605
  var capitalize2 = (s2) => s2[0].toUpperCase() + s2.slice(1);
51600
51606
  var anchoredRegex = (regex) => new RegExp(anchoredSource(regex), typeof regex === "string" ? "" : regex.flags);
51601
51607
  var anchoredSource = (regex) => {
@@ -51613,7 +51619,7 @@ var whitespaceChars = {
51613
51619
  "\t": 1
51614
51620
  };
51615
51621
 
51616
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/numbers.js
51622
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/numbers.js
51617
51623
  var anchoredNegativeZeroPattern = /^-0\.?0*$/.source;
51618
51624
  var positiveIntegerPattern = /[1-9]\d*/.source;
51619
51625
  var looseDecimalPattern = /\.\d+/.source;
@@ -51675,8 +51681,8 @@ var tryParseWellFormedBigint = (def) => {
51675
51681
  return throwParseError(writeMalformedNumericLiteralMessage(def, "bigint"));
51676
51682
  }
51677
51683
  };
51678
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/registry.js
51679
- var arkUtilVersion = "0.54.0";
51684
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/registry.js
51685
+ var arkUtilVersion = "0.55.0";
51680
51686
  var initialRegistryContents = {
51681
51687
  version: arkUtilVersion,
51682
51688
  filename: isomorphic.fileName(),
@@ -51715,10 +51721,10 @@ var baseNameFor = (value) => {
51715
51721
  return throwInternalError(`Unexpected attempt to register serializable value of type ${domainOf(value)}`);
51716
51722
  };
51717
51723
 
51718
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/primitive.js
51724
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/primitive.js
51719
51725
  var serializePrimitive = (value) => typeof value === "string" ? JSON.stringify(value) : typeof value === "bigint" ? `${value}n` : `${value}`;
51720
51726
 
51721
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/serialize.js
51727
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/serialize.js
51722
51728
  var snapshot = (data, opts = {}) => _serialize(data, {
51723
51729
  onUndefined: `$ark.undefined`,
51724
51730
  onBigInt: (n2) => `$ark.bigint-${n2}`,
@@ -51851,7 +51857,7 @@ var months = [
51851
51857
  var timeWithUnnecessarySeconds = /:\d\d:00$/;
51852
51858
  var pad = (value, length) => String(value).padStart(length, "0");
51853
51859
 
51854
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/path.js
51860
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/path.js
51855
51861
  var appendStringifiedKey = (path, prop, ...[opts]) => {
51856
51862
  const stringifySymbol = opts?.stringifySymbol ?? printable;
51857
51863
  let propAccessChain = path;
@@ -51908,7 +51914,7 @@ class ReadonlyPath extends ReadonlyArray {
51908
51914
  return this.cache.stringifyAncestors = result;
51909
51915
  }
51910
51916
  }
51911
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/scanner.js
51917
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/scanner.js
51912
51918
  class Scanner {
51913
51919
  chars;
51914
51920
  i;
@@ -51991,9 +51997,9 @@ class Scanner {
51991
51997
  }
51992
51998
  var writeUnmatchedGroupCloseMessage = (char, unscanned) => `Unmatched ${char}${unscanned === "" ? "" : ` before ${unscanned}`}`;
51993
51999
  var writeUnclosedGroupMessage = (missingChar) => `Missing ${missingChar}`;
51994
- // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/traits.js
52000
+ // ../../node_modules/.pnpm/@ark+util@0.55.0/node_modules/@ark/util/out/traits.js
51995
52001
  var implementedTraits = noSuggest("implementedTraits");
51996
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/registry.js
52002
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/registry.js
51997
52003
  var _registryName = "$ark";
51998
52004
  var suffix = 2;
51999
52005
  while (_registryName in globalThis)
@@ -52004,7 +52010,7 @@ var $ark = registry;
52004
52010
  var reference = (name) => `${registryName}.${name}`;
52005
52011
  var registeredReference = (value) => reference(register(value));
52006
52012
 
52007
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/compile.js
52013
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/compile.js
52008
52014
  class CompiledFunction extends CastableBase {
52009
52015
  argNames;
52010
52016
  body = "";
@@ -52140,13 +52146,13 @@ class NodeCompiler extends CompiledFunction {
52140
52146
  }
52141
52147
  }
52142
52148
 
52143
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/utils.js
52149
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/utils.js
52144
52150
  var makeRootAndArrayPropertiesMutable = (o2) => flatMorph(o2, (k2, v2) => [k2, isArray(v2) ? [...v2] : v2]);
52145
52151
  var arkKind = noSuggest("arkKind");
52146
52152
  var hasArkKind = (value, kind) => value?.[arkKind] === kind;
52147
52153
  var isNode = (value) => hasArkKind(value, "root") || hasArkKind(value, "constraint");
52148
52154
 
52149
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/implement.js
52155
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/implement.js
52150
52156
  var basisKinds = ["unit", "proto", "domain"];
52151
52157
  var structuralKinds = [
52152
52158
  "required",
@@ -52234,7 +52240,7 @@ var implementNode = (_2) => {
52234
52240
  return implementation;
52235
52241
  };
52236
52242
 
52237
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/toJsonSchema.js
52243
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/toJsonSchema.js
52238
52244
  class ToJsonSchemaError extends Error {
52239
52245
  name = "ToJsonSchemaError";
52240
52246
  code;
@@ -52274,7 +52280,7 @@ var ToJsonSchema = {
52274
52280
  defaultConfig
52275
52281
  };
52276
52282
 
52277
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/config.js
52283
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/config.js
52278
52284
  $ark.config ??= {};
52279
52285
  var mergeConfigs = (base, merged) => {
52280
52286
  if (!merged)
@@ -52329,7 +52335,7 @@ var mergeFallbacks = (base, merged) => {
52329
52335
  return result;
52330
52336
  };
52331
52337
  var normalizeFallback = (fallback) => typeof fallback === "function" ? { default: fallback } : fallback ?? {};
52332
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/errors.js
52338
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/errors.js
52333
52339
  class ArkError extends CastableBase {
52334
52340
  [arkKind] = "error";
52335
52341
  path;
@@ -52522,7 +52528,7 @@ var indent = (error) => error.toString().split(`
52522
52528
  `).join(`
52523
52529
  `);
52524
52530
 
52525
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/traversal.js
52531
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/traversal.js
52526
52532
  class Traversal {
52527
52533
  path = [];
52528
52534
  errors = new ArkErrors(this);
@@ -52662,7 +52668,7 @@ var traverseKey = (key, fn2, ctx) => {
52662
52668
  return result;
52663
52669
  };
52664
52670
 
52665
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/node.js
52671
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/node.js
52666
52672
  class BaseNode extends Callable {
52667
52673
  attachments;
52668
52674
  $;
@@ -53011,7 +53017,7 @@ var appendUniqueNodes = (existing, refs) => appendUnique(existing, refs, {
53011
53017
  isEqual: (l2, r2) => l2.equals(r2)
53012
53018
  });
53013
53019
 
53014
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/disjoint.js
53020
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/disjoint.js
53015
53021
  class Disjoint extends Array {
53016
53022
  static init(kind, l2, r2, ctx) {
53017
53023
  return new Disjoint({
@@ -53073,7 +53079,7 @@ var describeReasons = (l2, r2) => `${describeReason(l2)} and ${describeReason(r2
53073
53079
  var describeReason = (value) => isNode(value) ? value.expression : isArray(value) ? value.map(describeReason).join(" | ") || "never" : String(value);
53074
53080
  var writeUnsatisfiableExpressionError = (expression) => `${expression} results in an unsatisfiable type`;
53075
53081
 
53076
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/intersections.js
53082
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/shared/intersections.js
53077
53083
  var intersectionCache = {};
53078
53084
  var intersectNodesRoot = (l2, r2, $2) => intersectOrPipeNodes(l2, r2, {
53079
53085
  $: $2,
@@ -53181,7 +53187,7 @@ var _pipeMorphed = (from, to2, ctx) => {
53181
53187
  });
53182
53188
  };
53183
53189
 
53184
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/constraint.js
53190
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/constraint.js
53185
53191
  class BaseConstraint extends BaseNode {
53186
53192
  constructor(attachments, $2) {
53187
53193
  super(attachments, $2);
@@ -53295,7 +53301,7 @@ var writeInvalidOperandMessage = (kind, expected, actual) => {
53295
53301
  const actualDescription = actual.hasKind("morph") ? "a morph" : actual.isUnknown() ? "unknown" : actual.exclude(expected).defaultShortDescription;
53296
53302
  return `${capitalize2(kind)} operand must be ${expected.description} (was ${actualDescription})`;
53297
53303
  };
53298
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/generic.js
53304
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/generic.js
53299
53305
  var parseGeneric = (paramDefs, bodyDef, $2) => new GenericRoot(paramDefs, bodyDef, $2, $2, null);
53300
53306
 
53301
53307
  class LazyGenericBody extends Callable {
@@ -53366,7 +53372,7 @@ class GenericRoot extends Callable {
53366
53372
  }
53367
53373
  }
53368
53374
  var writeUnsatisfiedParameterConstraintMessage = (name, constraint, arg) => `${name} must be assignable to ${constraint} (was ${arg})`;
53369
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/predicate.js
53375
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/predicate.js
53370
53376
  var implementation = implementNode({
53371
53377
  kind: "predicate",
53372
53378
  hasAssociatedError: true,
@@ -53421,7 +53427,7 @@ var Predicate = {
53421
53427
  Node: PredicateNode
53422
53428
  };
53423
53429
 
53424
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/divisor.js
53430
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/divisor.js
53425
53431
  var implementation2 = implementNode({
53426
53432
  kind: "divisor",
53427
53433
  collapsibleKey: "rule",
@@ -53474,7 +53480,7 @@ var greatestCommonDivisor = (l2, r2) => {
53474
53480
  return greatestCommonDivisor2;
53475
53481
  };
53476
53482
 
53477
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/range.js
53483
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/range.js
53478
53484
  class BaseRange extends InternalPrimitiveConstraint {
53479
53485
  boundOperandKind = operandKindsByBoundKind[this.kind];
53480
53486
  compiledActual = this.boundOperandKind === "value" ? `data` : this.boundOperandKind === "length" ? `data.length` : `data.valueOf()`;
@@ -53554,7 +53560,7 @@ var compileComparator = (kind, exclusive) => `${isKeyOf(kind, boundKindPairsByLo
53554
53560
  var dateLimitToString = (limit) => typeof limit === "string" ? limit : new Date(limit).toLocaleString();
53555
53561
  var writeUnboundableMessage = (root) => `Bounded expression ${root} must be exactly one of number, string, Array, or Date`;
53556
53562
 
53557
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/after.js
53563
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/after.js
53558
53564
  var implementation3 = implementNode({
53559
53565
  kind: "after",
53560
53566
  collapsibleKey: "rule",
@@ -53588,7 +53594,7 @@ var After = {
53588
53594
  Node: AfterNode
53589
53595
  };
53590
53596
 
53591
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/before.js
53597
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/before.js
53592
53598
  var implementation4 = implementNode({
53593
53599
  kind: "before",
53594
53600
  collapsibleKey: "rule",
@@ -53623,7 +53629,7 @@ var Before = {
53623
53629
  Node: BeforeNode
53624
53630
  };
53625
53631
 
53626
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/exactLength.js
53632
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/exactLength.js
53627
53633
  var implementation5 = implementNode({
53628
53634
  kind: "exactLength",
53629
53635
  collapsibleKey: "rule",
@@ -53671,7 +53677,7 @@ var ExactLength = {
53671
53677
  Node: ExactLengthNode
53672
53678
  };
53673
53679
 
53674
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/max.js
53680
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/max.js
53675
53681
  var implementation6 = implementNode({
53676
53682
  kind: "max",
53677
53683
  collapsibleKey: "rule",
@@ -53711,7 +53717,7 @@ var Max = {
53711
53717
  Node: MaxNode
53712
53718
  };
53713
53719
 
53714
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/maxLength.js
53720
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/maxLength.js
53715
53721
  var implementation7 = implementNode({
53716
53722
  kind: "maxLength",
53717
53723
  collapsibleKey: "rule",
@@ -53754,7 +53760,7 @@ var MaxLength = {
53754
53760
  Node: MaxLengthNode
53755
53761
  };
53756
53762
 
53757
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/min.js
53763
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/min.js
53758
53764
  var implementation8 = implementNode({
53759
53765
  kind: "min",
53760
53766
  collapsibleKey: "rule",
@@ -53793,7 +53799,7 @@ var Min = {
53793
53799
  Node: MinNode
53794
53800
  };
53795
53801
 
53796
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/minLength.js
53802
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/minLength.js
53797
53803
  var implementation9 = implementNode({
53798
53804
  kind: "minLength",
53799
53805
  collapsibleKey: "rule",
@@ -53835,7 +53841,7 @@ var MinLength = {
53835
53841
  Node: MinLengthNode
53836
53842
  };
53837
53843
 
53838
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/kinds.js
53844
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/kinds.js
53839
53845
  var boundImplementationsByKind = {
53840
53846
  min: Min.implementation,
53841
53847
  max: Max.implementation,
@@ -53855,7 +53861,7 @@ var boundClassesByKind = {
53855
53861
  before: Before.Node
53856
53862
  };
53857
53863
 
53858
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/pattern.js
53864
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/refinements/pattern.js
53859
53865
  var implementation10 = implementNode({
53860
53866
  kind: "pattern",
53861
53867
  collapsibleKey: "rule",
@@ -53900,7 +53906,7 @@ var Pattern = {
53900
53906
  Node: PatternNode
53901
53907
  };
53902
53908
 
53903
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/parse.js
53909
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/parse.js
53904
53910
  var schemaKindOf = (schema, allowedKinds) => {
53905
53911
  const kind = discriminateRootKind(schema);
53906
53912
  if (allowedKinds && !allowedKinds.includes(kind)) {
@@ -54081,7 +54087,7 @@ var possiblyCollapse = (json, toKey, allowPrimitive) => {
54081
54087
  return json;
54082
54088
  };
54083
54089
 
54084
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/prop.js
54090
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/structure/prop.js
54085
54091
  var intersectProps = (l2, r2, ctx) => {
54086
54092
  if (l2.key !== r2.key)
54087
54093
  return null;
@@ -54148,7 +54154,7 @@ class BaseProp extends BaseConstraint {
54148
54154
  }
54149
54155
  var writeDefaultIntersectionMessage = (lValue, rValue) => `Invalid intersection of default values ${printable(lValue)} & ${printable(rValue)}`;
54150
54156
 
54151
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/optional.js
54157
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/structure/optional.js
54152
54158
  var implementation11 = implementNode({
54153
54159
  kind: "optional",
54154
54160
  hasAssociatedError: false,
@@ -54252,7 +54258,7 @@ var writeNonPrimitiveNonFunctionDefaultValueMessage = (key) => {
54252
54258
  return `Non-primitive default ${keyDescription}must be specified as a function like () => ({my: 'object'})`;
54253
54259
  };
54254
54260
 
54255
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/root.js
54261
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/root.js
54256
54262
  class BaseRoot extends BaseNode {
54257
54263
  constructor(attachments, $2) {
54258
54264
  super(attachments, $2);
@@ -54626,13 +54632,13 @@ var writeLiteralUnionEntriesMessage = (expression) => `Props cannot be extracted
54626
54632
  ${expression}`;
54627
54633
  var writeNonStructuralOperandMessage = (operation, operand) => `${operation} operand must be an object (was ${operand})`;
54628
54634
 
54629
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/utils.js
54635
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/utils.js
54630
54636
  var defineRightwardIntersections = (kind, implementation12) => flatMorph(schemaKindsRightOf(kind), (i2, kind2) => [
54631
54637
  kind2,
54632
54638
  implementation12
54633
54639
  ]);
54634
54640
 
54635
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/alias.js
54641
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/alias.js
54636
54642
  var normalizeAliasSchema = (schema) => typeof schema === "string" ? { reference: schema } : schema;
54637
54643
  var neverIfDisjoint = (result) => result instanceof Disjoint ? $ark.intrinsic.never.internal : result;
54638
54644
  var implementation12 = implementNode({
@@ -54740,7 +54746,7 @@ var Alias = {
54740
54746
  Node: AliasNode
54741
54747
  };
54742
54748
 
54743
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/basis.js
54749
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/basis.js
54744
54750
  class InternalBasis extends BaseRoot {
54745
54751
  traverseApply = (data, ctx) => {
54746
54752
  if (!this.traverseAllows(data, ctx))
@@ -54766,7 +54772,7 @@ class InternalBasis extends BaseRoot {
54766
54772
  }
54767
54773
  }
54768
54774
 
54769
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/domain.js
54775
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/domain.js
54770
54776
  var implementation13 = implementNode({
54771
54777
  kind: "domain",
54772
54778
  hasAssociatedError: true,
@@ -54817,7 +54823,7 @@ var Domain = {
54817
54823
  writeBadAllowNanMessage: (actual) => `numberAllowsNaN may only be specified with domain "number" (was ${actual})`
54818
54824
  };
54819
54825
 
54820
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/intersection.js
54826
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/intersection.js
54821
54827
  var implementation14 = implementNode({
54822
54828
  kind: "intersection",
54823
54829
  hasAssociatedError: true,
@@ -55067,7 +55073,7 @@ var intersectIntersections = (l2, r2, ctx) => {
55067
55073
  });
55068
55074
  };
55069
55075
 
55070
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/morph.js
55076
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/morph.js
55071
55077
  var implementation15 = implementNode({
55072
55078
  kind: "morph",
55073
55079
  hasAssociatedError: false,
@@ -55203,7 +55209,7 @@ var writeMorphIntersectionMessage = (lDescription, rDescription) => `The interse
55203
55209
  Left: ${lDescription}
55204
55210
  Right: ${rDescription}`;
55205
55211
 
55206
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/proto.js
55212
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/proto.js
55207
55213
  var implementation16 = implementNode({
55208
55214
  kind: "proto",
55209
55215
  hasAssociatedError: true,
@@ -55276,7 +55282,7 @@ var Proto = {
55276
55282
  writeInvalidSchemaMessage: (actual) => `instanceOf operand must be a function (was ${domainOf(actual)})`
55277
55283
  };
55278
55284
 
55279
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/union.js
55285
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/union.js
55280
55286
  var implementation17 = implementNode({
55281
55287
  kind: "union",
55282
55288
  hasAssociatedError: true,
@@ -55846,7 +55852,7 @@ var writeOrderedIntersectionMessage = (lDescription, rDescription) => `The inter
55846
55852
  Left: ${lDescription}
55847
55853
  Right: ${rDescription}`;
55848
55854
 
55849
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/unit.js
55855
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/roots/unit.js
55850
55856
  var implementation18 = implementNode({
55851
55857
  kind: "unit",
55852
55858
  hasAssociatedError: true,
@@ -55908,7 +55914,7 @@ var compileEqualityCheck = (unit, serializedValue, negated) => {
55908
55914
  return `data ${negated ? "!" : "="}== ${serializedValue}`;
55909
55915
  };
55910
55916
 
55911
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/index.js
55917
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/structure/index.js
55912
55918
  var implementation19 = implementNode({
55913
55919
  kind: "index",
55914
55920
  hasAssociatedError: false,
@@ -55985,7 +55991,7 @@ var Index = {
55985
55991
  var writeEnumerableIndexBranches = (keys2) => `Index keys ${keys2.join(", ")} should be specified as named props.`;
55986
55992
  var writeInvalidPropertyKeyMessage = (indexSchema) => `Indexed key definition '${indexSchema}' must be a string or symbol`;
55987
55993
 
55988
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/required.js
55994
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/structure/required.js
55989
55995
  var implementation20 = implementNode({
55990
55996
  kind: "required",
55991
55997
  hasAssociatedError: true,
@@ -56024,7 +56030,7 @@ var Required = {
56024
56030
  Node: RequiredNode
56025
56031
  };
56026
56032
 
56027
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/sequence.js
56033
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/structure/sequence.js
56028
56034
  var implementation21 = implementNode({
56029
56035
  kind: "sequence",
56030
56036
  hasAssociatedError: false,
@@ -56406,7 +56412,7 @@ var _intersectSequences = (s2) => {
56406
56412
  };
56407
56413
  var elementIsRequired = (el) => el.kind === "prefix" || el.kind === "postfix";
56408
56414
 
56409
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/structure.js
56415
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/structure/structure.js
56410
56416
  var createStructuralWriter = (childStringProp) => (node) => {
56411
56417
  if (node.props.length || node.index) {
56412
56418
  const parts = node.index?.map((index) => index[childStringProp]) ?? [];
@@ -57089,7 +57095,7 @@ var typeKeyToString = (k2) => hasArkKind(k2, "root") ? k2.expression : printable
57089
57095
  var writeInvalidKeysMessage = (o2, keys2) => `Key${keys2.length === 1 ? "" : "s"} ${keys2.map(typeKeyToString).join(", ")} ${keys2.length === 1 ? "does" : "do"} not exist on ${o2}`;
57090
57096
  var writeDuplicateKeyMessage = (key) => `Duplicate key ${compileSerializedValue(key)}`;
57091
57097
 
57092
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/kinds.js
57098
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/kinds.js
57093
57099
  var nodeImplementationsByKind = {
57094
57100
  ...boundImplementationsByKind,
57095
57101
  alias: Alias.implementation,
@@ -57142,7 +57148,7 @@ var nodeClassesByKind = {
57142
57148
  structure: Structure.Node
57143
57149
  };
57144
57150
 
57145
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/module.js
57151
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/module.js
57146
57152
  class RootModule extends DynamicBase {
57147
57153
  get [arkKind]() {
57148
57154
  return "module";
@@ -57153,7 +57159,7 @@ var bindModule = (module, $2) => new RootModule(flatMorph(module, (alias, value)
57153
57159
  hasArkKind(value, "module") ? bindModule(value, $2) : $2.bindReference(value)
57154
57160
  ]));
57155
57161
 
57156
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/scope.js
57162
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/scope.js
57157
57163
  var schemaBranchesOf = (schema) => isArray(schema) ? schema : ("branches" in schema) && isArray(schema.branches) ? schema.branches : undefined;
57158
57164
  var throwMismatchedNodeRootError = (expected, actual) => throwParseError(`Node of kind ${actual} is not valid as a ${expected} definition`);
57159
57165
  var writeDuplicateAliasError = (alias) => `#${alias} duplicates public alias ${alias}`;
@@ -57560,12 +57566,12 @@ var node = rootSchemaScope.node;
57560
57566
  var defineSchema = rootSchemaScope.defineSchema;
57561
57567
  var genericNode = rootSchemaScope.generic;
57562
57568
 
57563
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/shared.js
57569
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/structure/shared.js
57564
57570
  var arrayIndexSource = `^(?:0|[1-9]\\d*)$`;
57565
57571
  var arrayIndexMatcher = new RegExp(arrayIndexSource);
57566
57572
  var arrayIndexMatcherReference = registeredReference(arrayIndexMatcher);
57567
57573
 
57568
- // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/intrinsic.js
57574
+ // ../../node_modules/.pnpm/@ark+schema@0.55.0/node_modules/@ark/schema/out/intrinsic.js
57569
57575
  var intrinsicBases = schemaScope({
57570
57576
  bigint: "bigint",
57571
57577
  boolean: [{ unit: false }, { unit: true }],
@@ -57617,10 +57623,10 @@ var intrinsic = {
57617
57623
  emptyStructure: node("structure", {}, { prereduced: true })
57618
57624
  };
57619
57625
  $ark.intrinsic = { ...intrinsic };
57620
- // ../../node_modules/.pnpm/arkregex@0.0.2/node_modules/arkregex/out/regex.js
57626
+ // ../../node_modules/.pnpm/arkregex@0.0.3/node_modules/arkregex/out/regex.js
57621
57627
  var regex = (src, flags) => new RegExp(src, flags);
57622
57628
  Object.assign(regex, { as: regex });
57623
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/date.js
57629
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operand/date.js
57624
57630
  var isDateLiteral = (value) => typeof value === "string" && value[0] === "d" && (value[1] === "'" || value[1] === '"') && value[value.length - 1] === value[1];
57625
57631
  var isValidDate = (d2) => d2.toString() !== "Invalid Date";
57626
57632
  var extractDateLiteralSource = (literal) => literal.slice(2, -1);
@@ -57639,7 +57645,7 @@ var maybeParseDate = (source, errorOnFail) => {
57639
57645
  return errorOnFail ? throwParseError(errorOnFail === true ? writeInvalidDateMessage(source) : errorOnFail) : undefined;
57640
57646
  };
57641
57647
 
57642
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/enclosed.js
57648
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operand/enclosed.js
57643
57649
  var parseEnclosed = (s2, enclosing) => {
57644
57650
  const enclosed = s2.scanner.shiftUntilEscapable(untilLookaheadIsClosing[enclosingTokens[enclosing]]);
57645
57651
  if (s2.scanner.lookahead === "")
@@ -57693,12 +57699,12 @@ var enclosingCharDescriptions = {
57693
57699
  };
57694
57700
  var writeUnterminatedEnclosedMessage = (fragment, enclosingStart) => `${enclosingStart}${fragment} requires a closing ${enclosingCharDescriptions[enclosingTokens[enclosingStart]]}`;
57695
57701
 
57696
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/ast/validate.js
57702
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/ast/validate.js
57697
57703
  var writePrefixedPrivateReferenceMessage = (name) => `Private type references should not include '#'. Use '${name}' instead.`;
57698
57704
  var shallowOptionalMessage = "Optional definitions like 'string?' are only valid as properties in an object or tuple";
57699
57705
  var shallowDefaultableMessage = "Defaultable definitions like 'number = 0' are only valid as properties in an object or tuple";
57700
57706
 
57701
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/tokens.js
57707
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/tokens.js
57702
57708
  var terminatingChars = {
57703
57709
  "<": 1,
57704
57710
  ">": 1,
@@ -57716,7 +57722,7 @@ var terminatingChars = {
57716
57722
  };
57717
57723
  var lookaheadIsFinalizing = (lookahead, unscanned) => lookahead === ">" ? unscanned[0] === "=" ? unscanned[1] === "=" : unscanned.trimStart() === "" || isKeyOf(unscanned.trimStart()[0], terminatingChars) : lookahead === "=" ? unscanned[0] !== "=" : lookahead === "," || lookahead === "?";
57718
57724
 
57719
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/genericArgs.js
57725
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operand/genericArgs.js
57720
57726
  var parseGenericArgs = (name, g2, s2) => _parseGenericArgs(name, g2, s2, []);
57721
57727
  var _parseGenericArgs = (name, g2, s2, argNodes) => {
57722
57728
  const argState = s2.parseUntilFinalizer();
@@ -57733,7 +57739,7 @@ var _parseGenericArgs = (name, g2, s2, argNodes) => {
57733
57739
  };
57734
57740
  var writeInvalidGenericArgCountMessage = (name, params, argDefs) => `${name}<${params.join(", ")}> requires exactly ${params.length} args (got ${argDefs.length}${argDefs.length === 0 ? "" : `: ${argDefs.join(", ")}`})`;
57735
57741
 
57736
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/unenclosed.js
57742
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operand/unenclosed.js
57737
57743
  var parseUnenclosed = (s2) => {
57738
57744
  const token = s2.scanner.shiftUntilLookahead(terminatingChars);
57739
57745
  if (token === "keyof")
@@ -57781,10 +57787,10 @@ var writeMissingOperandMessage = (s2) => {
57781
57787
  var writeMissingRightOperandMessage = (token, unscanned = "") => `Token '${token}' requires a right operand${unscanned ? ` before '${unscanned}'` : ""}`;
57782
57788
  var writeExpressionExpectedMessage = (unscanned) => `Expected an expression${unscanned ? ` before '${unscanned}'` : ""}`;
57783
57789
 
57784
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/operand.js
57790
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operand/operand.js
57785
57791
  var parseOperand = (s2) => s2.scanner.lookahead === "" ? s2.error(writeMissingOperandMessage(s2)) : s2.scanner.lookahead === "(" ? s2.shiftedByOne().reduceGroupOpen() : s2.scanner.lookaheadIsIn(enclosingChar) ? parseEnclosed(s2, s2.scanner.shift()) : s2.scanner.lookaheadIsIn(whitespaceChars) ? parseOperand(s2.shiftedByOne()) : s2.scanner.lookahead === "d" ? s2.scanner.nextLookahead in enclosingQuote ? parseEnclosed(s2, `${s2.scanner.shift()}${s2.scanner.shift()}`) : parseUnenclosed(s2) : parseUnenclosed(s2);
57786
57792
 
57787
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/reduce/shared.js
57793
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/reduce/shared.js
57788
57794
  var minComparators = {
57789
57795
  ">": true,
57790
57796
  ">=": true
@@ -57804,7 +57810,7 @@ var writeOpenRangeMessage = (min2, comparator) => `Left bounds are only valid wh
57804
57810
  var writeUnpairableComparatorMessage = (comparator) => `Left-bounded expressions must specify their limits using < or <= (was ${comparator})`;
57805
57811
  var writeMultipleLeftBoundsMessage = (openLimit, openComparator, limit, comparator) => `An expression may have at most one left bound (parsed ${openLimit}${invertedComparators[openComparator]}, ${limit}${invertedComparators[comparator]})`;
57806
57812
 
57807
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/bounds.js
57813
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operator/bounds.js
57808
57814
  var parseBound = (s2, start) => {
57809
57815
  const comparator = shiftComparator(s2, start);
57810
57816
  if (s2.root.hasKind("unit")) {
@@ -57875,14 +57881,14 @@ var parseRightBound = (s2, comparator) => {
57875
57881
  };
57876
57882
  var writeInvalidLimitMessage = (comparator, limit, boundKind) => `Comparator ${boundKind === "left" ? invertedComparators[comparator] : comparator} must be ${boundKind === "left" ? "preceded" : "followed"} by a corresponding literal (was ${limit})`;
57877
57883
 
57878
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/brand.js
57884
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operator/brand.js
57879
57885
  var parseBrand = (s2) => {
57880
57886
  s2.scanner.shiftUntilNonWhitespace();
57881
57887
  const brandName = s2.scanner.shiftUntilLookahead(terminatingChars);
57882
57888
  s2.root = s2.root.brand(brandName);
57883
57889
  };
57884
57890
 
57885
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/divisor.js
57891
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operator/divisor.js
57886
57892
  var parseDivisor = (s2) => {
57887
57893
  s2.scanner.shiftUntilNonWhitespace();
57888
57894
  const divisorToken = s2.scanner.shiftUntilLookahead(terminatingChars);
@@ -57895,7 +57901,7 @@ var parseDivisor = (s2) => {
57895
57901
  };
57896
57902
  var writeInvalidDivisorMessage = (divisor2) => `% operator must be followed by a non-zero integer literal (was ${divisor2})`;
57897
57903
 
57898
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/operator.js
57904
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operator/operator.js
57899
57905
  var parseOperator = (s2) => {
57900
57906
  const lookahead = s2.scanner.shift();
57901
57907
  return lookahead === "" ? s2.finalize("") : lookahead === "[" ? s2.scanner.shift() === "]" ? s2.setRoot(s2.root.array()) : s2.error(incompleteArrayTokenMessage) : lookahead === "|" ? s2.scanner.lookahead === ">" ? s2.shiftedByOne().pushRootToBranch("|>") : s2.pushRootToBranch(lookahead) : lookahead === "&" ? s2.pushRootToBranch(lookahead) : lookahead === ")" ? s2.finalizeGroup() : lookaheadIsFinalizing(lookahead, s2.scanner.unscanned) ? s2.finalize(lookahead) : isKeyOf(lookahead, comparatorStartChars) ? parseBound(s2, lookahead) : lookahead === "%" ? parseDivisor(s2) : lookahead === "#" ? parseBrand(s2) : (lookahead in whitespaceChars) ? parseOperator(s2) : s2.error(writeUnexpectedCharacterMessage(lookahead));
@@ -57903,7 +57909,7 @@ var parseOperator = (s2) => {
57903
57909
  var writeUnexpectedCharacterMessage = (char, shouldBe = "") => `'${char}' is not allowed here${shouldBe && ` (should be ${shouldBe})`}`;
57904
57910
  var incompleteArrayTokenMessage = `Missing expected ']'`;
57905
57911
 
57906
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/default.js
57912
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/shift/operator/default.js
57907
57913
  var parseDefault = (s2) => {
57908
57914
  const baseNode = s2.unsetRoot();
57909
57915
  s2.parseOperand();
@@ -57915,7 +57921,7 @@ var parseDefault = (s2) => {
57915
57921
  };
57916
57922
  var writeNonLiteralDefaultMessage = (defaultDef) => `Default value '${defaultDef}' must be a literal value`;
57917
57923
 
57918
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/string.js
57924
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/string.js
57919
57925
  var parseString = (def, ctx) => {
57920
57926
  const aliasResolution = ctx.$.maybeResolveRoot(def);
57921
57927
  if (aliasResolution)
@@ -57954,7 +57960,7 @@ var parseUntilFinalizer = (s2) => {
57954
57960
  };
57955
57961
  var next = (s2) => s2.hasRoot() ? s2.parseOperator() : s2.parseOperand();
57956
57962
 
57957
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/reduce/dynamic.js
57963
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/reduce/dynamic.js
57958
57964
  class RuntimeState {
57959
57965
  root;
57960
57966
  branches = {
@@ -58091,7 +58097,7 @@ class RuntimeState {
58091
58097
  }
58092
58098
  }
58093
58099
 
58094
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/generic.js
58100
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/generic.js
58095
58101
  var emptyGenericParameterMessage = "An empty string is not a valid generic parameter name";
58096
58102
  var parseGenericParamName = (scanner2, result, ctx) => {
58097
58103
  scanner2.shiftUntilNonWhitespace();
@@ -58119,7 +58125,7 @@ var _parseOptionalConstraint = (scanner2, name, result, ctx) => {
58119
58125
  result.push([name, s2.root]);
58120
58126
  return parseGenericParamName(scanner2, result, ctx);
58121
58127
  };
58122
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/fn.js
58128
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/fn.js
58123
58129
  class InternalFnParser extends Callable {
58124
58130
  constructor($2) {
58125
58131
  const attach = {
@@ -58171,7 +58177,7 @@ class InternalTypedFn extends Callable {
58171
58177
  var badFnReturnTypeMessage = `":" must be followed by exactly one return type e.g:
58172
58178
  fn("string", ":", "number")(s => s.length)`;
58173
58179
 
58174
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/match.js
58180
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/match.js
58175
58181
  class InternalMatchParser extends Callable {
58176
58182
  $;
58177
58183
  constructor($2) {
@@ -58265,7 +58271,7 @@ var throwOnDefault = (errors3) => errors3.throw();
58265
58271
  var chainedAtMessage = `A key matcher must be specified before the first case i.e. match.at('foo') or match.in<object>().at('bar')`;
58266
58272
  var doubleAtMessage = `At most one key matcher may be specified per expression`;
58267
58273
 
58268
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/property.js
58274
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/property.js
58269
58275
  var parseProperty = (def, ctx) => {
58270
58276
  if (isArray(def)) {
58271
58277
  if (def[1] === "=")
@@ -58278,7 +58284,7 @@ var parseProperty = (def, ctx) => {
58278
58284
  var invalidOptionalKeyKindMessage = `Only required keys may make their values optional, e.g. { [mySymbol]: ['number', '?'] }`;
58279
58285
  var invalidDefaultableKeyKindMessage = `Only required keys may specify default values, e.g. { value: 'number = 0' }`;
58280
58286
 
58281
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/objectLiteral.js
58287
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/objectLiteral.js
58282
58288
  var parseObjectLiteral = (def, ctx) => {
58283
58289
  let spread;
58284
58290
  const structure3 = {};
@@ -58363,7 +58369,7 @@ var preparseKey = (key) => typeof key === "symbol" ? { kind: "required", normali
58363
58369
  };
58364
58370
  var writeInvalidSpreadTypeMessage = (def) => `Spread operand must resolve to an object literal type (was ${def})`;
58365
58371
 
58366
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/tupleExpressions.js
58372
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/tupleExpressions.js
58367
58373
  var maybeParseTupleExpression = (def, ctx) => isIndexZeroExpression(def) ? indexZeroParsers[def[0]](def, ctx) : isIndexOneExpression(def) ? indexOneParsers[def[1]](def, ctx) : null;
58368
58374
  var parseKeyOfTuple = (def, ctx) => ctx.$.parseOwnDefinitionFormat(def[1], ctx).keyof();
58369
58375
  var parseBranchTuple = (def, ctx) => {
@@ -58424,7 +58430,7 @@ var indexZeroParsers = defineIndexZeroParsers({
58424
58430
  var isIndexZeroExpression = (def) => indexZeroParsers[def[0]] !== undefined;
58425
58431
  var writeInvalidConstructorMessage = (actual) => `Expected a constructor following 'instanceof' operator (was ${actual})`;
58426
58432
 
58427
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/tupleLiteral.js
58433
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/tupleLiteral.js
58428
58434
  var parseTupleLiteral = (def, ctx) => {
58429
58435
  let sequences = [{}];
58430
58436
  let i2 = 0;
@@ -58520,7 +58526,7 @@ var requiredPostOptionalMessage = "A required element may not follow an optional
58520
58526
  var optionalOrDefaultableAfterVariadicMessage = "An optional element may not follow a variadic element";
58521
58527
  var defaultablePostOptionalMessage = "A defaultable element may not follow an optional element without a default";
58522
58528
 
58523
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/definition.js
58529
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/parser/definition.js
58524
58530
  var parseCache = {};
58525
58531
  var parseInnerDefinition = (def, ctx) => {
58526
58532
  if (typeof def === "string") {
@@ -58559,7 +58565,7 @@ var parseObject = (def, ctx) => {
58559
58565
  var parseTuple = (def, ctx) => maybeParseTupleExpression(def, ctx) ?? parseTupleLiteral(def, ctx);
58560
58566
  var writeBadDefinitionTypeMessage = (actual) => `Type definitions must be strings or objects (was ${actual})`;
58561
58567
 
58562
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/type.js
58568
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/type.js
58563
58569
  class InternalTypeParser extends Callable {
58564
58570
  constructor($2) {
58565
58571
  const attach = Object.assign({
@@ -58601,7 +58607,7 @@ class InternalTypeParser extends Callable {
58601
58607
  }
58602
58608
  }
58603
58609
 
58604
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/scope.js
58610
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/scope.js
58605
58611
  var $arkTypeRegistry = $ark;
58606
58612
 
58607
58613
  class InternalScope extends BaseScope {
@@ -58695,7 +58701,7 @@ var scope2 = Object.assign(InternalScope.scope, {
58695
58701
  });
58696
58702
  var Scope = InternalScope;
58697
58703
 
58698
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/builtins.js
58704
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/builtins.js
58699
58705
  class MergeHkt extends Hkt {
58700
58706
  description = 'merge an object\'s properties onto another like `Merge(User, { isAdmin: "true" })`';
58701
58707
  }
@@ -58705,7 +58711,7 @@ var arkBuiltins = Scope.module({
58705
58711
  Merge
58706
58712
  });
58707
58713
 
58708
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/Array.js
58714
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/Array.js
58709
58715
  class liftFromHkt extends Hkt {
58710
58716
  }
58711
58717
  var liftFrom = genericNode("element")((args2) => {
@@ -58722,7 +58728,7 @@ var arkArray = Scope.module({
58722
58728
  name: "Array"
58723
58729
  });
58724
58730
 
58725
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/FormData.js
58731
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/FormData.js
58726
58732
  var value = rootSchema(["string", registry.FileConstructor]);
58727
58733
  var parsedFormDataValue = value.rawOr(value.array());
58728
58734
  var parsed = rootSchema({
@@ -58759,7 +58765,7 @@ var arkFormData = Scope.module({
58759
58765
  name: "FormData"
58760
58766
  });
58761
58767
 
58762
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/TypedArray.js
58768
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/TypedArray.js
58763
58769
  var TypedArray = Scope.module({
58764
58770
  Int8: ["instanceof", Int8Array],
58765
58771
  Uint8: ["instanceof", Uint8Array],
@@ -58776,7 +58782,7 @@ var TypedArray = Scope.module({
58776
58782
  name: "TypedArray"
58777
58783
  });
58778
58784
 
58779
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/constructors.js
58785
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/constructors.js
58780
58786
  var omittedPrototypes = {
58781
58787
  Boolean: 1,
58782
58788
  Number: 1,
@@ -58789,7 +58795,7 @@ var arkPrototypes = Scope.module({
58789
58795
  FormData: arkFormData
58790
58796
  });
58791
58797
 
58792
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/number.js
58798
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/number.js
58793
58799
  var epoch = rootSchema({
58794
58800
  domain: {
58795
58801
  domain: "number",
@@ -58832,7 +58838,7 @@ var number = Scope.module({
58832
58838
  name: "number"
58833
58839
  });
58834
58840
 
58835
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/string.js
58841
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/string.js
58836
58842
  var regexStringNode = (regex2, description, jsonSchemaFormat) => {
58837
58843
  const schema = {
58838
58844
  domain: "string",
@@ -59223,7 +59229,7 @@ var string = Scope.module({
59223
59229
  name: "string"
59224
59230
  });
59225
59231
 
59226
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/ts.js
59232
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/ts.js
59227
59233
  var arkTsKeywords = Scope.module({
59228
59234
  bigint: intrinsic.bigint,
59229
59235
  boolean: intrinsic.boolean,
@@ -59311,7 +59317,7 @@ var arkTsGenerics = Scope.module({
59311
59317
  Required: Required2
59312
59318
  });
59313
59319
 
59314
- // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/keywords.js
59320
+ // ../../node_modules/.pnpm/arktype@2.1.27/node_modules/arktype/out/keywords/keywords.js
59315
59321
  var ark = scope2({
59316
59322
  ...arkTsKeywords,
59317
59323
  ...arkTsGenerics,
@@ -59399,6 +59405,90 @@ function createServer(listener) {
59399
59405
  import { spawn } from "child_process";
59400
59406
  import { resolve as resolve2 } from "path";
59401
59407
 
59408
+ // ../../packages/atom.io/dist/realtime/index.js
59409
+ var mutexAtoms = atomFamily({
59410
+ key: `mutex`,
59411
+ default: false
59412
+ });
59413
+ var InvariantMap = class extends Map {
59414
+ set(key, value2) {
59415
+ if (this.has(key)) {
59416
+ console.warn(`Tried to set a key that already exists in an InvariantMap`, {
59417
+ key,
59418
+ value: value2
59419
+ });
59420
+ return this;
59421
+ }
59422
+ return super.set(key, value2);
59423
+ }
59424
+ };
59425
+ var SyncGroup = class SyncGroup2 {
59426
+ type = `continuity`;
59427
+ globals = [];
59428
+ actions = [];
59429
+ perspectives = [];
59430
+ key;
59431
+ constructor(key) {
59432
+ this.key = key;
59433
+ }
59434
+ static existing = new InvariantMap;
59435
+ static create(key, builder) {
59436
+ const { type: type2, globals, actions, perspectives } = builder(new SyncGroup2(key));
59437
+ const token = {
59438
+ type: type2,
59439
+ key,
59440
+ globals,
59441
+ actions,
59442
+ perspectives
59443
+ };
59444
+ SyncGroup2.existing.set(key, token);
59445
+ return token;
59446
+ }
59447
+ add(...args2) {
59448
+ switch (args2[0].type) {
59449
+ case `atom`:
59450
+ case `mutable_atom`:
59451
+ this.globals.push(...args2);
59452
+ break;
59453
+ case `transaction`:
59454
+ this.actions.push(...args2);
59455
+ break;
59456
+ case `atom_family`:
59457
+ case `mutable_atom_family`:
59458
+ {
59459
+ const [family, index] = args2;
59460
+ this.perspectives.push({
59461
+ type: `realtime_perspective`,
59462
+ resourceAtoms: family,
59463
+ viewAtoms: index
59464
+ });
59465
+ }
59466
+ break;
59467
+ }
59468
+ return this;
59469
+ }
59470
+ };
59471
+ var isSocketKey = (key) => key.startsWith(`socket::`);
59472
+ var isUserKey = (key) => key.startsWith(`user::`);
59473
+ var isRoomKey = (key) => key.startsWith(`room::`);
59474
+ var roomKeysAtom = mutableAtom({
59475
+ key: `roomIndex`,
59476
+ class: UList
59477
+ });
59478
+ var usersInRooms = join({
59479
+ key: `usersInRooms`,
59480
+ between: [`room`, `user`],
59481
+ cardinality: `1:n`,
59482
+ isAType: isRoomKey,
59483
+ isBType: isUserKey
59484
+ });
59485
+ var usersInMyRoomView = selectorFamily({
59486
+ key: `usersInMyRoomView`,
59487
+ get: (myUsername) => ({ find }) => {
59488
+ return [find(getInternalRelations(usersInRooms), myUsername)];
59489
+ }
59490
+ });
59491
+
59402
59492
  // ../../packages/atom.io/dist/realtime-server/index.js
59403
59493
  var redactorAtoms = atomFamily({
59404
59494
  key: `redactor`,
@@ -59745,11 +59835,11 @@ var socketAtoms = atomFamily({
59745
59835
  key: `sockets`,
59746
59836
  default: null
59747
59837
  });
59748
- var socketIndex = mutableAtom({
59838
+ var socketKeysAtom = mutableAtom({
59749
59839
  key: `socketsIndex`,
59750
59840
  class: UList
59751
59841
  });
59752
- var userIndex = mutableAtom({
59842
+ var userKeysAtom = mutableAtom({
59753
59843
  key: `usersIndex`,
59754
59844
  class: UList
59755
59845
  });
@@ -59757,15 +59847,14 @@ var usersOfSockets = join({
59757
59847
  key: `usersOfSockets`,
59758
59848
  between: [`user`, `socket`],
59759
59849
  cardinality: `1:1`,
59760
- isAType: (s2) => s2.startsWith(`user::`),
59761
- isBType: (s2) => s2.startsWith(`socket::`)
59850
+ isAType: isUserKey,
59851
+ isBType: isSocketKey
59762
59852
  });
59763
- var userMutualSituationalAwarenessIndexes = selectorFamily({
59764
- key: `userMutualSituationalAwarenessIndexes`,
59765
- get: (userId) => () => {
59766
- return [userId];
59767
- }
59853
+ var selfListSelectors = selectorFamily({
59854
+ key: `selfList`,
59855
+ get: (userId) => () => [userId]
59768
59856
  });
59857
+ var ROOMS = globalThis.ATOM_IO_REALTIME_SERVER_ROOMS ?? (globalThis.ATOM_IO_REALTIME_SERVER_ROOMS = /* @__PURE__ */ new Map);
59769
59858
 
59770
59859
  // src/backend.worker.ts
59771
59860
  function worker(from, name, logger = from.logger) {
@@ -59783,7 +59872,7 @@ function worker(from, name, logger = from.logger) {
59783
59872
  // src/database/tempest-db-manager.ts
59784
59873
  import path2 from "path";
59785
59874
 
59786
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/entity.js
59875
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/entity.js
59787
59876
  var entityKind = Symbol.for("drizzle:entityKind");
59788
59877
  var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
59789
59878
  function is(value2, type2) {
@@ -59808,7 +59897,7 @@ function is(value2, type2) {
59808
59897
  return false;
59809
59898
  }
59810
59899
 
59811
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/column.js
59900
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/column.js
59812
59901
  class Column {
59813
59902
  constructor(table, config3) {
59814
59903
  this.table = table;
@@ -59858,7 +59947,7 @@ class Column {
59858
59947
  }
59859
59948
  }
59860
59949
 
59861
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/column-builder.js
59950
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/column-builder.js
59862
59951
  class ColumnBuilder {
59863
59952
  static [entityKind] = "ColumnBuilder";
59864
59953
  config;
@@ -59914,10 +60003,10 @@ class ColumnBuilder {
59914
60003
  }
59915
60004
  }
59916
60005
 
59917
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/table.utils.js
60006
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/table.utils.js
59918
60007
  var TableName = Symbol.for("drizzle:Name");
59919
60008
 
59920
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/foreign-keys.js
60009
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/foreign-keys.js
59921
60010
  class ForeignKeyBuilder {
59922
60011
  static [entityKind] = "PgForeignKeyBuilder";
59923
60012
  reference;
@@ -59971,17 +60060,17 @@ class ForeignKey {
59971
60060
  }
59972
60061
  }
59973
60062
 
59974
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/tracing-utils.js
60063
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/tracing-utils.js
59975
60064
  function iife(fn3, ...args2) {
59976
60065
  return fn3(...args2);
59977
60066
  }
59978
60067
 
59979
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/unique-constraint.js
60068
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/unique-constraint.js
59980
60069
  function uniqueKeyName(table, columns) {
59981
60070
  return `${table[TableName]}_${columns.join("_")}_unique`;
59982
60071
  }
59983
60072
 
59984
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils/array.js
60073
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils/array.js
59985
60074
  function parsePgArrayValue(arrayString, startFrom, inQuotes) {
59986
60075
  for (let i2 = startFrom;i2 < arrayString.length; i2++) {
59987
60076
  const char = arrayString[i2];
@@ -60057,7 +60146,7 @@ function makePgArray(array) {
60057
60146
  }).join(",")}}`;
60058
60147
  }
60059
60148
 
60060
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/common.js
60149
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/common.js
60061
60150
  class PgColumnBuilder extends ColumnBuilder {
60062
60151
  foreignKeyConfigs = [];
60063
60152
  static [entityKind] = "PgColumnBuilder";
@@ -60205,7 +60294,7 @@ class PgArray extends PgColumn {
60205
60294
  }
60206
60295
  }
60207
60296
 
60208
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/enum.js
60297
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/enum.js
60209
60298
  class PgEnumObjectColumnBuilder extends PgColumnBuilder {
60210
60299
  static [entityKind] = "PgEnumObjectColumnBuilder";
60211
60300
  constructor(name, enumInstance) {
@@ -60279,7 +60368,7 @@ function pgEnumObjectWithSchema(enumName, values, schema2) {
60279
60368
  return enumInstance;
60280
60369
  }
60281
60370
 
60282
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/subquery.js
60371
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/subquery.js
60283
60372
  class Subquery {
60284
60373
  static [entityKind] = "Subquery";
60285
60374
  constructor(sql, fields, alias, isWith = false, usedTables = []) {
@@ -60298,10 +60387,10 @@ class WithSubquery extends Subquery {
60298
60387
  static [entityKind] = "WithSubquery";
60299
60388
  }
60300
60389
 
60301
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/version.js
60390
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/version.js
60302
60391
  var version = "0.44.7";
60303
60392
 
60304
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/tracing.js
60393
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/tracing.js
60305
60394
  var otel;
60306
60395
  var rawTracer;
60307
60396
  var tracer = {
@@ -60328,10 +60417,10 @@ var tracer = {
60328
60417
  }
60329
60418
  };
60330
60419
 
60331
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/view-common.js
60420
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/view-common.js
60332
60421
  var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
60333
60422
 
60334
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/table.js
60423
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/table.js
60335
60424
  var Schema = Symbol.for("drizzle:Schema");
60336
60425
  var Columns = Symbol.for("drizzle:Columns");
60337
60426
  var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
@@ -60375,7 +60464,7 @@ function getTableUniqueName(table) {
60375
60464
  return `${table[Schema] ?? "public"}.${table[TableName]}`;
60376
60465
  }
60377
60466
 
60378
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/sql.js
60467
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/sql/sql.js
60379
60468
  function isSQLWrapper(value2) {
60380
60469
  return value2 !== null && value2 !== undefined && typeof value2.getSQL === "function";
60381
60470
  }
@@ -60755,7 +60844,7 @@ Subquery.prototype.getSQL = function() {
60755
60844
  return new SQL([this]);
60756
60845
  };
60757
60846
 
60758
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/alias.js
60847
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/alias.js
60759
60848
  class ColumnAliasProxyHandler {
60760
60849
  constructor(table) {
60761
60850
  this.table = table;
@@ -60834,7 +60923,7 @@ function mapColumnsInSQLToAlias(query, alias) {
60834
60923
  }));
60835
60924
  }
60836
60925
 
60837
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/errors.js
60926
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/errors.js
60838
60927
  class DrizzleError extends Error {
60839
60928
  static [entityKind] = "DrizzleError";
60840
60929
  constructor({ message, cause }) {
@@ -60864,7 +60953,7 @@ class TransactionRollbackError extends DrizzleError {
60864
60953
  }
60865
60954
  }
60866
60955
 
60867
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/logger.js
60956
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/logger.js
60868
60957
  class ConsoleLogWriter {
60869
60958
  static [entityKind] = "ConsoleLogWriter";
60870
60959
  write(message) {
@@ -60896,7 +60985,7 @@ class NoopLogger {
60896
60985
  logQuery() {}
60897
60986
  }
60898
60987
 
60899
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/query-promise.js
60988
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/query-promise.js
60900
60989
  class QueryPromise {
60901
60990
  static [entityKind] = "QueryPromise";
60902
60991
  [Symbol.toStringTag] = "QueryPromise";
@@ -60917,7 +61006,7 @@ class QueryPromise {
60917
61006
  }
60918
61007
  }
60919
61008
 
60920
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/utils.js
61009
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/utils.js
60921
61010
  function mapResultRow(columns, row, joinsNotNullableMap) {
60922
61011
  const nullifyMap = {};
60923
61012
  const result = columns.reduce((result2, { path: path2, field }, columnIndex) => {
@@ -61069,7 +61158,7 @@ function isConfig(data) {
61069
61158
  }
61070
61159
  var textDecoder = typeof TextDecoder === "undefined" ? null : new TextDecoder;
61071
61160
 
61072
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/int.common.js
61161
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/int.common.js
61073
61162
  class PgIntColumnBaseBuilder extends PgColumnBuilder {
61074
61163
  static [entityKind] = "PgIntColumnBaseBuilder";
61075
61164
  generatedAlwaysAsIdentity(sequence2) {
@@ -61108,7 +61197,7 @@ class PgIntColumnBaseBuilder extends PgColumnBuilder {
61108
61197
  }
61109
61198
  }
61110
61199
 
61111
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigint.js
61200
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigint.js
61112
61201
  class PgBigInt53Builder extends PgIntColumnBaseBuilder {
61113
61202
  static [entityKind] = "PgBigInt53Builder";
61114
61203
  constructor(name) {
@@ -61159,7 +61248,7 @@ function bigint(a2, b2) {
61159
61248
  return new PgBigInt64Builder(name);
61160
61249
  }
61161
61250
 
61162
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigserial.js
61251
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigserial.js
61163
61252
  class PgBigSerial53Builder extends PgColumnBuilder {
61164
61253
  static [entityKind] = "PgBigSerial53Builder";
61165
61254
  constructor(name) {
@@ -61213,7 +61302,7 @@ function bigserial(a2, b2) {
61213
61302
  return new PgBigSerial64Builder(name);
61214
61303
  }
61215
61304
 
61216
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/boolean.js
61305
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/boolean.js
61217
61306
  class PgBooleanBuilder extends PgColumnBuilder {
61218
61307
  static [entityKind] = "PgBooleanBuilder";
61219
61308
  constructor(name) {
@@ -61234,7 +61323,7 @@ function boolean(name) {
61234
61323
  return new PgBooleanBuilder(name ?? "");
61235
61324
  }
61236
61325
 
61237
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/char.js
61326
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/char.js
61238
61327
  class PgCharBuilder extends PgColumnBuilder {
61239
61328
  static [entityKind] = "PgCharBuilder";
61240
61329
  constructor(name, config3) {
@@ -61260,7 +61349,7 @@ function char(a2, b2 = {}) {
61260
61349
  return new PgCharBuilder(name, config3);
61261
61350
  }
61262
61351
 
61263
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/cidr.js
61352
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/cidr.js
61264
61353
  class PgCidrBuilder extends PgColumnBuilder {
61265
61354
  static [entityKind] = "PgCidrBuilder";
61266
61355
  constructor(name) {
@@ -61281,7 +61370,7 @@ function cidr(name) {
61281
61370
  return new PgCidrBuilder(name ?? "");
61282
61371
  }
61283
61372
 
61284
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/custom.js
61373
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/custom.js
61285
61374
  class PgCustomColumnBuilder extends PgColumnBuilder {
61286
61375
  static [entityKind] = "PgCustomColumnBuilder";
61287
61376
  constructor(name, fieldConfig, customTypeParams) {
@@ -61322,7 +61411,7 @@ function customType(customTypeParams) {
61322
61411
  };
61323
61412
  }
61324
61413
 
61325
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.common.js
61414
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.common.js
61326
61415
  class PgDateColumnBaseBuilder extends PgColumnBuilder {
61327
61416
  static [entityKind] = "PgDateColumnBaseBuilder";
61328
61417
  defaultNow() {
@@ -61330,7 +61419,7 @@ class PgDateColumnBaseBuilder extends PgColumnBuilder {
61330
61419
  }
61331
61420
  }
61332
61421
 
61333
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.js
61422
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.js
61334
61423
  class PgDateBuilder extends PgDateColumnBaseBuilder {
61335
61424
  static [entityKind] = "PgDateBuilder";
61336
61425
  constructor(name) {
@@ -61378,7 +61467,7 @@ function date(a2, b2) {
61378
61467
  return new PgDateStringBuilder(name);
61379
61468
  }
61380
61469
 
61381
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/double-precision.js
61470
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/double-precision.js
61382
61471
  class PgDoublePrecisionBuilder extends PgColumnBuilder {
61383
61472
  static [entityKind] = "PgDoublePrecisionBuilder";
61384
61473
  constructor(name) {
@@ -61405,7 +61494,7 @@ function doublePrecision(name) {
61405
61494
  return new PgDoublePrecisionBuilder(name ?? "");
61406
61495
  }
61407
61496
 
61408
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/inet.js
61497
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/inet.js
61409
61498
  class PgInetBuilder extends PgColumnBuilder {
61410
61499
  static [entityKind] = "PgInetBuilder";
61411
61500
  constructor(name) {
@@ -61426,7 +61515,7 @@ function inet(name) {
61426
61515
  return new PgInetBuilder(name ?? "");
61427
61516
  }
61428
61517
 
61429
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/integer.js
61518
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/integer.js
61430
61519
  class PgIntegerBuilder extends PgIntColumnBaseBuilder {
61431
61520
  static [entityKind] = "PgIntegerBuilder";
61432
61521
  constructor(name) {
@@ -61453,7 +61542,7 @@ function integer2(name) {
61453
61542
  return new PgIntegerBuilder(name ?? "");
61454
61543
  }
61455
61544
 
61456
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/interval.js
61545
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/interval.js
61457
61546
  class PgIntervalBuilder extends PgColumnBuilder {
61458
61547
  static [entityKind] = "PgIntervalBuilder";
61459
61548
  constructor(name, intervalConfig) {
@@ -61480,7 +61569,7 @@ function interval(a2, b2 = {}) {
61480
61569
  return new PgIntervalBuilder(name, config3);
61481
61570
  }
61482
61571
 
61483
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/json.js
61572
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/json.js
61484
61573
  class PgJsonBuilder extends PgColumnBuilder {
61485
61574
  static [entityKind] = "PgJsonBuilder";
61486
61575
  constructor(name) {
@@ -61517,7 +61606,7 @@ function json3(name) {
61517
61606
  return new PgJsonBuilder(name ?? "");
61518
61607
  }
61519
61608
 
61520
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/jsonb.js
61609
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/jsonb.js
61521
61610
  class PgJsonbBuilder extends PgColumnBuilder {
61522
61611
  static [entityKind] = "PgJsonbBuilder";
61523
61612
  constructor(name) {
@@ -61554,7 +61643,7 @@ function jsonb(name) {
61554
61643
  return new PgJsonbBuilder(name ?? "");
61555
61644
  }
61556
61645
 
61557
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/line.js
61646
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/line.js
61558
61647
  class PgLineBuilder extends PgColumnBuilder {
61559
61648
  static [entityKind] = "PgLineBuilder";
61560
61649
  constructor(name) {
@@ -61610,7 +61699,7 @@ function line(a2, b2) {
61610
61699
  return new PgLineABCBuilder(name);
61611
61700
  }
61612
61701
 
61613
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr.js
61702
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr.js
61614
61703
  class PgMacaddrBuilder extends PgColumnBuilder {
61615
61704
  static [entityKind] = "PgMacaddrBuilder";
61616
61705
  constructor(name) {
@@ -61631,7 +61720,7 @@ function macaddr(name) {
61631
61720
  return new PgMacaddrBuilder(name ?? "");
61632
61721
  }
61633
61722
 
61634
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
61723
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
61635
61724
  class PgMacaddr8Builder extends PgColumnBuilder {
61636
61725
  static [entityKind] = "PgMacaddr8Builder";
61637
61726
  constructor(name) {
@@ -61652,7 +61741,7 @@ function macaddr8(name) {
61652
61741
  return new PgMacaddr8Builder(name ?? "");
61653
61742
  }
61654
61743
 
61655
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/numeric.js
61744
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/numeric.js
61656
61745
  class PgNumericBuilder extends PgColumnBuilder {
61657
61746
  static [entityKind] = "PgNumericBuilder";
61658
61747
  constructor(name, precision, scale) {
@@ -61767,7 +61856,7 @@ function numeric(a2, b2) {
61767
61856
  return mode === "number" ? new PgNumericNumberBuilder(name, config3?.precision, config3?.scale) : mode === "bigint" ? new PgNumericBigIntBuilder(name, config3?.precision, config3?.scale) : new PgNumericBuilder(name, config3?.precision, config3?.scale);
61768
61857
  }
61769
61858
 
61770
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/point.js
61859
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/point.js
61771
61860
  class PgPointTupleBuilder extends PgColumnBuilder {
61772
61861
  static [entityKind] = "PgPointTupleBuilder";
61773
61862
  constructor(name) {
@@ -61829,7 +61918,7 @@ function point(a2, b2) {
61829
61918
  return new PgPointObjectBuilder(name);
61830
61919
  }
61831
61920
 
61832
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
61921
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
61833
61922
  function hexToBytes(hex2) {
61834
61923
  const bytes = [];
61835
61924
  for (let c2 = 0;c2 < hex2.length; c2 += 2) {
@@ -61868,7 +61957,7 @@ function parseEWKB(hex2) {
61868
61957
  throw new Error("Unsupported geometry type");
61869
61958
  }
61870
61959
 
61871
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
61960
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
61872
61961
  class PgGeometryBuilder extends PgColumnBuilder {
61873
61962
  static [entityKind] = "PgGeometryBuilder";
61874
61963
  constructor(name) {
@@ -61923,7 +62012,7 @@ function geometry(a2, b2) {
61923
62012
  return new PgGeometryObjectBuilder(name);
61924
62013
  }
61925
62014
 
61926
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/real.js
62015
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/real.js
61927
62016
  class PgRealBuilder extends PgColumnBuilder {
61928
62017
  static [entityKind] = "PgRealBuilder";
61929
62018
  constructor(name, length) {
@@ -61954,7 +62043,7 @@ function real(name) {
61954
62043
  return new PgRealBuilder(name ?? "");
61955
62044
  }
61956
62045
 
61957
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/serial.js
62046
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/serial.js
61958
62047
  class PgSerialBuilder extends PgColumnBuilder {
61959
62048
  static [entityKind] = "PgSerialBuilder";
61960
62049
  constructor(name) {
@@ -61977,7 +62066,7 @@ function serial(name) {
61977
62066
  return new PgSerialBuilder(name ?? "");
61978
62067
  }
61979
62068
 
61980
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallint.js
62069
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallint.js
61981
62070
  class PgSmallIntBuilder extends PgIntColumnBaseBuilder {
61982
62071
  static [entityKind] = "PgSmallIntBuilder";
61983
62072
  constructor(name) {
@@ -62004,7 +62093,7 @@ function smallint(name) {
62004
62093
  return new PgSmallIntBuilder(name ?? "");
62005
62094
  }
62006
62095
 
62007
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallserial.js
62096
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallserial.js
62008
62097
  class PgSmallSerialBuilder extends PgColumnBuilder {
62009
62098
  static [entityKind] = "PgSmallSerialBuilder";
62010
62099
  constructor(name) {
@@ -62027,7 +62116,7 @@ function smallserial(name) {
62027
62116
  return new PgSmallSerialBuilder(name ?? "");
62028
62117
  }
62029
62118
 
62030
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/text.js
62119
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/text.js
62031
62120
  class PgTextBuilder extends PgColumnBuilder {
62032
62121
  static [entityKind] = "PgTextBuilder";
62033
62122
  constructor(name, config3) {
@@ -62051,7 +62140,7 @@ function text(a2, b2 = {}) {
62051
62140
  return new PgTextBuilder(name, config3);
62052
62141
  }
62053
62142
 
62054
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/time.js
62143
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/time.js
62055
62144
  class PgTimeBuilder extends PgDateColumnBaseBuilder {
62056
62145
  constructor(name, withTimezone, precision) {
62057
62146
  super(name, "string", "PgTime");
@@ -62085,7 +62174,7 @@ function time(a2, b2 = {}) {
62085
62174
  return new PgTimeBuilder(name, config3.withTimezone ?? false, config3.precision);
62086
62175
  }
62087
62176
 
62088
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/timestamp.js
62177
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/timestamp.js
62089
62178
  class PgTimestampBuilder extends PgDateColumnBaseBuilder {
62090
62179
  static [entityKind] = "PgTimestampBuilder";
62091
62180
  constructor(name, withTimezone, precision) {
@@ -62153,7 +62242,7 @@ function timestamp(a2, b2 = {}) {
62153
62242
  return new PgTimestampBuilder(name, config3?.withTimezone ?? false, config3?.precision);
62154
62243
  }
62155
62244
 
62156
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/uuid.js
62245
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/uuid.js
62157
62246
  class PgUUIDBuilder extends PgColumnBuilder {
62158
62247
  static [entityKind] = "PgUUIDBuilder";
62159
62248
  constructor(name) {
@@ -62177,7 +62266,7 @@ function uuid2(name) {
62177
62266
  return new PgUUIDBuilder(name ?? "");
62178
62267
  }
62179
62268
 
62180
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/varchar.js
62269
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/varchar.js
62181
62270
  class PgVarcharBuilder extends PgColumnBuilder {
62182
62271
  static [entityKind] = "PgVarcharBuilder";
62183
62272
  constructor(name, config3) {
@@ -62203,7 +62292,7 @@ function varchar(a2, b2 = {}) {
62203
62292
  return new PgVarcharBuilder(name, config3);
62204
62293
  }
62205
62294
 
62206
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
62295
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
62207
62296
  class PgBinaryVectorBuilder extends PgColumnBuilder {
62208
62297
  static [entityKind] = "PgBinaryVectorBuilder";
62209
62298
  constructor(name, config3) {
@@ -62227,7 +62316,7 @@ function bit(a2, b2) {
62227
62316
  return new PgBinaryVectorBuilder(name, config3);
62228
62317
  }
62229
62318
 
62230
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
62319
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
62231
62320
  class PgHalfVectorBuilder extends PgColumnBuilder {
62232
62321
  static [entityKind] = "PgHalfVectorBuilder";
62233
62322
  constructor(name, config3) {
@@ -62257,7 +62346,7 @@ function halfvec(a2, b2) {
62257
62346
  return new PgHalfVectorBuilder(name, config3);
62258
62347
  }
62259
62348
 
62260
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
62349
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
62261
62350
  class PgSparseVectorBuilder extends PgColumnBuilder {
62262
62351
  static [entityKind] = "PgSparseVectorBuilder";
62263
62352
  constructor(name, config3) {
@@ -62281,7 +62370,7 @@ function sparsevec(a2, b2) {
62281
62370
  return new PgSparseVectorBuilder(name, config3);
62282
62371
  }
62283
62372
 
62284
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
62373
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
62285
62374
  class PgVectorBuilder extends PgColumnBuilder {
62286
62375
  static [entityKind] = "PgVectorBuilder";
62287
62376
  constructor(name, config3) {
@@ -62311,7 +62400,7 @@ function vector(a2, b2) {
62311
62400
  return new PgVectorBuilder(name, config3);
62312
62401
  }
62313
62402
 
62314
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/all.js
62403
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/all.js
62315
62404
  function getPgColumnBuilders() {
62316
62405
  return {
62317
62406
  bigint,
@@ -62349,7 +62438,7 @@ function getPgColumnBuilders() {
62349
62438
  };
62350
62439
  }
62351
62440
 
62352
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/table.js
62441
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/table.js
62353
62442
  var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
62354
62443
  var EnableRLS = Symbol.for("drizzle:EnableRLS");
62355
62444
 
@@ -62397,7 +62486,7 @@ var pgTable = (name, columns, extraConfig) => {
62397
62486
  return pgTableWithSchema(name, columns, extraConfig, undefined);
62398
62487
  };
62399
62488
 
62400
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/primary-keys.js
62489
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/primary-keys.js
62401
62490
  function primaryKey(...config3) {
62402
62491
  if (config3[0].columns) {
62403
62492
  return new PrimaryKeyBuilder(config3[0].columns, config3[0].name);
@@ -62432,7 +62521,7 @@ class PrimaryKey {
62432
62521
  }
62433
62522
  }
62434
62523
 
62435
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/conditions.js
62524
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/conditions.js
62436
62525
  function bindIfParam(value2, column) {
62437
62526
  if (isDriverValueEncoder(column) && !isSQLWrapper(value2) && !is(value2, Param) && !is(value2, Placeholder) && !is(value2, Column) && !is(value2, Table) && !is(value2, View)) {
62438
62527
  return new Param(value2, column);
@@ -62537,7 +62626,7 @@ function notIlike(column, value2) {
62537
62626
  return sql`${column} not ilike ${value2}`;
62538
62627
  }
62539
62628
 
62540
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/select.js
62629
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/select.js
62541
62630
  function asc(column) {
62542
62631
  return sql`${column} asc`;
62543
62632
  }
@@ -62545,7 +62634,7 @@ function desc(column) {
62545
62634
  return sql`${column} desc`;
62546
62635
  }
62547
62636
 
62548
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/relations.js
62637
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/relations.js
62549
62638
  class Relation {
62550
62639
  constructor(sourceTable, referencedTable, relationName) {
62551
62640
  this.sourceTable = sourceTable;
@@ -64712,7 +64801,7 @@ function osUsername() {
64712
64801
  }
64713
64802
  }
64714
64803
 
64715
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/selection-proxy.js
64804
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/selection-proxy.js
64716
64805
  class SelectionProxyHandler {
64717
64806
  static [entityKind] = "SelectionProxyHandler";
64718
64807
  config;
@@ -64764,7 +64853,7 @@ class SelectionProxyHandler {
64764
64853
  }
64765
64854
  }
64766
64855
 
64767
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/indexes.js
64856
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/indexes.js
64768
64857
  class IndexBuilderOn {
64769
64858
  constructor(unique, name) {
64770
64859
  this.unique = unique;
@@ -64846,7 +64935,7 @@ function uniqueIndex(name) {
64846
64935
  return new IndexBuilderOn(true, name);
64847
64936
  }
64848
64937
 
64849
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/casing.js
64938
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/casing.js
64850
64939
  function toSnakeCase(input) {
64851
64940
  const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
64852
64941
  return words.map((word) => word.toLowerCase()).join("_");
@@ -64899,12 +64988,12 @@ class CasingCache {
64899
64988
  }
64900
64989
  }
64901
64990
 
64902
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/view-base.js
64991
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/view-base.js
64903
64992
  class PgViewBase extends View {
64904
64993
  static [entityKind] = "PgViewBase";
64905
64994
  }
64906
64995
 
64907
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/dialect.js
64996
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/dialect.js
64908
64997
  class PgDialect {
64909
64998
  static [entityKind] = "PgDialect";
64910
64999
  casing;
@@ -65462,7 +65551,7 @@ class PgDialect {
65462
65551
  }
65463
65552
  }
65464
65553
 
65465
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/query-builders/query-builder.js
65554
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/query-builders/query-builder.js
65466
65555
  class TypedQueryBuilder {
65467
65556
  static [entityKind] = "TypedQueryBuilder";
65468
65557
  getSelectedFields() {
@@ -65470,7 +65559,7 @@ class TypedQueryBuilder {
65470
65559
  }
65471
65560
  }
65472
65561
 
65473
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/select.js
65562
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/select.js
65474
65563
  class PgSelectBuilder {
65475
65564
  static [entityKind] = "PgSelectBuilder";
65476
65565
  fields;
@@ -65788,7 +65877,7 @@ var intersectAll = createSetOperator("intersect", true);
65788
65877
  var except = createSetOperator("except", false);
65789
65878
  var exceptAll = createSetOperator("except", true);
65790
65879
 
65791
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
65880
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
65792
65881
  class QueryBuilder {
65793
65882
  static [entityKind] = "PgQueryBuilder";
65794
65883
  dialect;
@@ -65866,7 +65955,7 @@ class QueryBuilder {
65866
65955
  }
65867
65956
  }
65868
65957
 
65869
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils.js
65958
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils.js
65870
65959
  function extractUsedTable(table) {
65871
65960
  if (is(table, PgTable)) {
65872
65961
  return [table[Schema] ? `${table[Schema]}.${table[Table.Symbol.BaseName]}` : table[Table.Symbol.BaseName]];
@@ -65880,7 +65969,7 @@ function extractUsedTable(table) {
65880
65969
  return [];
65881
65970
  }
65882
65971
 
65883
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/delete.js
65972
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/delete.js
65884
65973
  class PgDeleteBase extends QueryPromise {
65885
65974
  constructor(table, session, dialect, withList) {
65886
65975
  super();
@@ -65940,7 +66029,7 @@ class PgDeleteBase extends QueryPromise {
65940
66029
  }
65941
66030
  }
65942
66031
 
65943
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/insert.js
66032
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/insert.js
65944
66033
  class PgInsertBuilder {
65945
66034
  constructor(table, session, dialect, withList, overridingSystemValue_) {
65946
66035
  this.table = table;
@@ -66063,7 +66152,7 @@ class PgInsertBase extends QueryPromise {
66063
66152
  }
66064
66153
  }
66065
66154
 
66066
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
66155
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
66067
66156
  class PgRefreshMaterializedView extends QueryPromise {
66068
66157
  constructor(view, session, dialect) {
66069
66158
  super();
@@ -66114,7 +66203,7 @@ class PgRefreshMaterializedView extends QueryPromise {
66114
66203
  };
66115
66204
  }
66116
66205
 
66117
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/update.js
66206
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/update.js
66118
66207
  class PgUpdateBuilder {
66119
66208
  constructor(table, session, dialect, withList) {
66120
66209
  this.table = table;
@@ -66268,7 +66357,7 @@ class PgUpdateBase extends QueryPromise {
66268
66357
  }
66269
66358
  }
66270
66359
 
66271
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/count.js
66360
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/count.js
66272
66361
  class PgCountBuilder extends SQL {
66273
66362
  constructor(params) {
66274
66363
  super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
@@ -66309,7 +66398,7 @@ class PgCountBuilder extends SQL {
66309
66398
  }
66310
66399
  }
66311
66400
 
66312
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query.js
66401
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query.js
66313
66402
  class RelationalQueryBuilder {
66314
66403
  constructor(fullSchema, schema2, tableNamesMap, table, tableConfig, dialect, session) {
66315
66404
  this.fullSchema = fullSchema;
@@ -66392,7 +66481,7 @@ class PgRelationalQuery extends QueryPromise {
66392
66481
  }
66393
66482
  }
66394
66483
 
66395
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/raw.js
66484
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/raw.js
66396
66485
  class PgRaw extends QueryPromise {
66397
66486
  constructor(execute, sql2, query, mapBatchResult) {
66398
66487
  super();
@@ -66419,7 +66508,7 @@ class PgRaw extends QueryPromise {
66419
66508
  }
66420
66509
  }
66421
66510
 
66422
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/db.js
66511
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/db.js
66423
66512
  class PgDatabase {
66424
66513
  constructor(dialect, session, schema2) {
66425
66514
  this.dialect = dialect;
@@ -66545,7 +66634,7 @@ class PgDatabase {
66545
66634
  }
66546
66635
  }
66547
66636
 
66548
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/cache/core/cache.js
66637
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/cache/core/cache.js
66549
66638
  class Cache {
66550
66639
  static [entityKind] = "Cache";
66551
66640
  }
@@ -66571,7 +66660,7 @@ async function hashQuery(sql2, params) {
66571
66660
  return hashHex;
66572
66661
  }
66573
66662
 
66574
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/session.js
66663
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/pg-core/session.js
66575
66664
  class PgPreparedQuery {
66576
66665
  constructor(query, cache, queryMetadata, cacheConfig) {
66577
66666
  this.query = query;
@@ -66703,7 +66792,7 @@ class PgTransaction extends PgDatabase {
66703
66792
  }
66704
66793
  }
66705
66794
 
66706
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/session.js
66795
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/session.js
66707
66796
  class PostgresJsPreparedQuery extends PgPreparedQuery {
66708
66797
  constructor(client, queryString, params, logger, cache, queryMetadata, cacheConfig, fields, _isResponseInArrayMode, customResultMapper) {
66709
66798
  super({ sql: queryString, params }, cache, queryMetadata, cacheConfig);
@@ -66819,7 +66908,7 @@ class PostgresJsTransaction extends PgTransaction {
66819
66908
  }
66820
66909
  }
66821
66910
 
66822
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/driver.js
66911
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.6__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/driver.js
66823
66912
  class PostgresJsDatabase extends PgDatabase {
66824
66913
  static [entityKind] = "PostgresJsDatabase";
66825
66914
  }
@@ -67390,51 +67479,17 @@ function summarizeAccountAction({
67390
67479
  return { subjectExternal, subjectInternal, summary };
67391
67480
  }
67392
67481
 
67393
- // ../../node_modules/.pnpm/resend@6.4.2_@react-email+render@2.0.0_react-dom@19.2.0_react@19.2.0__react@19.2.0_/node_modules/resend/dist/index.mjs
67482
+ // ../../node_modules/.pnpm/resend@6.5.1_@react-email+render@2.0.0_react-dom@19.2.0_react@19.2.0__react@19.2.0_/node_modules/resend/dist/index.mjs
67394
67483
  var import_svix = __toESM(require_dist5(), 1);
67395
- var __defProp3 = Object.defineProperty;
67396
- var __defProps = Object.defineProperties;
67397
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
67398
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
67399
- var __hasOwnProp3 = Object.prototype.hasOwnProperty;
67400
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
67401
- var __defNormalProp = (obj, key, value2) => (key in obj) ? __defProp3(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
67402
- var __spreadValues = (a2, b5) => {
67403
- for (var prop2 in b5 || (b5 = {}))
67404
- if (__hasOwnProp3.call(b5, prop2))
67405
- __defNormalProp(a2, prop2, b5[prop2]);
67406
- if (__getOwnPropSymbols)
67407
- for (var prop2 of __getOwnPropSymbols(b5)) {
67408
- if (__propIsEnum.call(b5, prop2))
67409
- __defNormalProp(a2, prop2, b5[prop2]);
67410
- }
67411
- return a2;
67412
- };
67413
- var __spreadProps = (a2, b5) => __defProps(a2, __getOwnPropDescs(b5));
67414
- var __objRest = (source, exclude) => {
67415
- var target = {};
67416
- for (var prop2 in source)
67417
- if (__hasOwnProp3.call(source, prop2) && exclude.indexOf(prop2) < 0)
67418
- target[prop2] = source[prop2];
67419
- if (source != null && __getOwnPropSymbols)
67420
- for (var prop2 of __getOwnPropSymbols(source)) {
67421
- if (exclude.indexOf(prop2) < 0 && __propIsEnum.call(source, prop2))
67422
- target[prop2] = source[prop2];
67423
- }
67424
- return target;
67425
- };
67426
- var version2 = "6.4.2";
67484
+ var version2 = "6.5.1";
67427
67485
  function buildPaginationQuery(options) {
67428
67486
  const searchParams = new URLSearchParams;
67429
- if (options.limit !== undefined) {
67487
+ if (options.limit !== undefined)
67430
67488
  searchParams.set("limit", options.limit.toString());
67431
- }
67432
- if ("after" in options && options.after !== undefined) {
67489
+ if ("after" in options && options.after !== undefined)
67433
67490
  searchParams.set("after", options.after);
67434
- }
67435
- if ("before" in options && options.before !== undefined) {
67491
+ if ("before" in options && options.before !== undefined)
67436
67492
  searchParams.set("before", options.before);
67437
- }
67438
67493
  return searchParams.toString();
67439
67494
  }
67440
67495
  var ApiKeys = class {
@@ -67442,22 +67497,19 @@ var ApiKeys = class {
67442
67497
  this.resend = resend;
67443
67498
  }
67444
67499
  async create(payload, options = {}) {
67445
- const data = await this.resend.post("/api-keys", payload, options);
67446
- return data;
67500
+ return await this.resend.post("/api-keys", payload, options);
67447
67501
  }
67448
67502
  async list(options = {}) {
67449
67503
  const queryString = buildPaginationQuery(options);
67450
67504
  const url2 = queryString ? `/api-keys?${queryString}` : "/api-keys";
67451
- const data = await this.resend.get(url2);
67452
- return data;
67505
+ return await this.resend.get(url2);
67453
67506
  }
67454
67507
  async remove(id) {
67455
- const data = await this.resend.delete(`/api-keys/${id}`);
67456
- return data;
67508
+ return await this.resend.delete(`/api-keys/${id}`);
67457
67509
  }
67458
67510
  };
67459
67511
  function parseAttachments(attachments) {
67460
- return attachments == null ? undefined : attachments.map((attachment) => ({
67512
+ return attachments?.map((attachment) => ({
67461
67513
  content: attachment.content,
67462
67514
  filename: attachment.filename,
67463
67515
  path: attachment.path,
@@ -67487,13 +67539,13 @@ function parseEmailToApiOptions(email2) {
67487
67539
  };
67488
67540
  }
67489
67541
  async function render3(node4) {
67490
- let render22;
67542
+ let render$1;
67491
67543
  try {
67492
- ({ render: render22 } = await Promise.resolve().then(() => (init_node2(), exports_node)));
67493
- } catch (e2) {
67544
+ ({ render: render$1 } = await Promise.resolve().then(() => (init_node2(), exports_node)));
67545
+ } catch {
67494
67546
  throw new Error("Failed to render React component. Make sure to install `@react-email/render` or `@react-email/components`.");
67495
67547
  }
67496
- return render22(node4);
67548
+ return render$1(node4);
67497
67549
  }
67498
67550
  var Batch = class {
67499
67551
  constructor(resend) {
@@ -67503,7 +67555,6 @@ var Batch = class {
67503
67555
  return this.create(payload, options);
67504
67556
  }
67505
67557
  async create(payload, options) {
67506
- var _a3;
67507
67558
  const emails = [];
67508
67559
  for (const email2 of payload) {
67509
67560
  if (email2.react) {
@@ -67512,12 +67563,13 @@ var Batch = class {
67512
67563
  }
67513
67564
  emails.push(parseEmailToApiOptions(email2));
67514
67565
  }
67515
- const data = await this.resend.post("/emails/batch", emails, __spreadProps(__spreadValues({}, options), {
67516
- headers: __spreadValues({
67517
- "x-batch-validation": (_a3 = options == null ? undefined : options.batchValidation) != null ? _a3 : "strict"
67518
- }, options == null ? undefined : options.headers)
67519
- }));
67520
- return data;
67566
+ return await this.resend.post("/emails/batch", emails, {
67567
+ ...options,
67568
+ headers: {
67569
+ "x-batch-validation": options?.batchValidation ?? "strict",
67570
+ ...options?.headers
67571
+ }
67572
+ });
67521
67573
  }
67522
67574
  };
67523
67575
  var Broadcasts = class {
@@ -67525,10 +67577,9 @@ var Broadcasts = class {
67525
67577
  this.resend = resend;
67526
67578
  }
67527
67579
  async create(payload, options = {}) {
67528
- if (payload.react) {
67580
+ if (payload.react)
67529
67581
  payload.html = await render3(payload.react);
67530
- }
67531
- const data = await this.resend.post("/broadcasts", {
67582
+ return await this.resend.post("/broadcasts", {
67532
67583
  name: payload.name,
67533
67584
  segment_id: payload.segmentId,
67534
67585
  audience_id: payload.audienceId,
@@ -67540,31 +67591,25 @@ var Broadcasts = class {
67540
67591
  text: payload.text,
67541
67592
  topic_id: payload.topicId
67542
67593
  }, options);
67543
- return data;
67544
67594
  }
67545
67595
  async send(id, payload) {
67546
- const data = await this.resend.post(`/broadcasts/${id}/send`, { scheduled_at: payload == null ? undefined : payload.scheduledAt });
67547
- return data;
67596
+ return await this.resend.post(`/broadcasts/${id}/send`, { scheduled_at: payload?.scheduledAt });
67548
67597
  }
67549
67598
  async list(options = {}) {
67550
67599
  const queryString = buildPaginationQuery(options);
67551
67600
  const url2 = queryString ? `/broadcasts?${queryString}` : "/broadcasts";
67552
- const data = await this.resend.get(url2);
67553
- return data;
67601
+ return await this.resend.get(url2);
67554
67602
  }
67555
67603
  async get(id) {
67556
- const data = await this.resend.get(`/broadcasts/${id}`);
67557
- return data;
67604
+ return await this.resend.get(`/broadcasts/${id}`);
67558
67605
  }
67559
67606
  async remove(id) {
67560
- const data = await this.resend.delete(`/broadcasts/${id}`);
67561
- return data;
67607
+ return await this.resend.delete(`/broadcasts/${id}`);
67562
67608
  }
67563
67609
  async update(id, payload) {
67564
- if (payload.react) {
67610
+ if (payload.react)
67565
67611
  payload.html = await render3(payload.react);
67566
- }
67567
- const data = await this.resend.patch(`/broadcasts/${id}`, {
67612
+ return await this.resend.patch(`/broadcasts/${id}`, {
67568
67613
  name: payload.name,
67569
67614
  segment_id: payload.segmentId,
67570
67615
  audience_id: payload.audienceId,
@@ -67576,7 +67621,6 @@ var Broadcasts = class {
67576
67621
  preview_text: payload.previewText,
67577
67622
  topic_id: payload.topicId
67578
67623
  });
67579
- return data;
67580
67624
  }
67581
67625
  };
67582
67626
  function parseContactPropertyFromApi(contactProperty) {
@@ -67589,16 +67633,13 @@ function parseContactPropertyFromApi(contactProperty) {
67589
67633
  };
67590
67634
  }
67591
67635
  function parseContactPropertyToApiOptions(contactProperty) {
67592
- if ("key" in contactProperty) {
67636
+ if ("key" in contactProperty)
67593
67637
  return {
67594
67638
  key: contactProperty.key,
67595
67639
  type: contactProperty.type,
67596
67640
  fallback_value: contactProperty.fallbackValue
67597
67641
  };
67598
- }
67599
- return {
67600
- fallback_value: contactProperty.fallbackValue
67601
- };
67642
+ return { fallback_value: contactProperty.fallbackValue };
67602
67643
  }
67603
67644
  var ContactProperties = class {
67604
67645
  constructor(resend) {
@@ -67606,26 +67647,25 @@ var ContactProperties = class {
67606
67647
  }
67607
67648
  async create(options) {
67608
67649
  const apiOptions = parseContactPropertyToApiOptions(options);
67609
- const data = await this.resend.post("/contact-properties", apiOptions);
67610
- return data;
67650
+ return await this.resend.post("/contact-properties", apiOptions);
67611
67651
  }
67612
67652
  async list(options = {}) {
67613
67653
  const queryString = buildPaginationQuery(options);
67614
67654
  const url2 = queryString ? `/contact-properties?${queryString}` : "/contact-properties";
67615
67655
  const response = await this.resend.get(url2);
67616
- if (response.data) {
67656
+ if (response.data)
67617
67657
  return {
67618
- data: __spreadProps(__spreadValues({}, response.data), {
67658
+ data: {
67659
+ ...response.data,
67619
67660
  data: response.data.data.map((apiContactProperty) => parseContactPropertyFromApi(apiContactProperty))
67620
- }),
67661
+ },
67621
67662
  headers: response.headers,
67622
67663
  error: null
67623
67664
  };
67624
- }
67625
67665
  return response;
67626
67666
  }
67627
67667
  async get(id) {
67628
- if (!id) {
67668
+ if (!id)
67629
67669
  return {
67630
67670
  data: null,
67631
67671
  headers: null,
@@ -67635,21 +67675,20 @@ var ContactProperties = class {
67635
67675
  name: "missing_required_field"
67636
67676
  }
67637
67677
  };
67638
- }
67639
67678
  const response = await this.resend.get(`/contact-properties/${id}`);
67640
- if (response.data) {
67679
+ if (response.data)
67641
67680
  return {
67642
- data: __spreadValues({
67643
- object: "contact_property"
67644
- }, parseContactPropertyFromApi(response.data)),
67681
+ data: {
67682
+ object: "contact_property",
67683
+ ...parseContactPropertyFromApi(response.data)
67684
+ },
67645
67685
  headers: response.headers,
67646
67686
  error: null
67647
67687
  };
67648
- }
67649
67688
  return response;
67650
67689
  }
67651
67690
  async update(payload) {
67652
- if (!payload.id) {
67691
+ if (!payload.id)
67653
67692
  return {
67654
67693
  data: null,
67655
67694
  headers: null,
@@ -67659,13 +67698,11 @@ var ContactProperties = class {
67659
67698
  name: "missing_required_field"
67660
67699
  }
67661
67700
  };
67662
- }
67663
67701
  const apiOptions = parseContactPropertyToApiOptions(payload);
67664
- const data = await this.resend.patch(`/contact-properties/${payload.id}`, apiOptions);
67665
- return data;
67702
+ return await this.resend.patch(`/contact-properties/${payload.id}`, apiOptions);
67666
67703
  }
67667
67704
  async remove(id) {
67668
- if (!id) {
67705
+ if (!id)
67669
67706
  return {
67670
67707
  data: null,
67671
67708
  headers: null,
@@ -67675,9 +67712,7 @@ var ContactProperties = class {
67675
67712
  name: "missing_required_field"
67676
67713
  }
67677
67714
  };
67678
- }
67679
- const data = await this.resend.delete(`/contact-properties/${id}`);
67680
- return data;
67715
+ return await this.resend.delete(`/contact-properties/${id}`);
67681
67716
  }
67682
67717
  };
67683
67718
  var ContactSegments = class {
@@ -67685,7 +67720,7 @@ var ContactSegments = class {
67685
67720
  this.resend = resend;
67686
67721
  }
67687
67722
  async list(options) {
67688
- if (!options.contactId && !options.email) {
67723
+ if (!options.contactId && !options.email)
67689
67724
  return {
67690
67725
  data: null,
67691
67726
  headers: null,
@@ -67695,15 +67730,13 @@ var ContactSegments = class {
67695
67730
  name: "missing_required_field"
67696
67731
  }
67697
67732
  };
67698
- }
67699
67733
  const identifier = options.email ? options.email : options.contactId;
67700
67734
  const queryString = buildPaginationQuery(options);
67701
67735
  const url2 = queryString ? `/contacts/${identifier}/segments?${queryString}` : `/contacts/${identifier}/segments`;
67702
- const data = await this.resend.get(url2);
67703
- return data;
67736
+ return await this.resend.get(url2);
67704
67737
  }
67705
67738
  async add(options) {
67706
- if (!options.contactId && !options.email) {
67739
+ if (!options.contactId && !options.email)
67707
67740
  return {
67708
67741
  data: null,
67709
67742
  headers: null,
@@ -67713,12 +67746,11 @@ var ContactSegments = class {
67713
67746
  name: "missing_required_field"
67714
67747
  }
67715
67748
  };
67716
- }
67717
67749
  const identifier = options.email ? options.email : options.contactId;
67718
67750
  return this.resend.post(`/contacts/${identifier}/segments/${options.segmentId}`);
67719
67751
  }
67720
67752
  async remove(options) {
67721
- if (!options.contactId && !options.email) {
67753
+ if (!options.contactId && !options.email)
67722
67754
  return {
67723
67755
  data: null,
67724
67756
  headers: null,
@@ -67728,7 +67760,6 @@ var ContactSegments = class {
67728
67760
  name: "missing_required_field"
67729
67761
  }
67730
67762
  };
67731
- }
67732
67763
  const identifier = options.email ? options.email : options.contactId;
67733
67764
  return this.resend.delete(`/contacts/${identifier}/segments/${options.segmentId}`);
67734
67765
  }
@@ -67738,7 +67769,7 @@ var ContactTopics = class {
67738
67769
  this.resend = resend;
67739
67770
  }
67740
67771
  async update(payload) {
67741
- if (!payload.id && !payload.email) {
67772
+ if (!payload.id && !payload.email)
67742
67773
  return {
67743
67774
  data: null,
67744
67775
  headers: null,
@@ -67748,12 +67779,11 @@ var ContactTopics = class {
67748
67779
  name: "missing_required_field"
67749
67780
  }
67750
67781
  };
67751
- }
67752
67782
  const identifier = payload.email ? payload.email : payload.id;
67753
67783
  return this.resend.patch(`/contacts/${identifier}/topics`, payload.topics);
67754
67784
  }
67755
67785
  async list(options) {
67756
- if (!options.id && !options.email) {
67786
+ if (!options.id && !options.email)
67757
67787
  return {
67758
67788
  data: null,
67759
67789
  headers: null,
@@ -67763,7 +67793,6 @@ var ContactTopics = class {
67763
67793
  name: "missing_required_field"
67764
67794
  }
67765
67795
  };
67766
- }
67767
67796
  const identifier = options.email ? options.email : options.id;
67768
67797
  const queryString = buildPaginationQuery(options);
67769
67798
  const url2 = queryString ? `/contacts/${identifier}/topics?${queryString}` : `/contacts/${identifier}/topics`;
@@ -67777,44 +67806,37 @@ var Contacts = class {
67777
67806
  this.segments = new ContactSegments(this.resend);
67778
67807
  }
67779
67808
  async create(payload, options = {}) {
67780
- if (!payload.audienceId) {
67781
- const data2 = await this.resend.post("/contacts", {
67809
+ if (!payload.audienceId)
67810
+ return await this.resend.post("/contacts", {
67782
67811
  unsubscribed: payload.unsubscribed,
67783
67812
  email: payload.email,
67784
67813
  first_name: payload.firstName,
67785
67814
  last_name: payload.lastName,
67786
67815
  properties: payload.properties
67787
67816
  }, options);
67788
- return data2;
67789
- }
67790
- const data = await this.resend.post(`/audiences/${payload.audienceId}/contacts`, {
67817
+ return await this.resend.post(`/audiences/${payload.audienceId}/contacts`, {
67791
67818
  unsubscribed: payload.unsubscribed,
67792
67819
  email: payload.email,
67793
67820
  first_name: payload.firstName,
67794
67821
  last_name: payload.lastName,
67795
67822
  properties: payload.properties
67796
67823
  }, options);
67797
- return data;
67798
67824
  }
67799
67825
  async list(options = {}) {
67800
- var _a3;
67801
- const segmentId = (_a3 = options.segmentId) != null ? _a3 : options.audienceId;
67826
+ const segmentId = options.segmentId ?? options.audienceId;
67802
67827
  if (!segmentId) {
67803
- const queryString2 = buildPaginationQuery(options);
67804
- const url22 = queryString2 ? `/contacts?${queryString2}` : "/contacts";
67805
- const data2 = await this.resend.get(url22);
67806
- return data2;
67828
+ const queryString$1 = buildPaginationQuery(options);
67829
+ const url$1 = queryString$1 ? `/contacts?${queryString$1}` : "/contacts";
67830
+ return await this.resend.get(url$1);
67807
67831
  }
67808
67832
  const queryString = buildPaginationQuery(options);
67809
67833
  const url2 = queryString ? `/segments/${segmentId}/contacts?${queryString}` : `/segments/${segmentId}/contacts`;
67810
- const data = await this.resend.get(url2);
67811
- return data;
67834
+ return await this.resend.get(url2);
67812
67835
  }
67813
67836
  async get(options) {
67814
- if (typeof options === "string") {
67837
+ if (typeof options === "string")
67815
67838
  return this.resend.get(`/contacts/${options}`);
67816
- }
67817
- if (!options.id && !options.email) {
67839
+ if (!options.id && !options.email)
67818
67840
  return {
67819
67841
  data: null,
67820
67842
  headers: null,
@@ -67824,14 +67846,12 @@ var Contacts = class {
67824
67846
  name: "missing_required_field"
67825
67847
  }
67826
67848
  };
67827
- }
67828
- if (!options.audienceId) {
67829
- return this.resend.get(`/contacts/${(options == null ? undefined : options.email) ? options == null ? undefined : options.email : options == null ? undefined : options.id}`);
67830
- }
67831
- return this.resend.get(`/audiences/${options.audienceId}/contacts/${(options == null ? undefined : options.email) ? options == null ? undefined : options.email : options == null ? undefined : options.id}`);
67849
+ if (!options.audienceId)
67850
+ return this.resend.get(`/contacts/${options?.email ? options?.email : options?.id}`);
67851
+ return this.resend.get(`/audiences/${options.audienceId}/contacts/${options?.email ? options?.email : options?.id}`);
67832
67852
  }
67833
67853
  async update(options) {
67834
- if (!options.id && !options.email) {
67854
+ if (!options.id && !options.email)
67835
67855
  return {
67836
67856
  data: null,
67837
67857
  headers: null,
@@ -67841,29 +67861,24 @@ var Contacts = class {
67841
67861
  name: "missing_required_field"
67842
67862
  }
67843
67863
  };
67844
- }
67845
- if (!options.audienceId) {
67846
- const data2 = await this.resend.patch(`/contacts/${(options == null ? undefined : options.email) ? options == null ? undefined : options.email : options == null ? undefined : options.id}`, {
67864
+ if (!options.audienceId)
67865
+ return await this.resend.patch(`/contacts/${options?.email ? options?.email : options?.id}`, {
67847
67866
  unsubscribed: options.unsubscribed,
67848
67867
  first_name: options.firstName,
67849
67868
  last_name: options.lastName,
67850
67869
  properties: options.properties
67851
67870
  });
67852
- return data2;
67853
- }
67854
- const data = await this.resend.patch(`/audiences/${options.audienceId}/contacts/${(options == null ? undefined : options.email) ? options == null ? undefined : options.email : options == null ? undefined : options.id}`, {
67871
+ return await this.resend.patch(`/audiences/${options.audienceId}/contacts/${options?.email ? options?.email : options?.id}`, {
67855
67872
  unsubscribed: options.unsubscribed,
67856
67873
  first_name: options.firstName,
67857
67874
  last_name: options.lastName,
67858
67875
  properties: options.properties
67859
67876
  });
67860
- return data;
67861
67877
  }
67862
67878
  async remove(payload) {
67863
- if (typeof payload === "string") {
67879
+ if (typeof payload === "string")
67864
67880
  return this.resend.delete(`/contacts/${payload}`);
67865
- }
67866
- if (!payload.id && !payload.email) {
67881
+ if (!payload.id && !payload.email)
67867
67882
  return {
67868
67883
  data: null,
67869
67884
  headers: null,
@@ -67873,18 +67888,17 @@ var Contacts = class {
67873
67888
  name: "missing_required_field"
67874
67889
  }
67875
67890
  };
67876
- }
67877
- if (!payload.audienceId) {
67878
- return this.resend.delete(`/contacts/${(payload == null ? undefined : payload.email) ? payload == null ? undefined : payload.email : payload == null ? undefined : payload.id}`);
67879
- }
67880
- return this.resend.delete(`/audiences/${payload.audienceId}/contacts/${(payload == null ? undefined : payload.email) ? payload == null ? undefined : payload.email : payload == null ? undefined : payload.id}`);
67891
+ if (!payload.audienceId)
67892
+ return this.resend.delete(`/contacts/${payload?.email ? payload?.email : payload?.id}`);
67893
+ return this.resend.delete(`/audiences/${payload.audienceId}/contacts/${payload?.email ? payload?.email : payload?.id}`);
67881
67894
  }
67882
67895
  };
67883
67896
  function parseDomainToApiOptions(domain3) {
67884
67897
  return {
67885
67898
  name: domain3.name,
67886
67899
  region: domain3.region,
67887
- custom_return_path: domain3.customReturnPath
67900
+ custom_return_path: domain3.customReturnPath,
67901
+ capabilities: domain3.capabilities
67888
67902
  };
67889
67903
  }
67890
67904
  var Domains = class {
@@ -67892,34 +67906,29 @@ var Domains = class {
67892
67906
  this.resend = resend;
67893
67907
  }
67894
67908
  async create(payload, options = {}) {
67895
- const data = await this.resend.post("/domains", parseDomainToApiOptions(payload), options);
67896
- return data;
67909
+ return await this.resend.post("/domains", parseDomainToApiOptions(payload), options);
67897
67910
  }
67898
67911
  async list(options = {}) {
67899
67912
  const queryString = buildPaginationQuery(options);
67900
67913
  const url2 = queryString ? `/domains?${queryString}` : "/domains";
67901
- const data = await this.resend.get(url2);
67902
- return data;
67914
+ return await this.resend.get(url2);
67903
67915
  }
67904
67916
  async get(id) {
67905
- const data = await this.resend.get(`/domains/${id}`);
67906
- return data;
67917
+ return await this.resend.get(`/domains/${id}`);
67907
67918
  }
67908
67919
  async update(payload) {
67909
- const data = await this.resend.patch(`/domains/${payload.id}`, {
67920
+ return await this.resend.patch(`/domains/${payload.id}`, {
67910
67921
  click_tracking: payload.clickTracking,
67911
67922
  open_tracking: payload.openTracking,
67912
- tls: payload.tls
67923
+ tls: payload.tls,
67924
+ capabilities: payload.capabilities
67913
67925
  });
67914
- return data;
67915
67926
  }
67916
67927
  async remove(id) {
67917
- const data = await this.resend.delete(`/domains/${id}`);
67918
- return data;
67928
+ return await this.resend.delete(`/domains/${id}`);
67919
67929
  }
67920
67930
  async verify(id) {
67921
- const data = await this.resend.post(`/domains/${id}/verify`);
67922
- return data;
67931
+ return await this.resend.post(`/domains/${id}/verify`);
67923
67932
  }
67924
67933
  };
67925
67934
  var Attachments = class {
@@ -67928,48 +67937,42 @@ var Attachments = class {
67928
67937
  }
67929
67938
  async get(options) {
67930
67939
  const { emailId, id } = options;
67931
- const data = await this.resend.get(`/emails/${emailId}/attachments/${id}`);
67932
- return data;
67940
+ return await this.resend.get(`/emails/${emailId}/attachments/${id}`);
67933
67941
  }
67934
67942
  async list(options) {
67935
67943
  const { emailId } = options;
67936
67944
  const queryString = buildPaginationQuery(options);
67937
67945
  const url2 = queryString ? `/emails/${emailId}/attachments?${queryString}` : `/emails/${emailId}/attachments`;
67938
- const data = await this.resend.get(url2);
67939
- return data;
67946
+ return await this.resend.get(url2);
67940
67947
  }
67941
67948
  };
67942
- var Attachments2 = class {
67949
+ var Attachments$1 = class {
67943
67950
  constructor(resend) {
67944
67951
  this.resend = resend;
67945
67952
  }
67946
67953
  async get(options) {
67947
67954
  const { emailId, id } = options;
67948
- const data = await this.resend.get(`/emails/receiving/${emailId}/attachments/${id}`);
67949
- return data;
67955
+ return await this.resend.get(`/emails/receiving/${emailId}/attachments/${id}`);
67950
67956
  }
67951
67957
  async list(options) {
67952
67958
  const { emailId } = options;
67953
67959
  const queryString = buildPaginationQuery(options);
67954
67960
  const url2 = queryString ? `/emails/receiving/${emailId}/attachments?${queryString}` : `/emails/receiving/${emailId}/attachments`;
67955
- const data = await this.resend.get(url2);
67956
- return data;
67961
+ return await this.resend.get(url2);
67957
67962
  }
67958
67963
  };
67959
67964
  var Receiving = class {
67960
67965
  constructor(resend) {
67961
67966
  this.resend = resend;
67962
- this.attachments = new Attachments2(resend);
67967
+ this.attachments = new Attachments$1(resend);
67963
67968
  }
67964
67969
  async get(id) {
67965
- const data = await this.resend.get(`/emails/receiving/${id}`);
67966
- return data;
67970
+ return await this.resend.get(`/emails/receiving/${id}`);
67967
67971
  }
67968
67972
  async list(options = {}) {
67969
67973
  const queryString = buildPaginationQuery(options);
67970
67974
  const url2 = queryString ? `/emails/receiving?${queryString}` : "/emails/receiving";
67971
- const data = await this.resend.get(url2);
67972
- return data;
67975
+ return await this.resend.get(url2);
67973
67976
  }
67974
67977
  };
67975
67978
  var Emails = class {
@@ -67982,31 +67985,23 @@ var Emails = class {
67982
67985
  return this.create(payload, options);
67983
67986
  }
67984
67987
  async create(payload, options = {}) {
67985
- if (payload.react) {
67988
+ if (payload.react)
67986
67989
  payload.html = await render3(payload.react);
67987
- }
67988
- const data = await this.resend.post("/emails", parseEmailToApiOptions(payload), options);
67989
- return data;
67990
+ return await this.resend.post("/emails", parseEmailToApiOptions(payload), options);
67990
67991
  }
67991
67992
  async get(id) {
67992
- const data = await this.resend.get(`/emails/${id}`);
67993
- return data;
67993
+ return await this.resend.get(`/emails/${id}`);
67994
67994
  }
67995
67995
  async list(options = {}) {
67996
67996
  const queryString = buildPaginationQuery(options);
67997
67997
  const url2 = queryString ? `/emails?${queryString}` : "/emails";
67998
- const data = await this.resend.get(url2);
67999
- return data;
67998
+ return await this.resend.get(url2);
68000
67999
  }
68001
68000
  async update(payload) {
68002
- const data = await this.resend.patch(`/emails/${payload.id}`, {
68003
- scheduled_at: payload.scheduledAt
68004
- });
68005
- return data;
68001
+ return await this.resend.patch(`/emails/${payload.id}`, { scheduled_at: payload.scheduledAt });
68006
68002
  }
68007
68003
  async cancel(id) {
68008
- const data = await this.resend.post(`/emails/${id}/cancel`);
68009
- return data;
68004
+ return await this.resend.post(`/emails/${id}/cancel`);
68010
68005
  }
68011
68006
  };
68012
68007
  var Segments = class {
@@ -68014,22 +68009,18 @@ var Segments = class {
68014
68009
  this.resend = resend;
68015
68010
  }
68016
68011
  async create(payload, options = {}) {
68017
- const data = await this.resend.post("/segments", payload, options);
68018
- return data;
68012
+ return await this.resend.post("/segments", payload, options);
68019
68013
  }
68020
68014
  async list(options = {}) {
68021
68015
  const queryString = buildPaginationQuery(options);
68022
68016
  const url2 = queryString ? `/segments?${queryString}` : "/segments";
68023
- const data = await this.resend.get(url2);
68024
- return data;
68017
+ return await this.resend.get(url2);
68025
68018
  }
68026
68019
  async get(id) {
68027
- const data = await this.resend.get(`/segments/${id}`);
68028
- return data;
68020
+ return await this.resend.get(`/segments/${id}`);
68029
68021
  }
68030
68022
  async remove(id) {
68031
- const data = await this.resend.delete(`/segments/${id}`);
68032
- return data;
68023
+ return await this.resend.delete(`/segments/${id}`);
68033
68024
  }
68034
68025
  };
68035
68026
  function getPaginationQueryProperties(options = {}) {
@@ -68043,7 +68034,7 @@ function getPaginationQueryProperties(options = {}) {
68043
68034
  return query.size > 0 ? `?${query.toString()}` : "";
68044
68035
  }
68045
68036
  function parseVariables(variables) {
68046
- return variables == null ? undefined : variables.map((variable) => ({
68037
+ return variables?.map((variable) => ({
68047
68038
  key: variable.key,
68048
68039
  type: variable.type,
68049
68040
  fallback_value: variable.fallbackValue
@@ -68071,13 +68062,12 @@ var ChainableTemplateResult = class {
68071
68062
  }
68072
68063
  async publish() {
68073
68064
  const { data, error } = await this.promise;
68074
- if (error) {
68065
+ if (error)
68075
68066
  return {
68076
68067
  data: null,
68077
68068
  headers: null,
68078
68069
  error
68079
68070
  };
68080
- }
68081
68071
  return this.publishFn(data.id);
68082
68072
  }
68083
68073
  };
@@ -68086,45 +68076,38 @@ var Templates = class {
68086
68076
  this.resend = resend;
68087
68077
  }
68088
68078
  create(payload) {
68089
- const createPromise = this.performCreate(payload);
68090
- return new ChainableTemplateResult(createPromise, this.publish.bind(this));
68079
+ return new ChainableTemplateResult(this.performCreate(payload), this.publish.bind(this));
68091
68080
  }
68092
68081
  async performCreate(payload) {
68093
68082
  if (payload.react) {
68094
- if (!this.renderAsync) {
68083
+ if (!this.renderAsync)
68095
68084
  try {
68096
68085
  const { renderAsync } = await Promise.resolve().then(() => (init_node2(), exports_node));
68097
68086
  this.renderAsync = renderAsync;
68098
- } catch (e2) {
68087
+ } catch {
68099
68088
  throw new Error("Failed to render React component. Make sure to install `@react-email/render`");
68100
68089
  }
68101
- }
68102
68090
  payload.html = await this.renderAsync(payload.react);
68103
68091
  }
68104
68092
  return this.resend.post("/templates", parseTemplateToApiOptions(payload));
68105
68093
  }
68106
68094
  async remove(identifier) {
68107
- const data = await this.resend.delete(`/templates/${identifier}`);
68108
- return data;
68095
+ return await this.resend.delete(`/templates/${identifier}`);
68109
68096
  }
68110
68097
  async get(identifier) {
68111
- const data = await this.resend.get(`/templates/${identifier}`);
68112
- return data;
68098
+ return await this.resend.get(`/templates/${identifier}`);
68113
68099
  }
68114
68100
  async list(options = {}) {
68115
68101
  return this.resend.get(`/templates${getPaginationQueryProperties(options)}`);
68116
68102
  }
68117
68103
  duplicate(identifier) {
68118
- const promiseDuplicate = this.resend.post(`/templates/${identifier}/duplicate`);
68119
- return new ChainableTemplateResult(promiseDuplicate, this.publish.bind(this));
68104
+ return new ChainableTemplateResult(this.resend.post(`/templates/${identifier}/duplicate`), this.publish.bind(this));
68120
68105
  }
68121
68106
  async publish(identifier) {
68122
- const data = await this.resend.post(`/templates/${identifier}/publish`);
68123
- return data;
68107
+ return await this.resend.post(`/templates/${identifier}/publish`);
68124
68108
  }
68125
68109
  async update(identifier, payload) {
68126
- const data = await this.resend.patch(`/templates/${identifier}`, parseTemplateToApiOptions(payload));
68127
- return data;
68110
+ return await this.resend.patch(`/templates/${identifier}`, parseTemplateToApiOptions(payload));
68128
68111
  }
68129
68112
  };
68130
68113
  var Topics = class {
@@ -68132,18 +68115,17 @@ var Topics = class {
68132
68115
  this.resend = resend;
68133
68116
  }
68134
68117
  async create(payload) {
68135
- const _a3 = payload, { defaultSubscription } = _a3, body = __objRest(_a3, ["defaultSubscription"]);
68136
- const data = await this.resend.post("/topics", __spreadProps(__spreadValues({}, body), {
68118
+ const { defaultSubscription, ...body } = payload;
68119
+ return await this.resend.post("/topics", {
68120
+ ...body,
68137
68121
  default_subscription: defaultSubscription
68138
- }));
68139
- return data;
68122
+ });
68140
68123
  }
68141
68124
  async list() {
68142
- const data = await this.resend.get("/topics");
68143
- return data;
68125
+ return await this.resend.get("/topics");
68144
68126
  }
68145
68127
  async get(id) {
68146
- if (!id) {
68128
+ if (!id)
68147
68129
  return {
68148
68130
  data: null,
68149
68131
  headers: null,
@@ -68153,12 +68135,10 @@ var Topics = class {
68153
68135
  name: "missing_required_field"
68154
68136
  }
68155
68137
  };
68156
- }
68157
- const data = await this.resend.get(`/topics/${id}`);
68158
- return data;
68138
+ return await this.resend.get(`/topics/${id}`);
68159
68139
  }
68160
68140
  async update(payload) {
68161
- if (!payload.id) {
68141
+ if (!payload.id)
68162
68142
  return {
68163
68143
  data: null,
68164
68144
  headers: null,
@@ -68168,12 +68148,10 @@ var Topics = class {
68168
68148
  name: "missing_required_field"
68169
68149
  }
68170
68150
  };
68171
- }
68172
- const data = await this.resend.patch(`/topics/${payload.id}`, payload);
68173
- return data;
68151
+ return await this.resend.patch(`/topics/${payload.id}`, payload);
68174
68152
  }
68175
68153
  async remove(id) {
68176
- if (!id) {
68154
+ if (!id)
68177
68155
  return {
68178
68156
  data: null,
68179
68157
  headers: null,
@@ -68183,9 +68161,7 @@ var Topics = class {
68183
68161
  name: "missing_required_field"
68184
68162
  }
68185
68163
  };
68186
- }
68187
- const data = await this.resend.delete(`/topics/${id}`);
68188
- return data;
68164
+ return await this.resend.delete(`/topics/${id}`);
68189
68165
  }
68190
68166
  };
68191
68167
  var Webhooks = class {
@@ -68193,30 +68169,24 @@ var Webhooks = class {
68193
68169
  this.resend = resend;
68194
68170
  }
68195
68171
  async create(payload, options = {}) {
68196
- const data = await this.resend.post("/webhooks", payload, options);
68197
- return data;
68172
+ return await this.resend.post("/webhooks", payload, options);
68198
68173
  }
68199
68174
  async get(id) {
68200
- const data = await this.resend.get(`/webhooks/${id}`);
68201
- return data;
68175
+ return await this.resend.get(`/webhooks/${id}`);
68202
68176
  }
68203
68177
  async list(options = {}) {
68204
68178
  const queryString = buildPaginationQuery(options);
68205
68179
  const url2 = queryString ? `/webhooks?${queryString}` : "/webhooks";
68206
- const data = await this.resend.get(url2);
68207
- return data;
68180
+ return await this.resend.get(url2);
68208
68181
  }
68209
68182
  async update(id, payload) {
68210
- const data = await this.resend.patch(`/webhooks/${id}`, payload);
68211
- return data;
68183
+ return await this.resend.patch(`/webhooks/${id}`, payload);
68212
68184
  }
68213
68185
  async remove(id) {
68214
- const data = await this.resend.delete(`/webhooks/${id}`);
68215
- return data;
68186
+ return await this.resend.delete(`/webhooks/${id}`);
68216
68187
  }
68217
68188
  verify(payload) {
68218
- const webhook = new import_svix.Webhook(payload.webhookSecret);
68219
- return webhook.verify(payload.payload, {
68189
+ return new import_svix.Webhook(payload.webhookSecret).verify(payload.payload, {
68220
68190
  "svix-id": payload.headers.id,
68221
68191
  "svix-timestamp": payload.headers.timestamp,
68222
68192
  "svix-signature": payload.headers.signature
@@ -68243,12 +68213,10 @@ var Resend = class {
68243
68213
  this.templates = new Templates(this);
68244
68214
  this.topics = new Topics(this);
68245
68215
  if (!key) {
68246
- if (typeof process !== "undefined" && process.env) {
68216
+ if (typeof process !== "undefined" && process.env)
68247
68217
  this.key = process.env.RESEND_API_KEY;
68248
- }
68249
- if (!this.key) {
68218
+ if (!this.key)
68250
68219
  throw new Error('Missing API key. Pass it to the constructor `new Resend("re_123")`');
68251
- }
68252
68220
  }
68253
68221
  this.headers = new Headers({
68254
68222
  Authorization: `Bearer ${this.key}`,
@@ -68259,7 +68227,7 @@ var Resend = class {
68259
68227
  async fetchRequest(path3, options = {}) {
68260
68228
  try {
68261
68229
  const response = await fetch(`${baseUrl}${path3}`, options);
68262
- if (!response.ok) {
68230
+ if (!response.ok)
68263
68231
  try {
68264
68232
  const rawError = await response.text();
68265
68233
  return {
@@ -68268,7 +68236,7 @@ var Resend = class {
68268
68236
  headers: Object.fromEntries(response.headers.entries())
68269
68237
  };
68270
68238
  } catch (err) {
68271
- if (err instanceof SyntaxError) {
68239
+ if (err instanceof SyntaxError)
68272
68240
  return {
68273
68241
  data: null,
68274
68242
  error: {
@@ -68278,33 +68246,32 @@ var Resend = class {
68278
68246
  },
68279
68247
  headers: Object.fromEntries(response.headers.entries())
68280
68248
  };
68281
- }
68282
68249
  const error = {
68283
68250
  message: response.statusText,
68284
68251
  statusCode: response.status,
68285
68252
  name: "application_error"
68286
68253
  };
68287
- if (err instanceof Error) {
68254
+ if (err instanceof Error)
68288
68255
  return {
68289
68256
  data: null,
68290
- error: __spreadProps(__spreadValues({}, error), { message: err.message }),
68257
+ error: {
68258
+ ...error,
68259
+ message: err.message
68260
+ },
68291
68261
  headers: Object.fromEntries(response.headers.entries())
68292
68262
  };
68293
- }
68294
68263
  return {
68295
68264
  data: null,
68296
68265
  error,
68297
68266
  headers: Object.fromEntries(response.headers.entries())
68298
68267
  };
68299
68268
  }
68300
- }
68301
- const data = await response.json();
68302
68269
  return {
68303
- data,
68270
+ data: await response.json(),
68304
68271
  error: null,
68305
68272
  headers: Object.fromEntries(response.headers.entries())
68306
68273
  };
68307
- } catch (e2) {
68274
+ } catch {
68308
68275
  return {
68309
68276
  data: null,
68310
68277
  error: {
@@ -68318,64 +68285,55 @@ var Resend = class {
68318
68285
  }
68319
68286
  async post(path3, entity, options = {}) {
68320
68287
  const headers = new Headers(this.headers);
68321
- if (options.headers) {
68322
- for (const [key, value2] of new Headers(options.headers).entries()) {
68288
+ if (options.headers)
68289
+ for (const [key, value2] of new Headers(options.headers).entries())
68323
68290
  headers.set(key, value2);
68324
- }
68325
- }
68326
- if (options.idempotencyKey) {
68291
+ if (options.idempotencyKey)
68327
68292
  headers.set("Idempotency-Key", options.idempotencyKey);
68328
- }
68329
- const requestOptions = __spreadProps(__spreadValues({
68293
+ const requestOptions = {
68330
68294
  method: "POST",
68331
- body: JSON.stringify(entity)
68332
- }, options), {
68295
+ body: JSON.stringify(entity),
68296
+ ...options,
68333
68297
  headers
68334
- });
68298
+ };
68335
68299
  return this.fetchRequest(path3, requestOptions);
68336
68300
  }
68337
68301
  async get(path3, options = {}) {
68338
68302
  const headers = new Headers(this.headers);
68339
- if (options.headers) {
68340
- for (const [key, value2] of new Headers(options.headers).entries()) {
68303
+ if (options.headers)
68304
+ for (const [key, value2] of new Headers(options.headers).entries())
68341
68305
  headers.set(key, value2);
68342
- }
68343
- }
68344
- const requestOptions = __spreadProps(__spreadValues({
68345
- method: "GET"
68346
- }, options), {
68306
+ const requestOptions = {
68307
+ method: "GET",
68308
+ ...options,
68347
68309
  headers
68348
- });
68310
+ };
68349
68311
  return this.fetchRequest(path3, requestOptions);
68350
68312
  }
68351
68313
  async put(path3, entity, options = {}) {
68352
68314
  const headers = new Headers(this.headers);
68353
- if (options.headers) {
68354
- for (const [key, value2] of new Headers(options.headers).entries()) {
68315
+ if (options.headers)
68316
+ for (const [key, value2] of new Headers(options.headers).entries())
68355
68317
  headers.set(key, value2);
68356
- }
68357
- }
68358
- const requestOptions = __spreadProps(__spreadValues({
68318
+ const requestOptions = {
68359
68319
  method: "PUT",
68360
- body: JSON.stringify(entity)
68361
- }, options), {
68320
+ body: JSON.stringify(entity),
68321
+ ...options,
68362
68322
  headers
68363
- });
68323
+ };
68364
68324
  return this.fetchRequest(path3, requestOptions);
68365
68325
  }
68366
68326
  async patch(path3, entity, options = {}) {
68367
68327
  const headers = new Headers(this.headers);
68368
- if (options.headers) {
68369
- for (const [key, value2] of new Headers(options.headers).entries()) {
68328
+ if (options.headers)
68329
+ for (const [key, value2] of new Headers(options.headers).entries())
68370
68330
  headers.set(key, value2);
68371
- }
68372
- }
68373
- const requestOptions = __spreadProps(__spreadValues({
68331
+ const requestOptions = {
68374
68332
  method: "PATCH",
68375
- body: JSON.stringify(entity)
68376
- }, options), {
68333
+ body: JSON.stringify(entity),
68334
+ ...options,
68377
68335
  headers
68378
- });
68336
+ };
68379
68337
  return this.fetchRequest(path3, requestOptions);
68380
68338
  }
68381
68339
  async delete(path3, query) {
@@ -83108,6 +83066,57 @@ CodeBlock.displayName = "CodeBlock";
83108
83066
  // ../../node_modules/.pnpm/@react-email+container@0.0.15_react@19.2.0/node_modules/@react-email/container/dist/index.mjs
83109
83067
  import * as React2 from "react";
83110
83068
  import { jsx as jsx4 } from "react/jsx-runtime";
83069
+ var __defProp3 = Object.defineProperty;
83070
+ var __defProps = Object.defineProperties;
83071
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
83072
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
83073
+ var __hasOwnProp3 = Object.prototype.hasOwnProperty;
83074
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
83075
+ var __defNormalProp = (obj, key, value2) => (key in obj) ? __defProp3(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
83076
+ var __spreadValues = (a2, b5) => {
83077
+ for (var prop2 in b5 || (b5 = {}))
83078
+ if (__hasOwnProp3.call(b5, prop2))
83079
+ __defNormalProp(a2, prop2, b5[prop2]);
83080
+ if (__getOwnPropSymbols)
83081
+ for (var prop2 of __getOwnPropSymbols(b5)) {
83082
+ if (__propIsEnum.call(b5, prop2))
83083
+ __defNormalProp(a2, prop2, b5[prop2]);
83084
+ }
83085
+ return a2;
83086
+ };
83087
+ var __spreadProps = (a2, b5) => __defProps(a2, __getOwnPropDescs(b5));
83088
+ var __objRest = (source, exclude) => {
83089
+ var target = {};
83090
+ for (var prop2 in source)
83091
+ if (__hasOwnProp3.call(source, prop2) && exclude.indexOf(prop2) < 0)
83092
+ target[prop2] = source[prop2];
83093
+ if (source != null && __getOwnPropSymbols)
83094
+ for (var prop2 of __getOwnPropSymbols(source)) {
83095
+ if (exclude.indexOf(prop2) < 0 && __propIsEnum.call(source, prop2))
83096
+ target[prop2] = source[prop2];
83097
+ }
83098
+ return target;
83099
+ };
83100
+ var Container = React2.forwardRef((_a3, ref) => {
83101
+ var _b = _a3, { children, style } = _b, props = __objRest(_b, ["children", "style"]);
83102
+ return /* @__PURE__ */ jsx4("table", __spreadProps(__spreadValues({
83103
+ align: "center",
83104
+ width: "100%"
83105
+ }, props), {
83106
+ border: 0,
83107
+ cellPadding: "0",
83108
+ cellSpacing: "0",
83109
+ ref,
83110
+ role: "presentation",
83111
+ style: __spreadValues({ maxWidth: "37.5em" }, style),
83112
+ children: /* @__PURE__ */ jsx4("tbody", { children: /* @__PURE__ */ jsx4("tr", { style: { width: "100%" }, children: /* @__PURE__ */ jsx4("td", { children }) }) })
83113
+ }));
83114
+ });
83115
+ Container.displayName = "Container";
83116
+
83117
+ // ../../node_modules/.pnpm/@react-email+head@0.0.12_react@19.2.0/node_modules/@react-email/head/dist/index.mjs
83118
+ import * as React3 from "react";
83119
+ import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
83111
83120
  var __defProp4 = Object.defineProperty;
83112
83121
  var __defProps2 = Object.defineProperties;
83113
83122
  var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
@@ -83139,26 +83148,19 @@ var __objRest2 = (source, exclude) => {
83139
83148
  }
83140
83149
  return target;
83141
83150
  };
83142
- var Container = React2.forwardRef((_a3, ref) => {
83143
- var _b = _a3, { children, style } = _b, props = __objRest2(_b, ["children", "style"]);
83144
- return /* @__PURE__ */ jsx4("table", __spreadProps2(__spreadValues2({
83145
- align: "center",
83146
- width: "100%"
83147
- }, props), {
83148
- border: 0,
83149
- cellPadding: "0",
83150
- cellSpacing: "0",
83151
- ref,
83152
- role: "presentation",
83153
- style: __spreadValues2({ maxWidth: "37.5em" }, style),
83154
- children: /* @__PURE__ */ jsx4("tbody", { children: /* @__PURE__ */ jsx4("tr", { style: { width: "100%" }, children: /* @__PURE__ */ jsx4("td", { children }) }) })
83155
- }));
83151
+ var Head = React3.forwardRef((_a3, ref) => {
83152
+ var _b = _a3, { children } = _b, props = __objRest2(_b, ["children"]);
83153
+ return /* @__PURE__ */ jsxs2("head", __spreadProps2(__spreadValues2({}, props), { ref, children: [
83154
+ /* @__PURE__ */ jsx5("meta", { content: "text/html; charset=UTF-8", httpEquiv: "Content-Type" }),
83155
+ /* @__PURE__ */ jsx5("meta", { name: "x-apple-disable-message-reformatting" }),
83156
+ children
83157
+ ] }));
83156
83158
  });
83157
- Container.displayName = "Container";
83159
+ Head.displayName = "Head";
83158
83160
 
83159
- // ../../node_modules/.pnpm/@react-email+head@0.0.12_react@19.2.0/node_modules/@react-email/head/dist/index.mjs
83160
- import * as React3 from "react";
83161
- import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
83161
+ // ../../node_modules/.pnpm/@react-email+heading@0.0.15_react@19.2.0/node_modules/@react-email/heading/dist/index.mjs
83162
+ import * as React4 from "react";
83163
+ import { jsx as jsx6 } from "react/jsx-runtime";
83162
83164
  var __defProp5 = Object.defineProperty;
83163
83165
  var __defProps3 = Object.defineProperties;
83164
83166
  var __getOwnPropDescs3 = Object.getOwnPropertyDescriptors;
@@ -83190,19 +83192,42 @@ var __objRest3 = (source, exclude) => {
83190
83192
  }
83191
83193
  return target;
83192
83194
  };
83193
- var Head = React3.forwardRef((_a3, ref) => {
83194
- var _b = _a3, { children } = _b, props = __objRest3(_b, ["children"]);
83195
- return /* @__PURE__ */ jsxs2("head", __spreadProps3(__spreadValues3({}, props), { ref, children: [
83196
- /* @__PURE__ */ jsx5("meta", { content: "text/html; charset=UTF-8", httpEquiv: "Content-Type" }),
83197
- /* @__PURE__ */ jsx5("meta", { name: "x-apple-disable-message-reformatting" }),
83195
+ var withMargin = (props) => {
83196
+ const nonEmptyStyles = [
83197
+ withSpace(props.m, ["margin"]),
83198
+ withSpace(props.mx, ["marginLeft", "marginRight"]),
83199
+ withSpace(props.my, ["marginTop", "marginBottom"]),
83200
+ withSpace(props.mt, ["marginTop"]),
83201
+ withSpace(props.mr, ["marginRight"]),
83202
+ withSpace(props.mb, ["marginBottom"]),
83203
+ withSpace(props.ml, ["marginLeft"])
83204
+ ].filter((s3) => Object.keys(s3).length);
83205
+ const mergedStyles = nonEmptyStyles.reduce((acc, style) => {
83206
+ return __spreadValues3(__spreadValues3({}, acc), style);
83207
+ }, {});
83208
+ return mergedStyles;
83209
+ };
83210
+ var withSpace = (value2, properties) => {
83211
+ return properties.reduce((styles, property) => {
83212
+ if (!isNaN(parseFloat(value2))) {
83213
+ return __spreadProps3(__spreadValues3({}, styles), { [property]: `${value2}px` });
83214
+ }
83215
+ return styles;
83216
+ }, {});
83217
+ };
83218
+ var Heading = React4.forwardRef((_a3, ref) => {
83219
+ var _b = _a3, { as: Tag2 = "h1", children, style, m: m2, mx, my, mt: mt4, mr: mr4, mb, ml } = _b, props = __objRest3(_b, ["as", "children", "style", "m", "mx", "my", "mt", "mr", "mb", "ml"]);
83220
+ return /* @__PURE__ */ jsx6(Tag2, __spreadProps3(__spreadValues3({}, props), {
83221
+ ref,
83222
+ style: __spreadValues3(__spreadValues3({}, withMargin({ m: m2, mx, my, mt: mt4, mr: mr4, mb, ml })), style),
83198
83223
  children
83199
- ] }));
83224
+ }));
83200
83225
  });
83201
- Head.displayName = "Head";
83226
+ Heading.displayName = "Heading";
83202
83227
 
83203
- // ../../node_modules/.pnpm/@react-email+heading@0.0.15_react@19.2.0/node_modules/@react-email/heading/dist/index.mjs
83204
- import * as React4 from "react";
83205
- import { jsx as jsx6 } from "react/jsx-runtime";
83228
+ // ../../node_modules/.pnpm/@react-email+html@0.0.11_react@19.2.0/node_modules/@react-email/html/dist/index.mjs
83229
+ import * as React5 from "react";
83230
+ import { jsx as jsx7 } from "react/jsx-runtime";
83206
83231
  var __defProp6 = Object.defineProperty;
83207
83232
  var __defProps4 = Object.defineProperties;
83208
83233
  var __getOwnPropDescs4 = Object.getOwnPropertyDescriptors;
@@ -83234,42 +83259,15 @@ var __objRest4 = (source, exclude) => {
83234
83259
  }
83235
83260
  return target;
83236
83261
  };
83237
- var withMargin = (props) => {
83238
- const nonEmptyStyles = [
83239
- withSpace(props.m, ["margin"]),
83240
- withSpace(props.mx, ["marginLeft", "marginRight"]),
83241
- withSpace(props.my, ["marginTop", "marginBottom"]),
83242
- withSpace(props.mt, ["marginTop"]),
83243
- withSpace(props.mr, ["marginRight"]),
83244
- withSpace(props.mb, ["marginBottom"]),
83245
- withSpace(props.ml, ["marginLeft"])
83246
- ].filter((s3) => Object.keys(s3).length);
83247
- const mergedStyles = nonEmptyStyles.reduce((acc, style) => {
83248
- return __spreadValues4(__spreadValues4({}, acc), style);
83249
- }, {});
83250
- return mergedStyles;
83251
- };
83252
- var withSpace = (value2, properties) => {
83253
- return properties.reduce((styles, property) => {
83254
- if (!isNaN(parseFloat(value2))) {
83255
- return __spreadProps4(__spreadValues4({}, styles), { [property]: `${value2}px` });
83256
- }
83257
- return styles;
83258
- }, {});
83259
- };
83260
- var Heading = React4.forwardRef((_a3, ref) => {
83261
- var _b = _a3, { as: Tag2 = "h1", children, style, m: m2, mx, my, mt: mt4, mr: mr4, mb, ml } = _b, props = __objRest4(_b, ["as", "children", "style", "m", "mx", "my", "mt", "mr", "mb", "ml"]);
83262
- return /* @__PURE__ */ jsx6(Tag2, __spreadProps4(__spreadValues4({}, props), {
83263
- ref,
83264
- style: __spreadValues4(__spreadValues4({}, withMargin({ m: m2, mx, my, mt: mt4, mr: mr4, mb, ml })), style),
83265
- children
83266
- }));
83262
+ var Html = React5.forwardRef((_a3, ref) => {
83263
+ var _b = _a3, { children, lang = "en", dir = "ltr" } = _b, props = __objRest4(_b, ["children", "lang", "dir"]);
83264
+ return /* @__PURE__ */ jsx7("html", __spreadProps4(__spreadValues4({}, props), { dir, lang, ref, children }));
83267
83265
  });
83268
- Heading.displayName = "Heading";
83266
+ Html.displayName = "Html";
83269
83267
 
83270
- // ../../node_modules/.pnpm/@react-email+html@0.0.11_react@19.2.0/node_modules/@react-email/html/dist/index.mjs
83271
- import * as React5 from "react";
83272
- import { jsx as jsx7 } from "react/jsx-runtime";
83268
+ // ../../node_modules/.pnpm/@react-email+preview@0.0.13_react@19.2.0/node_modules/@react-email/preview/dist/index.mjs
83269
+ import * as React6 from "react";
83270
+ import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
83273
83271
  var __defProp7 = Object.defineProperty;
83274
83272
  var __defProps5 = Object.defineProperties;
83275
83273
  var __getOwnPropDescs5 = Object.getOwnPropertyDescriptors;
@@ -83301,51 +83299,11 @@ var __objRest5 = (source, exclude) => {
83301
83299
  }
83302
83300
  return target;
83303
83301
  };
83304
- var Html = React5.forwardRef((_a3, ref) => {
83305
- var _b = _a3, { children, lang = "en", dir = "ltr" } = _b, props = __objRest5(_b, ["children", "lang", "dir"]);
83306
- return /* @__PURE__ */ jsx7("html", __spreadProps5(__spreadValues5({}, props), { dir, lang, ref, children }));
83307
- });
83308
- Html.displayName = "Html";
83309
-
83310
- // ../../node_modules/.pnpm/@react-email+preview@0.0.13_react@19.2.0/node_modules/@react-email/preview/dist/index.mjs
83311
- import * as React6 from "react";
83312
- import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
83313
- var __defProp8 = Object.defineProperty;
83314
- var __defProps6 = Object.defineProperties;
83315
- var __getOwnPropDescs6 = Object.getOwnPropertyDescriptors;
83316
- var __getOwnPropSymbols6 = Object.getOwnPropertySymbols;
83317
- var __hasOwnProp8 = Object.prototype.hasOwnProperty;
83318
- var __propIsEnum6 = Object.prototype.propertyIsEnumerable;
83319
- var __defNormalProp6 = (obj, key, value2) => (key in obj) ? __defProp8(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
83320
- var __spreadValues6 = (a2, b5) => {
83321
- for (var prop2 in b5 || (b5 = {}))
83322
- if (__hasOwnProp8.call(b5, prop2))
83323
- __defNormalProp6(a2, prop2, b5[prop2]);
83324
- if (__getOwnPropSymbols6)
83325
- for (var prop2 of __getOwnPropSymbols6(b5)) {
83326
- if (__propIsEnum6.call(b5, prop2))
83327
- __defNormalProp6(a2, prop2, b5[prop2]);
83328
- }
83329
- return a2;
83330
- };
83331
- var __spreadProps6 = (a2, b5) => __defProps6(a2, __getOwnPropDescs6(b5));
83332
- var __objRest6 = (source, exclude) => {
83333
- var target = {};
83334
- for (var prop2 in source)
83335
- if (__hasOwnProp8.call(source, prop2) && exclude.indexOf(prop2) < 0)
83336
- target[prop2] = source[prop2];
83337
- if (source != null && __getOwnPropSymbols6)
83338
- for (var prop2 of __getOwnPropSymbols6(source)) {
83339
- if (exclude.indexOf(prop2) < 0 && __propIsEnum6.call(source, prop2))
83340
- target[prop2] = source[prop2];
83341
- }
83342
- return target;
83343
- };
83344
83302
  var PREVIEW_MAX_LENGTH = 150;
83345
83303
  var Preview = React6.forwardRef((_a3, ref) => {
83346
- var _b = _a3, { children = "" } = _b, props = __objRest6(_b, ["children"]);
83304
+ var _b = _a3, { children = "" } = _b, props = __objRest5(_b, ["children"]);
83347
83305
  const text2 = (Array.isArray(children) ? children.join("") : children).substring(0, PREVIEW_MAX_LENGTH);
83348
- return /* @__PURE__ */ jsxs3("div", __spreadProps6(__spreadValues6({
83306
+ return /* @__PURE__ */ jsxs3("div", __spreadProps5(__spreadValues5({
83349
83307
  style: {
83350
83308
  display: "none",
83351
83309
  overflow: "hidden",
@@ -83375,40 +83333,40 @@ var renderWhiteSpace = (text2) => {
83375
83333
  // ../../node_modules/.pnpm/@react-email+section@0.0.16_react@19.2.0/node_modules/@react-email/section/dist/index.mjs
83376
83334
  import * as React7 from "react";
83377
83335
  import { jsx as jsx9 } from "react/jsx-runtime";
83378
- var __defProp9 = Object.defineProperty;
83379
- var __defProps7 = Object.defineProperties;
83380
- var __getOwnPropDescs7 = Object.getOwnPropertyDescriptors;
83381
- var __getOwnPropSymbols7 = Object.getOwnPropertySymbols;
83382
- var __hasOwnProp9 = Object.prototype.hasOwnProperty;
83383
- var __propIsEnum7 = Object.prototype.propertyIsEnumerable;
83384
- var __defNormalProp7 = (obj, key, value2) => (key in obj) ? __defProp9(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
83385
- var __spreadValues7 = (a2, b5) => {
83336
+ var __defProp8 = Object.defineProperty;
83337
+ var __defProps6 = Object.defineProperties;
83338
+ var __getOwnPropDescs6 = Object.getOwnPropertyDescriptors;
83339
+ var __getOwnPropSymbols6 = Object.getOwnPropertySymbols;
83340
+ var __hasOwnProp8 = Object.prototype.hasOwnProperty;
83341
+ var __propIsEnum6 = Object.prototype.propertyIsEnumerable;
83342
+ var __defNormalProp6 = (obj, key, value2) => (key in obj) ? __defProp8(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
83343
+ var __spreadValues6 = (a2, b5) => {
83386
83344
  for (var prop2 in b5 || (b5 = {}))
83387
- if (__hasOwnProp9.call(b5, prop2))
83388
- __defNormalProp7(a2, prop2, b5[prop2]);
83389
- if (__getOwnPropSymbols7)
83390
- for (var prop2 of __getOwnPropSymbols7(b5)) {
83391
- if (__propIsEnum7.call(b5, prop2))
83392
- __defNormalProp7(a2, prop2, b5[prop2]);
83345
+ if (__hasOwnProp8.call(b5, prop2))
83346
+ __defNormalProp6(a2, prop2, b5[prop2]);
83347
+ if (__getOwnPropSymbols6)
83348
+ for (var prop2 of __getOwnPropSymbols6(b5)) {
83349
+ if (__propIsEnum6.call(b5, prop2))
83350
+ __defNormalProp6(a2, prop2, b5[prop2]);
83393
83351
  }
83394
83352
  return a2;
83395
83353
  };
83396
- var __spreadProps7 = (a2, b5) => __defProps7(a2, __getOwnPropDescs7(b5));
83397
- var __objRest7 = (source, exclude) => {
83354
+ var __spreadProps6 = (a2, b5) => __defProps6(a2, __getOwnPropDescs6(b5));
83355
+ var __objRest6 = (source, exclude) => {
83398
83356
  var target = {};
83399
83357
  for (var prop2 in source)
83400
- if (__hasOwnProp9.call(source, prop2) && exclude.indexOf(prop2) < 0)
83358
+ if (__hasOwnProp8.call(source, prop2) && exclude.indexOf(prop2) < 0)
83401
83359
  target[prop2] = source[prop2];
83402
- if (source != null && __getOwnPropSymbols7)
83403
- for (var prop2 of __getOwnPropSymbols7(source)) {
83404
- if (exclude.indexOf(prop2) < 0 && __propIsEnum7.call(source, prop2))
83360
+ if (source != null && __getOwnPropSymbols6)
83361
+ for (var prop2 of __getOwnPropSymbols6(source)) {
83362
+ if (exclude.indexOf(prop2) < 0 && __propIsEnum6.call(source, prop2))
83405
83363
  target[prop2] = source[prop2];
83406
83364
  }
83407
83365
  return target;
83408
83366
  };
83409
83367
  var Section = React7.forwardRef((_a3, ref) => {
83410
- var _b = _a3, { children, style } = _b, props = __objRest7(_b, ["children", "style"]);
83411
- return /* @__PURE__ */ jsx9("table", __spreadProps7(__spreadValues7({
83368
+ var _b = _a3, { children, style } = _b, props = __objRest6(_b, ["children", "style"]);
83369
+ return /* @__PURE__ */ jsx9("table", __spreadProps6(__spreadValues6({
83412
83370
  align: "center",
83413
83371
  width: "100%",
83414
83372
  border: 0,
@@ -83426,33 +83384,33 @@ Section.displayName = "Section";
83426
83384
  // ../../node_modules/.pnpm/@react-email+text@0.1.5_react@19.2.0/node_modules/@react-email/text/dist/index.mjs
83427
83385
  import * as React8 from "react";
83428
83386
  import { jsx as jsx10 } from "react/jsx-runtime";
83429
- var __defProp10 = Object.defineProperty;
83430
- var __defProps8 = Object.defineProperties;
83431
- var __getOwnPropDescs8 = Object.getOwnPropertyDescriptors;
83432
- var __getOwnPropSymbols8 = Object.getOwnPropertySymbols;
83433
- var __hasOwnProp10 = Object.prototype.hasOwnProperty;
83434
- var __propIsEnum8 = Object.prototype.propertyIsEnumerable;
83435
- var __defNormalProp8 = (obj, key, value2) => (key in obj) ? __defProp10(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
83436
- var __spreadValues8 = (a2, b5) => {
83387
+ var __defProp9 = Object.defineProperty;
83388
+ var __defProps7 = Object.defineProperties;
83389
+ var __getOwnPropDescs7 = Object.getOwnPropertyDescriptors;
83390
+ var __getOwnPropSymbols7 = Object.getOwnPropertySymbols;
83391
+ var __hasOwnProp9 = Object.prototype.hasOwnProperty;
83392
+ var __propIsEnum7 = Object.prototype.propertyIsEnumerable;
83393
+ var __defNormalProp7 = (obj, key, value2) => (key in obj) ? __defProp9(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
83394
+ var __spreadValues7 = (a2, b5) => {
83437
83395
  for (var prop2 in b5 || (b5 = {}))
83438
- if (__hasOwnProp10.call(b5, prop2))
83439
- __defNormalProp8(a2, prop2, b5[prop2]);
83440
- if (__getOwnPropSymbols8)
83441
- for (var prop2 of __getOwnPropSymbols8(b5)) {
83442
- if (__propIsEnum8.call(b5, prop2))
83443
- __defNormalProp8(a2, prop2, b5[prop2]);
83396
+ if (__hasOwnProp9.call(b5, prop2))
83397
+ __defNormalProp7(a2, prop2, b5[prop2]);
83398
+ if (__getOwnPropSymbols7)
83399
+ for (var prop2 of __getOwnPropSymbols7(b5)) {
83400
+ if (__propIsEnum7.call(b5, prop2))
83401
+ __defNormalProp7(a2, prop2, b5[prop2]);
83444
83402
  }
83445
83403
  return a2;
83446
83404
  };
83447
- var __spreadProps8 = (a2, b5) => __defProps8(a2, __getOwnPropDescs8(b5));
83448
- var __objRest8 = (source, exclude) => {
83405
+ var __spreadProps7 = (a2, b5) => __defProps7(a2, __getOwnPropDescs7(b5));
83406
+ var __objRest7 = (source, exclude) => {
83449
83407
  var target = {};
83450
83408
  for (var prop2 in source)
83451
- if (__hasOwnProp10.call(source, prop2) && exclude.indexOf(prop2) < 0)
83409
+ if (__hasOwnProp9.call(source, prop2) && exclude.indexOf(prop2) < 0)
83452
83410
  target[prop2] = source[prop2];
83453
- if (source != null && __getOwnPropSymbols8)
83454
- for (var prop2 of __getOwnPropSymbols8(source)) {
83455
- if (exclude.indexOf(prop2) < 0 && __propIsEnum8.call(source, prop2))
83411
+ if (source != null && __getOwnPropSymbols7)
83412
+ for (var prop2 of __getOwnPropSymbols7(source)) {
83413
+ if (exclude.indexOf(prop2) < 0 && __propIsEnum7.call(source, prop2))
83456
83414
  target[prop2] = source[prop2];
83457
83415
  }
83458
83416
  return target;
@@ -83530,7 +83488,7 @@ function computeMargins(properties) {
83530
83488
  return result;
83531
83489
  }
83532
83490
  var Text3 = React8.forwardRef((_a3, ref) => {
83533
- var _b = _a3, { style } = _b, props = __objRest8(_b, ["style"]);
83491
+ var _b = _a3, { style } = _b, props = __objRest7(_b, ["style"]);
83534
83492
  const defaultMargins = {};
83535
83493
  if ((style == null ? undefined : style.marginTop) === undefined) {
83536
83494
  defaultMargins.marginTop = "16px";
@@ -83538,10 +83496,10 @@ var Text3 = React8.forwardRef((_a3, ref) => {
83538
83496
  if ((style == null ? undefined : style.marginBottom) === undefined) {
83539
83497
  defaultMargins.marginBottom = "16px";
83540
83498
  }
83541
- const margins = computeMargins(__spreadValues8(__spreadValues8({}, defaultMargins), style));
83542
- return /* @__PURE__ */ jsx10("p", __spreadProps8(__spreadValues8({}, props), {
83499
+ const margins = computeMargins(__spreadValues7(__spreadValues7({}, defaultMargins), style));
83500
+ return /* @__PURE__ */ jsx10("p", __spreadProps7(__spreadValues7({}, props), {
83543
83501
  ref,
83544
- style: __spreadValues8(__spreadValues8({
83502
+ style: __spreadValues7(__spreadValues7({
83545
83503
  fontSize: "14px",
83546
83504
  lineHeight: "24px"
83547
83505
  }, style), margins)
@@ -84477,8 +84435,8 @@ var sessionMiddleware = async (socket, next2) => {
84477
84435
  editRelationsInStore(usersOfSockets, (relations) => {
84478
84436
  relations.set(userKey, socketKey);
84479
84437
  }, IMPLICIT.STORE);
84480
- setIntoStore(IMPLICIT.STORE, userIndex, (index) => index.add(userKey));
84481
- setIntoStore(IMPLICIT.STORE, socketIndex, (index) => index.add(socketKey));
84438
+ setIntoStore(IMPLICIT.STORE, userKeysAtom, (index) => index.add(userKey));
84439
+ setIntoStore(IMPLICIT.STORE, socketKeysAtom, (index) => index.add(socketKey));
84482
84440
  logger.info(`${username} connected on ${socket.id}`);
84483
84441
  next2();
84484
84442
  } else {
@@ -84505,9 +84463,9 @@ var serveSocket = (socket) => {
84505
84463
  relations.delete(socketKey);
84506
84464
  }, IMPLICIT.STORE);
84507
84465
  if (userKey) {
84508
- setIntoStore(IMPLICIT.STORE, userIndex, (index) => (index.delete(userKey), index));
84466
+ setIntoStore(IMPLICIT.STORE, userKeysAtom, (index) => (index.delete(userKey), index));
84509
84467
  }
84510
- setIntoStore(IMPLICIT.STORE, socketIndex, (index) => (index.delete(socketKey), index));
84468
+ setIntoStore(IMPLICIT.STORE, socketKeysAtom, (index) => (index.delete(socketKey), index));
84511
84469
  logger.info(`${socket.id} disconnected`);
84512
84470
  });
84513
84471
  };