orchid-orm 1.18.0 → 1.18.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.mjs CHANGED
@@ -81,6 +81,9 @@ function createBaseTable({
81
81
  setComputed(computed) {
82
82
  return computed;
83
83
  }
84
+ setScopes(scopes) {
85
+ return scopes;
86
+ }
84
87
  belongsTo(fn, options) {
85
88
  return {
86
89
  type: "belongsTo",
@@ -1755,7 +1758,8 @@ const orchidORM = (_a, tables) => {
1755
1758
  tableInstances[key] = table;
1756
1759
  const options2 = __spreadProps(__spreadValues$1({}, commonOptions), {
1757
1760
  schema: table.schema,
1758
- language: table.language
1761
+ language: table.language,
1762
+ scopes: table.scopes
1759
1763
  });
1760
1764
  if (table.noPrimaryKey)
1761
1765
  options2.noPrimaryKey = "ignore";