@crvouga/mockingbird-service-oura 0.1.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.
- package/CHANGELOG.md +5 -0
- package/DISCOVERY.md +55 -0
- package/README.md +49 -0
- package/SUPPORT.md +18 -0
- package/dist/chunk-EZO4CFTQ.js +820 -0
- package/dist/chunk-EZO4CFTQ.js.map +7 -0
- package/dist/chunk-Q3TPEBUK.js +3190 -0
- package/dist/chunk-Q3TPEBUK.js.map +7 -0
- package/dist/cli.js +19 -0
- package/dist/cli.js.map +7 -0
- package/dist/index.d.ts +909 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +7 -0
- package/dist/server.d.ts +1352 -0
- package/dist/server.js +12 -0
- package/dist/server.js.map +7 -0
- package/openapi.yaml +1031 -0
- package/package.json +123 -0
package/package.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@crvouga/mockingbird-service-oura",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Stateful Oura v2 mock: wearable collections, OAuth refresh and namespace-isolated synthetic data.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md",
|
|
11
|
+
"CHANGELOG.md",
|
|
12
|
+
"DISCOVERY.md",
|
|
13
|
+
"SUPPORT.md",
|
|
14
|
+
"openapi.yaml"
|
|
15
|
+
],
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./server": {
|
|
24
|
+
"types": "./dist/server.d.ts",
|
|
25
|
+
"default": "./dist/server.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"mockingbird-oura": "./dist/cli.js"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"provenance": true
|
|
34
|
+
},
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/crvouga/mockingbird.git",
|
|
38
|
+
"directory": "packages/service/oura"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/oura#readme",
|
|
41
|
+
"keywords": [
|
|
42
|
+
"mockingbird",
|
|
43
|
+
"service",
|
|
44
|
+
"oura"
|
|
45
|
+
],
|
|
46
|
+
"mockingbird": {
|
|
47
|
+
"runtime": "portable",
|
|
48
|
+
"entries": {
|
|
49
|
+
"server": "node",
|
|
50
|
+
"cli": "node"
|
|
51
|
+
},
|
|
52
|
+
"layer": "service",
|
|
53
|
+
"category": "health",
|
|
54
|
+
"displayName": "Oura",
|
|
55
|
+
"vendor": {
|
|
56
|
+
"website": "https://ouraring.com",
|
|
57
|
+
"docs": "https://cloud.ouraring.com/v2/docs",
|
|
58
|
+
"description": "Oura wearable health data API."
|
|
59
|
+
},
|
|
60
|
+
"parity": "OAuth refresh and wearable collection windows",
|
|
61
|
+
"parityTier": "cold",
|
|
62
|
+
"playground": {
|
|
63
|
+
"headers": {
|
|
64
|
+
"authorization": "Bearer mock_oura_token"
|
|
65
|
+
},
|
|
66
|
+
"operation": "ListWorkout"
|
|
67
|
+
},
|
|
68
|
+
"status": "wip",
|
|
69
|
+
"discovery": {
|
|
70
|
+
"guide": "DISCOVERY.md",
|
|
71
|
+
"behavior": "README.md",
|
|
72
|
+
"capabilities": "SUPPORT.md",
|
|
73
|
+
"contract": "openapi.yaml",
|
|
74
|
+
"types": "dist/index.d.ts",
|
|
75
|
+
"oracle": {
|
|
76
|
+
"kind": "Live vendor API or sandbox",
|
|
77
|
+
"command": "bun run parity:service -- oura",
|
|
78
|
+
"note": "Run from a Mockingbird checkout; credentials come only from .env.local or GitHub Actions secrets. Missing credentials exit 2."
|
|
79
|
+
},
|
|
80
|
+
"introspection": [
|
|
81
|
+
"GET /__admin/health",
|
|
82
|
+
"GET /__admin",
|
|
83
|
+
"GET /__admin/state",
|
|
84
|
+
"GET /__admin/requests",
|
|
85
|
+
"GET /__admin/metrics",
|
|
86
|
+
"GET /__admin/faults/presets",
|
|
87
|
+
"GET /__admin/ui"
|
|
88
|
+
],
|
|
89
|
+
"reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"scripts": {
|
|
93
|
+
"generate": "bun ../../openapi/codegen/dist/cli.js",
|
|
94
|
+
"generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
|
|
95
|
+
"openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
|
|
96
|
+
"build": "bun ../../../scripts/bundle-service.ts",
|
|
97
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
98
|
+
"lint": "biome check .",
|
|
99
|
+
"test": "bun test",
|
|
100
|
+
"parity": "bun scripts/parity.ts",
|
|
101
|
+
"portability": "bun ../../../scripts/portability.ts",
|
|
102
|
+
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
103
|
+
},
|
|
104
|
+
"dependencies": {
|
|
105
|
+
"@crvouga/mockingbird-service-sqlite": "2.1.1",
|
|
106
|
+
"hono": "4.11.9"
|
|
107
|
+
},
|
|
108
|
+
"devDependencies": {
|
|
109
|
+
"fast-check": "4.9.0",
|
|
110
|
+
"@crvouga/mockingbird-testing": "0.1.0",
|
|
111
|
+
"@crvouga/mockingbird-service-sqlite": "0.0.0-development",
|
|
112
|
+
"@crvouga/mockingbird-parity": "0.0.0-development",
|
|
113
|
+
"@crvouga/mockingbird-credentials": "0.0.0-development",
|
|
114
|
+
"@crvouga/mockingbird-openapi-codegen": "0.1.0",
|
|
115
|
+
"@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
|
|
116
|
+
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
117
|
+
"@crvouga/mockingbird-sqlite": "0.0.0-development",
|
|
118
|
+
"@crvouga/mockingbird-openapi": "0.0.0-development",
|
|
119
|
+
"@crvouga/mockingbird-service": "0.0.0-development",
|
|
120
|
+
"@crvouga/mockingbird-http-codec": "0.0.0-development",
|
|
121
|
+
"@crvouga/mockingbird-adapter-node": "0.0.0-development"
|
|
122
|
+
}
|
|
123
|
+
}
|