@voyant-travel/apps 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/dist/access-boundary.d.ts +29 -0
- package/dist/access-boundary.js +33 -0
- package/dist/api-runtime.d.ts +10 -0
- package/dist/api-runtime.js +8 -0
- package/dist/app-api-contracts.d.ts +51 -0
- package/dist/app-api-contracts.js +50 -0
- package/dist/app-api-routes.d.ts +26 -0
- package/dist/app-api-routes.js +133 -0
- package/dist/app-api-service.d.ts +1263 -0
- package/dist/app-api-service.js +231 -0
- package/dist/app-api-service.test.d.ts +1 -0
- package/dist/app-api-service.test.js +105 -0
- package/dist/compiler.d.ts +38 -0
- package/dist/compiler.js +118 -0
- package/dist/compiler.test.d.ts +1 -0
- package/dist/compiler.test.js +99 -0
- package/dist/consent.d.ts +15 -0
- package/dist/consent.js +50 -0
- package/dist/consent.test.d.ts +1 -0
- package/dist/consent.test.js +80 -0
- package/dist/contracts.d.ts +263 -0
- package/dist/contracts.js +273 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +12 -0
- package/dist/ingestion.d.ts +15 -0
- package/dist/ingestion.js +232 -0
- package/dist/ingestion.test.d.ts +1 -0
- package/dist/ingestion.test.js +47 -0
- package/dist/installation-reconciliation.d.ts +18 -0
- package/dist/installation-reconciliation.js +254 -0
- package/dist/installation-service.d.ts +351 -0
- package/dist/installation-service.js +328 -0
- package/dist/installation-state.d.ts +15 -0
- package/dist/installation-state.js +17 -0
- package/dist/installation-state.test.d.ts +1 -0
- package/dist/installation-state.test.js +38 -0
- package/dist/oauth-crypto.d.ts +8 -0
- package/dist/oauth-crypto.js +23 -0
- package/dist/oauth-crypto.test.d.ts +1 -0
- package/dist/oauth-crypto.test.js +11 -0
- package/dist/oauth-service.d.ts +65 -0
- package/dist/oauth-service.js +381 -0
- package/dist/oauth-service.test.d.ts +1 -0
- package/dist/oauth-service.test.js +8 -0
- package/dist/routes.d.ts +17 -0
- package/dist/routes.js +131 -0
- package/dist/schema.d.ts +2937 -0
- package/dist/schema.js +342 -0
- package/dist/service.d.ts +95 -0
- package/dist/service.js +172 -0
- package/dist/service.test.d.ts +1 -0
- package/dist/service.test.js +178 -0
- package/dist/test-fixtures.d.ts +80 -0
- package/dist/test-fixtures.js +78 -0
- package/dist/voyant.d.ts +2 -0
- package/dist/voyant.js +115 -0
- package/dist/webhook-delivery.d.ts +69 -0
- package/dist/webhook-delivery.js +262 -0
- package/migrations/20260717000100_app_registry_foundation.sql +87 -0
- package/migrations/20260717111938_breezy_karma.sql +136 -0
- package/migrations/20260717123000_app_webhook_delivery_health.sql +4 -0
- package/migrations/20260717143000_app_oauth_authorization.sql +47 -0
- package/migrations/meta/_journal.json +34 -0
- package/package.json +159 -0
package/package.json
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@voyant-travel/apps",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./src/index.ts",
|
|
8
|
+
"./access-boundary": "./src/access-boundary.ts",
|
|
9
|
+
"./api-runtime": "./src/api-runtime.ts",
|
|
10
|
+
"./compiler": "./src/compiler.ts",
|
|
11
|
+
"./contracts": "./src/contracts.ts",
|
|
12
|
+
"./consent": "./src/consent.ts",
|
|
13
|
+
"./ingestion": "./src/ingestion.ts",
|
|
14
|
+
"./installation-service": "./src/installation-service.ts",
|
|
15
|
+
"./oauth-crypto": "./src/oauth-crypto.ts",
|
|
16
|
+
"./oauth-service": "./src/oauth-service.ts",
|
|
17
|
+
"./routes": "./src/routes.ts",
|
|
18
|
+
"./schema": "./src/schema.ts",
|
|
19
|
+
"./service": "./src/service.ts",
|
|
20
|
+
"./voyant": "./src/voyant.ts"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"typecheck": "tsc -p tsconfig.typecheck.json",
|
|
24
|
+
"lint": "biome check src/",
|
|
25
|
+
"test": "vitest run",
|
|
26
|
+
"build": "tsc -p tsconfig.build.json",
|
|
27
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
28
|
+
"prepack": "pnpm run build"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@hono/zod-openapi": "catalog:",
|
|
32
|
+
"@voyant-travel/admin": "workspace:^",
|
|
33
|
+
"@voyant-travel/admin-extension-sdk": "workspace:^",
|
|
34
|
+
"@voyant-travel/core": "workspace:^",
|
|
35
|
+
"@voyant-travel/custom-fields": "workspace:^",
|
|
36
|
+
"@voyant-travel/db": "workspace:^",
|
|
37
|
+
"@voyant-travel/hono": "workspace:^",
|
|
38
|
+
"@voyant-travel/types": "workspace:^",
|
|
39
|
+
"@voyant-travel/webhook-delivery": "workspace:^",
|
|
40
|
+
"drizzle-orm": "catalog:",
|
|
41
|
+
"hono": "catalog:",
|
|
42
|
+
"zod": "catalog:"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@types/node": "catalog:",
|
|
46
|
+
"@voyant-travel/voyant-typescript-config": "workspace:^",
|
|
47
|
+
"drizzle-kit": "^0.31.10",
|
|
48
|
+
"typescript": "catalog:",
|
|
49
|
+
"vitest": "catalog:"
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist",
|
|
53
|
+
"migrations/*.sql",
|
|
54
|
+
"migrations/meta/_journal.json"
|
|
55
|
+
],
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public",
|
|
58
|
+
"exports": {
|
|
59
|
+
".": {
|
|
60
|
+
"types": "./dist/index.d.ts",
|
|
61
|
+
"import": "./dist/index.js",
|
|
62
|
+
"default": "./dist/index.js"
|
|
63
|
+
},
|
|
64
|
+
"./access-boundary": {
|
|
65
|
+
"types": "./dist/access-boundary.d.ts",
|
|
66
|
+
"import": "./dist/access-boundary.js",
|
|
67
|
+
"default": "./dist/access-boundary.js"
|
|
68
|
+
},
|
|
69
|
+
"./api-runtime": {
|
|
70
|
+
"types": "./dist/api-runtime.d.ts",
|
|
71
|
+
"import": "./dist/api-runtime.js",
|
|
72
|
+
"default": "./dist/api-runtime.js"
|
|
73
|
+
},
|
|
74
|
+
"./compiler": {
|
|
75
|
+
"types": "./dist/compiler.d.ts",
|
|
76
|
+
"import": "./dist/compiler.js",
|
|
77
|
+
"default": "./dist/compiler.js"
|
|
78
|
+
},
|
|
79
|
+
"./contracts": {
|
|
80
|
+
"types": "./dist/contracts.d.ts",
|
|
81
|
+
"import": "./dist/contracts.js",
|
|
82
|
+
"default": "./dist/contracts.js"
|
|
83
|
+
},
|
|
84
|
+
"./consent": {
|
|
85
|
+
"types": "./dist/consent.d.ts",
|
|
86
|
+
"import": "./dist/consent.js",
|
|
87
|
+
"default": "./dist/consent.js"
|
|
88
|
+
},
|
|
89
|
+
"./ingestion": {
|
|
90
|
+
"types": "./dist/ingestion.d.ts",
|
|
91
|
+
"import": "./dist/ingestion.js",
|
|
92
|
+
"default": "./dist/ingestion.js"
|
|
93
|
+
},
|
|
94
|
+
"./installation-service": {
|
|
95
|
+
"types": "./dist/installation-service.d.ts",
|
|
96
|
+
"import": "./dist/installation-service.js",
|
|
97
|
+
"default": "./dist/installation-service.js"
|
|
98
|
+
},
|
|
99
|
+
"./oauth-crypto": {
|
|
100
|
+
"types": "./dist/oauth-crypto.d.ts",
|
|
101
|
+
"import": "./dist/oauth-crypto.js",
|
|
102
|
+
"default": "./dist/oauth-crypto.js"
|
|
103
|
+
},
|
|
104
|
+
"./oauth-service": {
|
|
105
|
+
"types": "./dist/oauth-service.d.ts",
|
|
106
|
+
"import": "./dist/oauth-service.js",
|
|
107
|
+
"default": "./dist/oauth-service.js"
|
|
108
|
+
},
|
|
109
|
+
"./routes": {
|
|
110
|
+
"types": "./dist/routes.d.ts",
|
|
111
|
+
"import": "./dist/routes.js",
|
|
112
|
+
"default": "./dist/routes.js"
|
|
113
|
+
},
|
|
114
|
+
"./schema": {
|
|
115
|
+
"types": "./dist/schema.d.ts",
|
|
116
|
+
"import": "./dist/schema.js",
|
|
117
|
+
"default": "./dist/schema.js"
|
|
118
|
+
},
|
|
119
|
+
"./service": {
|
|
120
|
+
"types": "./dist/service.d.ts",
|
|
121
|
+
"import": "./dist/service.js",
|
|
122
|
+
"default": "./dist/service.js"
|
|
123
|
+
},
|
|
124
|
+
"./voyant": {
|
|
125
|
+
"types": "./dist/voyant.d.ts",
|
|
126
|
+
"import": "./dist/voyant.js",
|
|
127
|
+
"default": "./dist/voyant.js"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"main": "./dist/index.js",
|
|
131
|
+
"types": "./dist/index.d.ts"
|
|
132
|
+
},
|
|
133
|
+
"repository": {
|
|
134
|
+
"type": "git",
|
|
135
|
+
"url": "https://github.com/voyant-travel/voyant.git",
|
|
136
|
+
"directory": "packages/apps"
|
|
137
|
+
},
|
|
138
|
+
"voyant": {
|
|
139
|
+
"schemaVersion": "voyant.package.v1",
|
|
140
|
+
"kind": "module",
|
|
141
|
+
"manifest": "./voyant",
|
|
142
|
+
"runtime": {
|
|
143
|
+
"entry": "./api-runtime",
|
|
144
|
+
"export": "createAppsApiModule"
|
|
145
|
+
},
|
|
146
|
+
"compatibleWith": {
|
|
147
|
+
"framework": ">=0.44.0",
|
|
148
|
+
"targets": [
|
|
149
|
+
"node"
|
|
150
|
+
],
|
|
151
|
+
"modes": [
|
|
152
|
+
"local",
|
|
153
|
+
"managed-cloud",
|
|
154
|
+
"self-hosted"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"schema": "./schema"
|
|
158
|
+
}
|
|
159
|
+
}
|