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.
package/dist/index.cjs CHANGED
@@ -6695,6 +6695,7 @@ var ModuleContext = class {
6695
6695
  schedules: [],
6696
6696
  procedures: [],
6697
6697
  views: [],
6698
+ viewPrimaryKeys: [],
6698
6699
  lifeCycleReducers: [],
6699
6700
  httpHandlers: [],
6700
6701
  httpRoutes: [],
@@ -6718,6 +6719,12 @@ var ModuleContext = class {
6718
6719
  push(module.reducers && { tag: "Reducers", value: module.reducers });
6719
6720
  push(module.procedures && { tag: "Procedures", value: module.procedures });
6720
6721
  push(module.views && { tag: "Views", value: module.views });
6722
+ push(
6723
+ module.viewPrimaryKeys && {
6724
+ tag: "ViewPrimaryKeys",
6725
+ value: module.viewPrimaryKeys
6726
+ }
6727
+ );
6721
6728
  push(module.schedules && { tag: "Schedules", value: module.schedules });
6722
6729
  push(
6723
6730
  module.lifeCycleReducers && {
@@ -7170,6 +7177,9 @@ var RawModuleDefV10Section = t.enum("RawModuleDefV10Section", {
7170
7177
  },
7171
7178
  get HttpRoutes() {
7172
7179
  return t.array(RawHttpRouteDefV10);
7180
+ },
7181
+ get ViewPrimaryKeys() {
7182
+ return t.array(RawViewPrimaryKeyDefV10);
7173
7183
  }
7174
7184
  });
7175
7185
  var RawModuleDefV8 = t.object("RawModuleDefV8", {
@@ -7407,6 +7417,10 @@ var RawViewDefV9 = t.object("RawViewDefV9", {
7407
7417
  return AlgebraicType2;
7408
7418
  }
7409
7419
  });
7420
+ var RawViewPrimaryKeyDefV10 = t.object("RawViewPrimaryKeyDefV10", {
7421
+ viewSourceName: t.string(),
7422
+ columns: t.array(t.string())
7423
+ });
7410
7424
  var ReducerDef = t.object("ReducerDef", {
7411
7425
  name: t.string(),
7412
7426
  get args() {