@puzzlin/models 0.16.0 → 1.0.0

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 (31) hide show
  1. package/dist/auth/objects/jwt-user.object.d.ts +1 -1
  2. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.input.d.ts +4 -0
  3. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.input.d.ts.map +1 -1
  4. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.input.js +16 -0
  5. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.input.js.map +1 -1
  6. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.object.d.ts +4 -0
  7. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.object.d.ts.map +1 -1
  8. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.object.js +16 -0
  9. package/dist/eeg-analyses/models/average-brain-circuit-hits/average-brain-circuit-hits.object.js.map +1 -1
  10. package/dist/tsconfig.tsbuildinfo +1 -1
  11. package/dist/users/args/index.d.ts +1 -0
  12. package/dist/users/args/index.d.ts.map +1 -1
  13. package/dist/users/args/index.js +1 -0
  14. package/dist/users/args/index.js.map +1 -1
  15. package/dist/users/args/users.args.d.ts +7 -0
  16. package/dist/users/args/users.args.d.ts.map +1 -0
  17. package/dist/users/args/users.args.js +35 -0
  18. package/dist/users/args/users.args.js.map +1 -0
  19. package/dist/users/connections/index.d.ts +2 -0
  20. package/dist/users/connections/index.d.ts.map +1 -0
  21. package/dist/users/connections/index.js +18 -0
  22. package/dist/users/connections/index.js.map +1 -0
  23. package/dist/users/connections/user.connection.d.ts +6 -0
  24. package/dist/users/connections/user.connection.d.ts.map +1 -0
  25. package/dist/users/connections/user.connection.js +18 -0
  26. package/dist/users/connections/user.connection.js.map +1 -0
  27. package/dist/users/index.d.ts +1 -0
  28. package/dist/users/index.d.ts.map +1 -1
  29. package/dist/users/index.js +1 -0
  30. package/dist/users/index.js.map +1 -1
  31. package/package.json +1 -1
@@ -1,2 +1,3 @@
1
1
  export * from './user.args';
2
+ export * from './users.args';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/users/args/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/users/args/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./user.args"), exports);
18
+ __exportStar(require("./users.args"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/users/args/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/users/args/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,+CAA6B"}
@@ -0,0 +1,7 @@
1
+ import { PaginationArgs } from '../../pagination';
2
+ import { UserRoleEnum } from '@puzzlin/enums';
3
+ export declare class UsersArgs extends PaginationArgs {
4
+ query?: string;
5
+ role?: UserRoleEnum;
6
+ }
7
+ //# sourceMappingURL=users.args.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.args.d.ts","sourceRoot":"","sources":["../../../src/users/args/users.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBACa,SAAU,SAAQ,cAAc;IAK3C,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UsersArgs = void 0;
13
+ const pagination_1 = require("../../pagination");
14
+ const graphql_1 = require("@nestjs/graphql");
15
+ const enums_1 = require("@puzzlin/enums");
16
+ let UsersArgs = exports.UsersArgs = class UsersArgs extends pagination_1.PaginationArgs {
17
+ };
18
+ __decorate([
19
+ (0, graphql_1.Field)(() => String, {
20
+ description: 'Select users by this search string.',
21
+ nullable: true,
22
+ }),
23
+ __metadata("design:type", String)
24
+ ], UsersArgs.prototype, "query", void 0);
25
+ __decorate([
26
+ (0, graphql_1.Field)(() => enums_1.UserRoleEnum, {
27
+ description: 'Select users with this role.',
28
+ nullable: true,
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], UsersArgs.prototype, "role", void 0);
32
+ exports.UsersArgs = UsersArgs = __decorate([
33
+ (0, graphql_1.ArgsType)()
34
+ ], UsersArgs);
35
+ //# sourceMappingURL=users.args.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.args.js","sourceRoot":"","sources":["../../../src/users/args/users.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,6CAAkD;AAClD,0CAA8C;AAGvC,IAAM,SAAS,uBAAf,MAAM,SAAU,SAAQ,2BAAc;CAY5C,CAAA;AAPC;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,qCAAqC;QAClD,QAAQ,EAAE,IAAI;KACf,CAAC;;wCACa;AAMf;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oBAAY,EAAE;QACzB,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;uCACkB;oBAXT,SAAS;IADrB,IAAA,kBAAQ,GAAE;GACE,SAAS,CAYrB"}
@@ -0,0 +1,2 @@
1
+ export * from './user.connection';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/users/connections/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./user.connection"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/users/connections/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
@@ -0,0 +1,6 @@
1
+ import { User } from '../objects';
2
+ declare const UserConnection_base: import("@nestjs/common").Type<import("../../pagination").IConnectionType<User>>;
3
+ export declare class UserConnection extends UserConnection_base {
4
+ }
5
+ export {};
6
+ //# sourceMappingURL=user.connection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.connection.d.ts","sourceRoot":"","sources":["../../../src/users/connections/user.connection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;;AAElC,qBACa,cAAe,SAAQ,mBAAgB;CAAG"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.UserConnection = void 0;
10
+ const pagination_1 = require("../../pagination");
11
+ const graphql_1 = require("@nestjs/graphql");
12
+ const objects_1 = require("../objects");
13
+ let UserConnection = exports.UserConnection = class UserConnection extends (0, pagination_1.Connection)(objects_1.User) {
14
+ };
15
+ exports.UserConnection = UserConnection = __decorate([
16
+ (0, graphql_1.ObjectType)()
17
+ ], UserConnection);
18
+ //# sourceMappingURL=user.connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.connection.js","sourceRoot":"","sources":["../../../src/users/connections/user.connection.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAA0C;AAC1C,6CAA6C;AAC7C,wCAAkC;AAG3B,IAAM,cAAc,4BAApB,MAAM,cAAe,SAAQ,IAAA,uBAAU,EAAC,cAAI,CAAC;CAAG,CAAA;yBAA1C,cAAc;IAD1B,IAAA,oBAAU,GAAE;GACA,cAAc,CAA4B"}
@@ -1,4 +1,5 @@
1
1
  export * from './args';
2
+ export * from './connections';
2
3
  export * from './inputs';
3
4
  export * from './objects';
4
5
  export * from './payloads';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./args"), exports);
18
+ __exportStar(require("./connections"), exports);
18
19
  __exportStar(require("./inputs"), exports);
19
20
  __exportStar(require("./objects"), exports);
20
21
  __exportStar(require("./payloads"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,gDAA8B;AAC9B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@puzzlin/models",
3
- "version": "0.16.0",
3
+ "version": "1.0.0",
4
4
  "description": "Shared models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",