@airoom/nextmin-node 0.1.2 → 0.1.3

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.
@@ -19,6 +19,7 @@ export interface Attributes {
19
19
  }
20
20
  export interface Schema {
21
21
  modelName: string;
22
+ showCount: boolean;
22
23
  attributes: {
23
24
  [key: string]: Attributes;
24
25
  };
@@ -3,6 +3,7 @@ import { FieldIndexSpec } from '../database/DatabaseAdapter';
3
3
  type PublicAttributes = Record<string, any>;
4
4
  type PublicSchema = Omit<Schema, 'attributes'> & {
5
5
  modelName: string;
6
+ showCount: boolean;
6
7
  attributes: PublicAttributes;
7
8
  allowedMethods: Schema['allowedMethods'];
8
9
  };
@@ -237,6 +237,7 @@ class SchemaLoader {
237
237
  };
238
238
  out[name] = {
239
239
  modelName: s.modelName,
240
+ showCount: s.showCount,
240
241
  allowedMethods: s.allowedMethods,
241
242
  attributes: attributesWithTimestamps,
242
243
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airoom/nextmin-node",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",