spacetimedb 2.4.0 → 2.4.1

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.
@@ -6560,6 +6560,7 @@ var ModuleContext = class {
6560
6560
  schedules: [],
6561
6561
  procedures: [],
6562
6562
  views: [],
6563
+ viewPrimaryKeys: [],
6563
6564
  lifeCycleReducers: [],
6564
6565
  httpHandlers: [],
6565
6566
  httpRoutes: [],
@@ -6583,6 +6584,12 @@ var ModuleContext = class {
6583
6584
  push(module.reducers && { tag: "Reducers", value: module.reducers });
6584
6585
  push(module.procedures && { tag: "Procedures", value: module.procedures });
6585
6586
  push(module.views && { tag: "Views", value: module.views });
6587
+ push(
6588
+ module.viewPrimaryKeys && {
6589
+ tag: "ViewPrimaryKeys",
6590
+ value: module.viewPrimaryKeys
6591
+ }
6592
+ );
6586
6593
  push(module.schedules && { tag: "Schedules", value: module.schedules });
6587
6594
  push(
6588
6595
  module.lifeCycleReducers && {
@@ -7035,6 +7042,9 @@ var RawModuleDefV10Section = t.enum("RawModuleDefV10Section", {
7035
7042
  },
7036
7043
  get HttpRoutes() {
7037
7044
  return t.array(RawHttpRouteDefV10);
7045
+ },
7046
+ get ViewPrimaryKeys() {
7047
+ return t.array(RawViewPrimaryKeyDefV10);
7038
7048
  }
7039
7049
  });
7040
7050
  var RawModuleDefV8 = t.object("RawModuleDefV8", {
@@ -7272,6 +7282,10 @@ var RawViewDefV9 = t.object("RawViewDefV9", {
7272
7282
  return AlgebraicType2;
7273
7283
  }
7274
7284
  });
7285
+ var RawViewPrimaryKeyDefV10 = t.object("RawViewPrimaryKeyDefV10", {
7286
+ viewSourceName: t.string(),
7287
+ columns: t.array(t.string())
7288
+ });
7275
7289
  var ReducerDef = t.object("ReducerDef", {
7276
7290
  name: t.string(),
7277
7291
  get args() {