expo-backend-types 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ <p align="center">
2
+ <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest Logo" /></a>
3
+ </p>
4
+
5
+ [circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
6
+ [circleci-url]: https://circleci.com/gh/nestjs/nest
7
+
8
+ <p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
11
+ <a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
12
+ <a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
13
+ <a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
14
+ <a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a>
15
+ <a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
16
+ <a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
17
+ <a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
18
+ <a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
19
+ <a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
20
+ <a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
21
+ </p>
22
+ <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
23
+ [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->
24
+
25
+ ## Description
26
+
27
+ [Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ $ npm install
33
+ ```
34
+
35
+ ## Running the app
36
+
37
+ ```bash
38
+ # development
39
+ $ npm run start
40
+
41
+ # watch mode
42
+ $ npm run start:dev
43
+
44
+ # production mode
45
+ $ npm run start:prod
46
+ ```
47
+
48
+ ## Test
49
+
50
+ ```bash
51
+ # unit tests
52
+ $ npm run test
53
+
54
+ # e2e tests
55
+ $ npm run test:e2e
56
+
57
+ # test coverage
58
+ $ npm run test:cov
59
+ ```
60
+
61
+ ## Support
62
+
63
+ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
64
+
65
+ ## Stay in touch
66
+
67
+ - Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
68
+ - Website - [https://nestjs.com](https://nestjs.com/)
69
+ - Twitter - [@nestframework](https://twitter.com/nestframework)
70
+
71
+ ## License
72
+
73
+ Nest is [MIT licensed](LICENSE).
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "expo-backend-types",
3
+ "version": "0.0.1",
4
+ "description": "",
5
+ "author": "Expo",
6
+ "private": false,
7
+ "license": "UNLICENSED",
8
+ "scripts": {
9
+ "build": "nest build",
10
+ "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
11
+ "start": "nest start",
12
+ "dev": "nest start --watch",
13
+ "start:debug": "nest start --debug --watch",
14
+ "start:prod": "node dist/main",
15
+ "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
16
+ "test": "jest",
17
+ "test:watch": "jest --watch",
18
+ "test:cov": "jest --coverage",
19
+ "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
20
+ "test:e2e": "jest --config ./test/jest-e2e.json"
21
+ },
22
+ "dependencies": {
23
+ "@nestjs/common": "^10.0.0",
24
+ "@nestjs/core": "^10.0.0",
25
+ "@nestjs/platform-express": "^10.0.0",
26
+ "@nestjs/swagger": "^7.3.1",
27
+ "json-to-pretty-yaml": "^1.2.2",
28
+ "reflect-metadata": "^0.2.0",
29
+ "rxjs": "^7.8.1"
30
+ },
31
+ "devDependencies": {
32
+ "@nestjs/cli": "^10.0.0",
33
+ "@nestjs/schematics": "^10.0.0",
34
+ "@nestjs/testing": "^10.0.0",
35
+ "@openapitools/openapi-generator-cli": "^2.13.4",
36
+ "@types/express": "^4.17.17",
37
+ "@types/jest": "^29.5.2",
38
+ "@types/json-to-pretty-yaml": "^1.2.1",
39
+ "@types/node": "^20.3.1",
40
+ "@types/supertest": "^6.0.0",
41
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
42
+ "@typescript-eslint/parser": "^6.0.0",
43
+ "eslint": "^8.42.0",
44
+ "eslint-config-prettier": "^9.0.0",
45
+ "eslint-plugin-prettier": "^5.0.0",
46
+ "jest": "^29.5.0",
47
+ "openapi-typescript": "^7.0.0-rc.0",
48
+ "prettier": "^3.0.0",
49
+ "source-map-support": "^0.5.21",
50
+ "supertest": "^6.3.3",
51
+ "ts-jest": "^29.1.0",
52
+ "ts-loader": "^9.4.3",
53
+ "ts-node": "^10.9.1",
54
+ "tsconfig-paths": "^4.2.0",
55
+ "typescript": "^5.4.5"
56
+ },
57
+ "jest": {
58
+ "moduleFileExtensions": [
59
+ "js",
60
+ "json",
61
+ "ts"
62
+ ],
63
+ "rootDir": "src",
64
+ "testRegex": ".*\\.spec\\.ts$",
65
+ "transform": {
66
+ "^.+\\.(t|j)s$": "ts-jest"
67
+ },
68
+ "collectCoverageFrom": [
69
+ "**/*.(t|j)s"
70
+ ],
71
+ "coverageDirectory": "../coverage",
72
+ "testEnvironment": "node"
73
+ },
74
+ "types": "./types/schema.d.ts",
75
+ "files": [
76
+ "./types/schema.d.ts"
77
+ ],
78
+ "exports": {
79
+ ".": {
80
+ "import": "./types/schema.d.ts",
81
+ "require": "./types/schema.d.ts",
82
+ "default": "./types/schema.d.ts",
83
+ "types": "./types/schema.d.ts"
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ get: operations["AppController_getHello"];
15
+ put?: never;
16
+ post?: never;
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ }
24
+ export type webhooks = Record<string, never>;
25
+ export interface components {
26
+ schemas: never;
27
+ responses: never;
28
+ parameters: never;
29
+ requestBodies: never;
30
+ headers: never;
31
+ pathItems: never;
32
+ }
33
+ export type $defs = Record<string, never>;
34
+ export interface operations {
35
+ AppController_getHello: {
36
+ parameters: {
37
+ query?: never;
38
+ header?: never;
39
+ path?: never;
40
+ cookie?: never;
41
+ };
42
+ requestBody?: never;
43
+ responses: {
44
+ 200: {
45
+ headers: {
46
+ [name: string]: unknown;
47
+ };
48
+ content?: never;
49
+ };
50
+ };
51
+ };
52
+ }