@inverted-tech/fragments 0.8.0 → 0.9.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/package.json CHANGED
@@ -1,326 +1,329 @@
1
1
  {
2
- "name": "@inverted-tech/fragments",
3
- "version": "0.8.0",
4
- "description": "Types and JS runtime for Inverted protocol buffers (Fragments)",
5
- "types": "dist/protos/index.d.ts",
6
- "module": "dist/esm/index.js",
7
- "files": [
8
- "dist",
9
- "README.md",
10
- "LICENSE"
11
- ],
12
- "exports": {
13
- ".": {
14
- "types": "./dist/protos/index.d.ts",
15
- "import": "./dist/esm/index.js",
16
- "default": "./dist/esm/index.js"
17
- },
18
- "./protos": {
19
- "types": "./dist/protos/index.d.ts",
20
- "import": "./dist/esm/protos/index.js"
21
- },
22
- "./protos/": {
23
- "types": "./dist/protos/",
24
- "import": "./dist/esm/protos/"
25
- },
26
- "./protos/*": {
27
- "types": "./dist/protos/*.d.ts",
28
- "import": "./dist/esm/protos/*.js"
29
- },
30
- "./Authorization": {
31
- "types": "./dist/protos/Authorization/index.d.ts",
32
- "import": "./dist/esm/Authorization/index.js",
33
- "default": "./dist/esm/Authorization/index.js"
34
- },
35
- "./Authorization/": {
36
- "types": "./dist/protos/Authorization/",
37
- "import": "./dist/esm/Authorization/"
38
- },
39
- "./Authorization/*": {
40
- "types": "./dist/protos/Authorization/*.d.ts",
41
- "import": "./dist/esm/Authorization/*.js"
42
- },
43
- "./Authorization/Events": {
44
- "types": "./dist/protos/Authorization/Events/index.d.ts",
45
- "import": "./dist/esm/Authorization/Events/index.js",
46
- "default": "./dist/esm/Authorization/Events/index.js"
47
- },
48
- "./Authorization/Events/": {
49
- "types": "./dist/protos/Authorization/Events/",
50
- "import": "./dist/esm/Authorization/Events/"
51
- },
52
- "./Authorization/Events/*": {
53
- "types": "./dist/protos/Authorization/Events/*.d.ts",
54
- "import": "./dist/esm/Authorization/Events/*.js"
55
- },
56
- "./Authorization/Payments": {
57
- "types": "./dist/protos/Authorization/Payments/index.d.ts",
58
- "import": "./dist/esm/Authorization/Payments/index.js",
59
- "default": "./dist/esm/Authorization/Payments/index.js"
60
- },
61
- "./Authorization/Payments/": {
62
- "types": "./dist/protos/Authorization/Payments/",
63
- "import": "./dist/esm/Authorization/Payments/"
64
- },
65
- "./Authorization/Payments/*": {
66
- "types": "./dist/protos/Authorization/Payments/*.d.ts",
67
- "import": "./dist/esm/Authorization/Payments/*.js"
68
- },
69
- "./Authorization/Payments/Crypto": {
70
- "types": "./dist/protos/Authorization/Payments/Crypto/index.d.ts",
71
- "import": "./dist/esm/Authorization/Payments/Crypto/index.js",
72
- "default": "./dist/esm/Authorization/Payments/Crypto/index.js"
73
- },
74
- "./Authorization/Payments/Crypto/": {
75
- "types": "./dist/protos/Authorization/Payments/Crypto/",
76
- "import": "./dist/esm/Authorization/Payments/Crypto/"
77
- },
78
- "./Authorization/Payments/Crypto/*": {
79
- "types": "./dist/protos/Authorization/Payments/Crypto/*.d.ts",
80
- "import": "./dist/esm/Authorization/Payments/Crypto/*.js"
81
- },
82
- "./Authorization/Payments/Fortis": {
83
- "types": "./dist/protos/Authorization/Payments/Fortis/index.d.ts",
84
- "import": "./dist/esm/Authorization/Payments/Fortis/index.js",
85
- "default": "./dist/esm/Authorization/Payments/Fortis/index.js"
86
- },
87
- "./Authorization/Payments/Fortis/": {
88
- "types": "./dist/protos/Authorization/Payments/Fortis/",
89
- "import": "./dist/esm/Authorization/Payments/Fortis/"
90
- },
91
- "./Authorization/Payments/Fortis/*": {
92
- "types": "./dist/protos/Authorization/Payments/Fortis/*.d.ts",
93
- "import": "./dist/esm/Authorization/Payments/Fortis/*.js"
94
- },
95
- "./Authorization/Payments/Manual": {
96
- "types": "./dist/protos/Authorization/Payments/Manual/index.d.ts",
97
- "import": "./dist/esm/Authorization/Payments/Manual/index.js",
98
- "default": "./dist/esm/Authorization/Payments/Manual/index.js"
99
- },
100
- "./Authorization/Payments/Manual/": {
101
- "types": "./dist/protos/Authorization/Payments/Manual/",
102
- "import": "./dist/esm/Authorization/Payments/Manual/"
103
- },
104
- "./Authorization/Payments/Manual/*": {
105
- "types": "./dist/protos/Authorization/Payments/Manual/*.d.ts",
106
- "import": "./dist/esm/Authorization/Payments/Manual/*.js"
107
- },
108
- "./Authorization/Payments/Paypal": {
109
- "types": "./dist/protos/Authorization/Payments/Paypal/index.d.ts",
110
- "import": "./dist/esm/Authorization/Payments/Paypal/index.js",
111
- "default": "./dist/esm/Authorization/Payments/Paypal/index.js"
112
- },
113
- "./Authorization/Payments/Paypal/": {
114
- "types": "./dist/protos/Authorization/Payments/Paypal/",
115
- "import": "./dist/esm/Authorization/Payments/Paypal/"
116
- },
117
- "./Authorization/Payments/Paypal/*": {
118
- "types": "./dist/protos/Authorization/Payments/Paypal/*.d.ts",
119
- "import": "./dist/esm/Authorization/Payments/Paypal/*.js"
120
- },
121
- "./Authorization/Payments/Stripe": {
122
- "types": "./dist/protos/Authorization/Payments/Stripe/index.d.ts",
123
- "import": "./dist/esm/Authorization/Payments/Stripe/index.js",
124
- "default": "./dist/esm/Authorization/Payments/Stripe/index.js"
125
- },
126
- "./Authorization/Payments/Stripe/": {
127
- "types": "./dist/protos/Authorization/Payments/Stripe/",
128
- "import": "./dist/esm/Authorization/Payments/Stripe/"
129
- },
130
- "./Authorization/Payments/Stripe/*": {
131
- "types": "./dist/protos/Authorization/Payments/Stripe/*.d.ts",
132
- "import": "./dist/esm/Authorization/Payments/Stripe/*.js"
133
- },
134
- "./Authentication": {
135
- "types": "./dist/protos/Authentication/index.d.ts",
136
- "import": "./dist/esm/Authentication/index.js",
137
- "default": "./dist/esm/Authentication/index.js"
138
- },
139
- "./Authentication/": {
140
- "types": "./dist/protos/Authentication/",
141
- "import": "./dist/esm/Authentication/"
142
- },
143
- "./Authentication/*": {
144
- "types": "./dist/protos/Authentication/*.d.ts",
145
- "import": "./dist/esm/Authentication/*.js"
146
- },
147
- "./Comment": {
148
- "types": "./dist/protos/Comment/index.d.ts",
149
- "import": "./dist/esm/Comment/index.js",
150
- "default": "./dist/esm/Comment/index.js"
151
- },
152
- "./Comment/": {
153
- "types": "./dist/protos/Comment/",
154
- "import": "./dist/esm/Comment/"
155
- },
156
- "./Comment/*": {
157
- "types": "./dist/protos/Comment/*.d.ts",
158
- "import": "./dist/esm/Comment/*.js"
159
- },
160
- "./Content": {
161
- "types": "./dist/protos/Content/index.d.ts",
162
- "import": "./dist/esm/Content/index.js",
163
- "default": "./dist/esm/Content/index.js"
164
- },
165
- "./Content/": {
166
- "types": "./dist/protos/Content/",
167
- "import": "./dist/esm/Content/"
168
- },
169
- "./Content/*": {
170
- "types": "./dist/protos/Content/*.d.ts",
171
- "import": "./dist/esm/Content/*.js"
172
- },
173
- "./Content/Music": {
174
- "types": "./dist/protos/Content/Music/index.d.ts",
175
- "import": "./dist/esm/Content/Music/index.js",
176
- "default": "./dist/esm/Content/Music/index.js"
177
- },
178
- "./Content/Music/": {
179
- "types": "./dist/protos/Content/Music/",
180
- "import": "./dist/esm/Content/Music/"
181
- },
182
- "./Content/Music/*": {
183
- "types": "./dist/protos/Content/Music/*.d.ts",
184
- "import": "./dist/esm/Content/Music/*.js"
185
- },
186
- "./Content/Stats": {
187
- "types": "./dist/protos/Content/Stats/index.d.ts",
188
- "import": "./dist/esm/Content/Stats/index.js",
189
- "default": "./dist/esm/Content/Stats/index.js"
190
- },
191
- "./Content/Stats/": {
192
- "types": "./dist/protos/Content/Stats/",
193
- "import": "./dist/esm/Content/Stats/"
194
- },
195
- "./Content/Stats/*": {
196
- "types": "./dist/protos/Content/Stats/*.d.ts",
197
- "import": "./dist/esm/Content/Stats/*.js"
198
- },
199
- "./CreatorDashboard": {
200
- "types": "./dist/protos/CreatorDashboard/index.d.ts",
201
- "import": "./dist/esm/CreatorDashboard/index.js",
202
- "default": "./dist/esm/CreatorDashboard/index.js"
203
- },
204
- "./CreatorDashboard/": {
205
- "types": "./dist/protos/CreatorDashboard/",
206
- "import": "./dist/esm/CreatorDashboard/"
207
- },
208
- "./CreatorDashboard/*": {
209
- "types": "./dist/protos/CreatorDashboard/*.d.ts",
210
- "import": "./dist/esm/CreatorDashboard/*.js"
211
- },
212
- "./Generic": {
213
- "types": "./dist/protos/Generic/index.d.ts",
214
- "import": "./dist/esm/Generic/index.js",
215
- "default": "./dist/esm/Generic/index.js"
216
- },
217
- "./Generic/": {
218
- "types": "./dist/protos/Generic/",
219
- "import": "./dist/esm/Generic/"
220
- },
221
- "./Generic/*": {
222
- "types": "./dist/protos/Generic/*.d.ts",
223
- "import": "./dist/esm/Generic/*.js"
224
- },
225
- "./Notification": {
226
- "types": "./dist/protos/Notification/index.d.ts",
227
- "import": "./dist/esm/Notification/index.js",
228
- "default": "./dist/esm/Notification/index.js"
229
- },
230
- "./Notification/": {
231
- "types": "./dist/protos/Notification/",
232
- "import": "./dist/esm/Notification/"
233
- },
234
- "./Notification/*": {
235
- "types": "./dist/protos/Notification/*.d.ts",
236
- "import": "./dist/esm/Notification/*.js"
237
- },
238
- "./Page": {
239
- "types": "./dist/protos/Page/index.d.ts",
240
- "import": "./dist/esm/Page/index.js",
241
- "default": "./dist/esm/Page/index.js"
242
- },
243
- "./Page/": {
244
- "types": "./dist/protos/Page/",
245
- "import": "./dist/esm/Page/"
246
- },
247
- "./Page/*": {
248
- "types": "./dist/protos/Page/*.d.ts",
249
- "import": "./dist/esm/Page/*.js"
250
- },
251
- "./Settings": {
252
- "types": "./dist/protos/Settings/index.d.ts",
253
- "import": "./dist/esm/Settings/index.js",
254
- "default": "./dist/esm/Settings/index.js"
255
- },
256
- "./Settings/": {
257
- "types": "./dist/protos/Settings/",
258
- "import": "./dist/esm/Settings/"
259
- },
260
- "./Settings/*": {
261
- "types": "./dist/protos/Settings/*.d.ts",
262
- "import": "./dist/esm/Settings/*.js"
263
- },
264
- "./validation": {
265
- "types": "./dist/protos/validation.d.ts",
266
- "import": "./dist/esm/validation.js"
267
- },
268
- "./client": {
269
- "types": "./dist/protos/client.d.ts",
270
- "import": "./dist/esm/client.js"
271
- },
272
- "./*": {
273
- "types": "./dist/*",
274
- "import": "./dist/esm/*"
275
- }
276
- },
277
- "publishConfig": {
278
- "access": "public"
279
- },
280
- "sideEffects": false,
281
- "devDependencies": {
282
- "@bufbuild/buf": "^1.6.0",
283
- "@bufbuild/protoc-gen-es": "^2.10.0",
284
- "@changesets/cli": "^2.29.7",
285
- "@connectrpc/protoc-gen-connect-es": "^1.7.0",
286
- "@typescript-eslint/eslint-plugin": "^6.21.0",
287
- "@typescript-eslint/parser": "^6.21.0",
288
- "eslint": "^8.57.1",
289
- "ts-node": "^10.9.2",
290
- "ts-proto": "^2.8.0",
291
- "ts-proto-descriptors": "^1.16.0",
292
- "typescript": "^5.9.3"
293
- },
294
- "dependencies": {
295
- "@bufbuild/protobuf": "^2.10.0",
296
- "@bufbuild/protovalidate": "^1.0.0",
297
- "@connectrpc/connect": "^1.7.0"
298
- },
299
- "scripts": {
300
- "gen": "node ./generate-ts.mjs && node ./scripts/fix-empty-indexes.mjs",
301
- "build": "npm run build:esm && npm run postbuild:esm && npm run build:types",
302
- "test": "npm run build && node --test test/**/*.test.mjs",
303
- "test:client": "npm run build && node --test test/client.test.mjs",
304
- "test:basic": "node --test test/client-basic.test.mjs",
305
- "prebuild:esm": "node ./scripts/fix-empty-indexes.mjs",
306
- "build:gen": "npm run gen && npm run build",
307
- "build:esm": "tsc -p tsconfig.esm.json",
308
- "postbuild:esm": "node ./scripts/fix-all-imports.mjs && node ./scripts/fix-directory-imports.mjs",
309
- "prebuild:types": "node ./scripts/fix-empty-indexes.mjs",
310
- "build:types": "tsc -p tsconfig.types.json",
311
- "lint": "eslint . --ext .ts",
312
- "lint:gen": "eslint ts-gen --ext .ts",
313
- "lint:gen:fix": "eslint ts-gen --ext .ts --fix",
314
- "clean": "node -e \"const fs=require('fs'),path=require('path'); const rm=(p)=>fs.rmSync(p,{recursive:true,force:true}); if(fs.existsSync('dist')) rm('dist'); const base='ts-gen'; if(fs.existsSync(base)){ for(const ent of fs.readdirSync(base,{withFileTypes:true})) { if(ent.name==='validation.ts' || ent.name==='client.ts') continue; rm(path.join(base, ent.name)); } }\"",
315
- "clean:pack": "node -e \"const fs=require('fs'); const path=require('path'); fs.rmSync('__pack_extract__',{recursive:true,force:true}); fs.readdirSync('.').filter(f=>f.endsWith('.tgz')).forEach(f=>fs.rmSync(path.join('.',f),{force:true})); console.log('Removed __pack_extract__ and *.tgz');\"",
316
- "clean:dist": "node -e \"const fs=require('fs'); fs.rmSync('dist',{recursive:true,force:true});\"",
317
- "rebuild": "npm run clean:dist && node ./scripts/ensure-gen.mjs && npm run build",
318
- "compile": "tsc",
319
- "changeset": "changeset",
320
- "release:version": "changeset version",
321
- "release:version:patch": "node ./scripts/make-changeset.mjs patch && changeset version",
322
- "release:version:minor": "node ./scripts/make-changeset.mjs minor && changeset version",
323
- "release:version:major": "node ./scripts/make-changeset.mjs major && changeset version",
324
- "release:publish": "npm run rebuild && changeset publish"
325
- }
326
- }
2
+ "name": "@inverted-tech/fragments",
3
+ "version": "0.9.0",
4
+ "description": "Types and JS runtime for Inverted protocol buffers (Fragments)",
5
+ "types": "dist/protos/index.d.ts",
6
+ "module": "dist/esm/index.js",
7
+ "files": [
8
+ "dist",
9
+ "README.md",
10
+ "LICENSE"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/protos/index.d.ts",
15
+ "import": "./dist/esm/index.js",
16
+ "default": "./dist/esm/index.js"
17
+ },
18
+ "./protos": {
19
+ "types": "./dist/protos/index.d.ts",
20
+ "import": "./dist/esm/protos/index.js"
21
+ },
22
+ "./protos/": {
23
+ "types": "./dist/protos/",
24
+ "import": "./dist/esm/protos/"
25
+ },
26
+ "./protos/*": {
27
+ "types": "./dist/protos/*.d.ts",
28
+ "import": "./dist/esm/protos/*.js"
29
+ },
30
+ "./Authorization": {
31
+ "types": "./dist/protos/Authorization/index.d.ts",
32
+ "import": "./dist/esm/Authorization/index.js",
33
+ "default": "./dist/esm/Authorization/index.js"
34
+ },
35
+ "./Authorization/": {
36
+ "types": "./dist/protos/Authorization/",
37
+ "import": "./dist/esm/Authorization/"
38
+ },
39
+ "./Authorization/*": {
40
+ "types": "./dist/protos/Authorization/*.d.ts",
41
+ "import": "./dist/esm/Authorization/*.js"
42
+ },
43
+ "./Authorization/Events": {
44
+ "types": "./dist/protos/Authorization/Events/index.d.ts",
45
+ "import": "./dist/esm/Authorization/Events/index.js",
46
+ "default": "./dist/esm/Authorization/Events/index.js"
47
+ },
48
+ "./Authorization/Events/": {
49
+ "types": "./dist/protos/Authorization/Events/",
50
+ "import": "./dist/esm/Authorization/Events/"
51
+ },
52
+ "./Authorization/Events/*": {
53
+ "types": "./dist/protos/Authorization/Events/*.d.ts",
54
+ "import": "./dist/esm/Authorization/Events/*.js"
55
+ },
56
+ "./Authorization/Payments": {
57
+ "types": "./dist/protos/Authorization/Payments/index.d.ts",
58
+ "import": "./dist/esm/Authorization/Payments/index.js",
59
+ "default": "./dist/esm/Authorization/Payments/index.js"
60
+ },
61
+ "./Authorization/Payments/": {
62
+ "types": "./dist/protos/Authorization/Payments/",
63
+ "import": "./dist/esm/Authorization/Payments/"
64
+ },
65
+ "./Authorization/Payments/*": {
66
+ "types": "./dist/protos/Authorization/Payments/*.d.ts",
67
+ "import": "./dist/esm/Authorization/Payments/*.js"
68
+ },
69
+ "./Authorization/Payments/Crypto": {
70
+ "types": "./dist/protos/Authorization/Payments/Crypto/index.d.ts",
71
+ "import": "./dist/esm/Authorization/Payments/Crypto/index.js",
72
+ "default": "./dist/esm/Authorization/Payments/Crypto/index.js"
73
+ },
74
+ "./Authorization/Payments/Crypto/": {
75
+ "types": "./dist/protos/Authorization/Payments/Crypto/",
76
+ "import": "./dist/esm/Authorization/Payments/Crypto/"
77
+ },
78
+ "./Authorization/Payments/Crypto/*": {
79
+ "types": "./dist/protos/Authorization/Payments/Crypto/*.d.ts",
80
+ "import": "./dist/esm/Authorization/Payments/Crypto/*.js"
81
+ },
82
+ "./Authorization/Payments/Fortis": {
83
+ "types": "./dist/protos/Authorization/Payments/Fortis/index.d.ts",
84
+ "import": "./dist/esm/Authorization/Payments/Fortis/index.js",
85
+ "default": "./dist/esm/Authorization/Payments/Fortis/index.js"
86
+ },
87
+ "./Authorization/Payments/Fortis/": {
88
+ "types": "./dist/protos/Authorization/Payments/Fortis/",
89
+ "import": "./dist/esm/Authorization/Payments/Fortis/"
90
+ },
91
+ "./Authorization/Payments/Fortis/*": {
92
+ "types": "./dist/protos/Authorization/Payments/Fortis/*.d.ts",
93
+ "import": "./dist/esm/Authorization/Payments/Fortis/*.js"
94
+ },
95
+ "./Authorization/Payments/Manual": {
96
+ "types": "./dist/protos/Authorization/Payments/Manual/index.d.ts",
97
+ "import": "./dist/esm/Authorization/Payments/Manual/index.js",
98
+ "default": "./dist/esm/Authorization/Payments/Manual/index.js"
99
+ },
100
+ "./Authorization/Payments/Manual/": {
101
+ "types": "./dist/protos/Authorization/Payments/Manual/",
102
+ "import": "./dist/esm/Authorization/Payments/Manual/"
103
+ },
104
+ "./Authorization/Payments/Manual/*": {
105
+ "types": "./dist/protos/Authorization/Payments/Manual/*.d.ts",
106
+ "import": "./dist/esm/Authorization/Payments/Manual/*.js"
107
+ },
108
+ "./Authorization/Payments/Paypal": {
109
+ "types": "./dist/protos/Authorization/Payments/Paypal/index.d.ts",
110
+ "import": "./dist/esm/Authorization/Payments/Paypal/index.js",
111
+ "default": "./dist/esm/Authorization/Payments/Paypal/index.js"
112
+ },
113
+ "./Authorization/Payments/Paypal/": {
114
+ "types": "./dist/protos/Authorization/Payments/Paypal/",
115
+ "import": "./dist/esm/Authorization/Payments/Paypal/"
116
+ },
117
+ "./Authorization/Payments/Paypal/*": {
118
+ "types": "./dist/protos/Authorization/Payments/Paypal/*.d.ts",
119
+ "import": "./dist/esm/Authorization/Payments/Paypal/*.js"
120
+ },
121
+ "./Authorization/Payments/Stripe": {
122
+ "types": "./dist/protos/Authorization/Payments/Stripe/index.d.ts",
123
+ "import": "./dist/esm/Authorization/Payments/Stripe/index.js",
124
+ "default": "./dist/esm/Authorization/Payments/Stripe/index.js"
125
+ },
126
+ "./Authorization/Payments/Stripe/": {
127
+ "types": "./dist/protos/Authorization/Payments/Stripe/",
128
+ "import": "./dist/esm/Authorization/Payments/Stripe/"
129
+ },
130
+ "./Authorization/Payments/Stripe/*": {
131
+ "types": "./dist/protos/Authorization/Payments/Stripe/*.d.ts",
132
+ "import": "./dist/esm/Authorization/Payments/Stripe/*.js"
133
+ },
134
+ "./Authentication": {
135
+ "types": "./dist/protos/Authentication/index.d.ts",
136
+ "import": "./dist/esm/Authentication/index.js",
137
+ "default": "./dist/esm/Authentication/index.js"
138
+ },
139
+ "./Authentication/": {
140
+ "types": "./dist/protos/Authentication/",
141
+ "import": "./dist/esm/Authentication/"
142
+ },
143
+ "./Authentication/*": {
144
+ "types": "./dist/protos/Authentication/*.d.ts",
145
+ "import": "./dist/esm/Authentication/*.js"
146
+ },
147
+ "./Comment": {
148
+ "types": "./dist/protos/Comment/index.d.ts",
149
+ "import": "./dist/esm/Comment/index.js",
150
+ "default": "./dist/esm/Comment/index.js"
151
+ },
152
+ "./Comment/": {
153
+ "types": "./dist/protos/Comment/",
154
+ "import": "./dist/esm/Comment/"
155
+ },
156
+ "./Comment/*": {
157
+ "types": "./dist/protos/Comment/*.d.ts",
158
+ "import": "./dist/esm/Comment/*.js"
159
+ },
160
+ "./Content": {
161
+ "types": "./dist/protos/Content/index.d.ts",
162
+ "import": "./dist/esm/Content/index.js",
163
+ "default": "./dist/esm/Content/index.js"
164
+ },
165
+ "./Content/": {
166
+ "types": "./dist/protos/Content/",
167
+ "import": "./dist/esm/Content/"
168
+ },
169
+ "./Content/*": {
170
+ "types": "./dist/protos/Content/*.d.ts",
171
+ "import": "./dist/esm/Content/*.js"
172
+ },
173
+ "./Content/Music": {
174
+ "types": "./dist/protos/Content/Music/index.d.ts",
175
+ "import": "./dist/esm/Content/Music/index.js",
176
+ "default": "./dist/esm/Content/Music/index.js"
177
+ },
178
+ "./Content/Music/": {
179
+ "types": "./dist/protos/Content/Music/",
180
+ "import": "./dist/esm/Content/Music/"
181
+ },
182
+ "./Content/Music/*": {
183
+ "types": "./dist/protos/Content/Music/*.d.ts",
184
+ "import": "./dist/esm/Content/Music/*.js"
185
+ },
186
+ "./Content/Stats": {
187
+ "types": "./dist/protos/Content/Stats/index.d.ts",
188
+ "import": "./dist/esm/Content/Stats/index.js",
189
+ "default": "./dist/esm/Content/Stats/index.js"
190
+ },
191
+ "./Content/Stats/": {
192
+ "types": "./dist/protos/Content/Stats/",
193
+ "import": "./dist/esm/Content/Stats/"
194
+ },
195
+ "./Content/Stats/*": {
196
+ "types": "./dist/protos/Content/Stats/*.d.ts",
197
+ "import": "./dist/esm/Content/Stats/*.js"
198
+ },
199
+ "./CreatorDashboard": {
200
+ "types": "./dist/protos/CreatorDashboard/index.d.ts",
201
+ "import": "./dist/esm/CreatorDashboard/index.js",
202
+ "default": "./dist/esm/CreatorDashboard/index.js"
203
+ },
204
+ "./CreatorDashboard/": {
205
+ "types": "./dist/protos/CreatorDashboard/",
206
+ "import": "./dist/esm/CreatorDashboard/"
207
+ },
208
+ "./CreatorDashboard/*": {
209
+ "types": "./dist/protos/CreatorDashboard/*.d.ts",
210
+ "import": "./dist/esm/CreatorDashboard/*.js"
211
+ },
212
+ "./Generic": {
213
+ "types": "./dist/protos/Generic/index.d.ts",
214
+ "import": "./dist/esm/Generic/index.js",
215
+ "default": "./dist/esm/Generic/index.js"
216
+ },
217
+ "./Generic/": {
218
+ "types": "./dist/protos/Generic/",
219
+ "import": "./dist/esm/Generic/"
220
+ },
221
+ "./Generic/*": {
222
+ "types": "./dist/protos/Generic/*.d.ts",
223
+ "import": "./dist/esm/Generic/*.js"
224
+ },
225
+ "./Notification": {
226
+ "types": "./dist/protos/Notification/index.d.ts",
227
+ "import": "./dist/esm/Notification/index.js",
228
+ "default": "./dist/esm/Notification/index.js"
229
+ },
230
+ "./Notification/": {
231
+ "types": "./dist/protos/Notification/",
232
+ "import": "./dist/esm/Notification/"
233
+ },
234
+ "./Notification/*": {
235
+ "types": "./dist/protos/Notification/*.d.ts",
236
+ "import": "./dist/esm/Notification/*.js"
237
+ },
238
+ "./Page": {
239
+ "types": "./dist/protos/Page/index.d.ts",
240
+ "import": "./dist/esm/Page/index.js",
241
+ "default": "./dist/esm/Page/index.js"
242
+ },
243
+ "./Page/": {
244
+ "types": "./dist/protos/Page/",
245
+ "import": "./dist/esm/Page/"
246
+ },
247
+ "./Page/*": {
248
+ "types": "./dist/protos/Page/*.d.ts",
249
+ "import": "./dist/esm/Page/*.js"
250
+ },
251
+ "./Settings": {
252
+ "types": "./dist/protos/Settings/index.d.ts",
253
+ "import": "./dist/esm/Settings/index.js",
254
+ "default": "./dist/esm/Settings/index.js"
255
+ },
256
+ "./Settings/": {
257
+ "types": "./dist/protos/Settings/",
258
+ "import": "./dist/esm/Settings/"
259
+ },
260
+ "./Settings/*": {
261
+ "types": "./dist/protos/Settings/*.d.ts",
262
+ "import": "./dist/esm/Settings/*.js"
263
+ },
264
+ "./validation": {
265
+ "types": "./dist/protos/validation.d.ts",
266
+ "import": "./dist/esm/validation.js"
267
+ },
268
+ "./client": {
269
+ "types": "./dist/protos/client.d.ts",
270
+ "import": "./dist/esm/client.js"
271
+ },
272
+ "./*": {
273
+ "types": "./dist/*",
274
+ "import": "./dist/esm/*"
275
+ }
276
+ },
277
+ "scripts": {
278
+ "gen": "node ./generate-ts.mjs && node ./scripts/fix-empty-indexes.mjs",
279
+ "build": "npm run build:esm && npm run postbuild:esm && npm run build:types",
280
+ "test": "npm run build && node --test test/**/*.test.mjs",
281
+ "test:client": "npm run build && node --test test/client.test.mjs",
282
+ "test:basic": "node --test test/client-basic.test.mjs",
283
+ "prebuild:esm": "node ./scripts/fix-empty-indexes.mjs",
284
+ "build:gen": "npm run gen && npm run build",
285
+ "build:esm": "tsc -p tsconfig.esm.json",
286
+ "postbuild:esm": "node ./scripts/fix-all-imports.mjs && node ./scripts/fix-directory-imports.mjs",
287
+ "prebuild:types": "node ./scripts/fix-empty-indexes.mjs",
288
+ "build:types": "tsc -p tsconfig.types.json",
289
+ "lint": "eslint . --ext .ts",
290
+ "lint:gen": "eslint ts-gen --ext .ts",
291
+ "lint:gen:fix": "eslint ts-gen --ext .ts --fix",
292
+ "clean": "node -e \"const fs=require('fs'),path=require('path'); const rm=(p)=>fs.rmSync(p,{recursive:true,force:true}); if(fs.existsSync('dist')) rm('dist'); const base='ts-gen'; if(fs.existsSync(base)){ for(const ent of fs.readdirSync(base,{withFileTypes:true})) { if(ent.name==='validation.ts' || ent.name==='client.ts') continue; rm(path.join(base, ent.name)); } }\"",
293
+ "clean:pack": "node -e \"const fs=require('fs'); const path=require('path'); fs.rmSync('__pack_extract__',{recursive:true,force:true}); fs.readdirSync('.').filter(f=>f.endsWith('.tgz')).forEach(f=>fs.rmSync(path.join('.',f),{force:true})); console.log('Removed __pack_extract__ and *.tgz');\"",
294
+ "clean:dist": "node -e \"const fs=require('fs'); fs.rmSync('dist',{recursive:true,force:true});\"",
295
+ "rebuild": "npm run clean:dist && node ./scripts/ensure-gen.mjs && npm run build",
296
+ "prepublishOnly": "node ./scripts/ensure-gen.mjs",
297
+ "compile": "tsc",
298
+ "changeset": "changeset",
299
+ "release:version": "changeset version",
300
+ "release:version:patch": "node ./scripts/make-changeset.mjs patch && changeset version",
301
+ "release:version:minor": "node ./scripts/make-changeset.mjs minor && changeset version",
302
+ "release:version:major": "node ./scripts/make-changeset.mjs major && changeset version",
303
+ "release:publish": "npm run rebuild && changeset publish",
304
+ "prepack": "npm run rebuild && node ./scripts/prepack-readme.mjs",
305
+ "postpack": "node ./scripts/postpack-readme.mjs"
306
+ },
307
+ "publishConfig": {
308
+ "access": "public"
309
+ },
310
+ "sideEffects": false,
311
+ "devDependencies": {
312
+ "@bufbuild/buf": "^1.6.0",
313
+ "@bufbuild/protoc-gen-es": "^2.10.0",
314
+ "@changesets/cli": "^2.29.7",
315
+ "@connectrpc/protoc-gen-connect-es": "^1.7.0",
316
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
317
+ "@typescript-eslint/parser": "^6.21.0",
318
+ "eslint": "^8.57.1",
319
+ "ts-node": "^10.9.2",
320
+ "ts-proto": "^2.8.0",
321
+ "ts-proto-descriptors": "^1.16.0",
322
+ "typescript": "^5.9.3"
323
+ },
324
+ "dependencies": {
325
+ "@bufbuild/protobuf": "^2.10.0",
326
+ "@bufbuild/protovalidate": "^1.0.0",
327
+ "@connectrpc/connect": "^1.7.0"
328
+ }
329
+ }