@ronin/compiler 0.11.6-leo-ron-1071-experimental-246 → 0.11.6-leo-ron-1071-experimental-247

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6000,8 +6000,8 @@ type SingleRecordResult<T = NativeRecord> = {
6000
6000
  record: T | null;
6001
6001
  modelFields: Record<ModelField['slug'], ModelField['type']>;
6002
6002
  };
6003
- type MultipleRecordResult = {
6004
- records: Array<NativeRecord>;
6003
+ type MultipleRecordResult<T = NativeRecord> = {
6004
+ records: Array<T>;
6005
6005
  moreAfter?: string;
6006
6006
  moreBefore?: string;
6007
6007
  modelFields: Record<ModelField['slug'], ModelField['type']>;
@@ -6009,7 +6009,7 @@ type MultipleRecordResult = {
6009
6009
  type AmountResult = {
6010
6010
  amount: number;
6011
6011
  };
6012
- type Result = SingleRecordResult | MultipleRecordResult | AmountResult;
6012
+ type Result<T = NativeRecord> = SingleRecordResult<T> | MultipleRecordResult<T> | AmountResult;
6013
6013
 
6014
6014
  /**
6015
6015
  * A list of placeholders that can be located inside queries after those queries were
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.11.6-leo-ron-1071-experimental-246",
3
+ "version": "0.11.6-leo-ron-1071-experimental-247",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {