@ronin/compiler 0.17.1-leo-ron-1099-experimental-378 → 0.17.1-leo-ron-1099-experimental-379

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -324,7 +324,7 @@ type ModelPreset = {
324
324
  };
325
325
  type ModelEntityList<T extends {
326
326
  slug: string;
327
- }> = Record<NonNullable<T['slug']>, Omit<T, 'slug'>>;
327
+ }> = Record<NonNullable<T['slug']>, T extends infer U ? Omit<U, 'slug'> : never>;
328
328
  interface Model<T extends ModelEntityList<ModelField> = ModelEntityList<ModelField>> {
329
329
  id: string;
330
330
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.17.1-leo-ron-1099-experimental-378",
3
+ "version": "0.17.1-leo-ron-1099-experimental-379",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {