@postxl/generators 1.23.0 → 1.24.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/base/template/.gitignore.template +29 -453
- package/dist/frontend-admin/generators/detail-sidebar.generator.js +1 -1
- package/dist/frontend-admin/generators/detail-sidebar.generator.js.map +1 -1
- package/dist/frontend-core/template/src/styles/theme-default.css +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/types/generate-types-standalone.d.ts +13 -0
- package/dist/types/generate-types-standalone.js +98 -0
- package/dist/types/generate-types-standalone.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,471 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
## files generated by popular Visual Studio add-ons.
|
|
3
|
-
##
|
|
4
|
-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
|
5
|
-
|
|
6
|
-
.DS_Store
|
|
7
|
-
|
|
8
|
-
# Workspace
|
|
9
|
-
Workspace/
|
|
10
|
-
|
|
11
|
-
# User-specific files
|
|
12
|
-
*.rsuser
|
|
13
|
-
*.suo
|
|
14
|
-
*.user
|
|
15
|
-
*.userosscache
|
|
16
|
-
*.sln.docstates
|
|
17
|
-
|
|
18
|
-
# User-specific files (MonoDevelop/Xamarin Studio)
|
|
19
|
-
*.userprefs
|
|
20
|
-
|
|
21
|
-
# Mono auto generated files
|
|
22
|
-
mono_crash.*
|
|
23
|
-
|
|
24
|
-
# Build results
|
|
25
|
-
[Dd]ebug/
|
|
26
|
-
[Dd]ebugPublic/
|
|
27
|
-
[Rr]elease/
|
|
28
|
-
[Rr]eleases/
|
|
29
|
-
x64/
|
|
30
|
-
x86/
|
|
31
|
-
[Ww][Ii][Nn]32/
|
|
32
|
-
[Aa][Rr][Mm]/
|
|
33
|
-
[Aa][Rr][Mm]64/
|
|
34
|
-
bld/
|
|
35
|
-
[Bb]in/
|
|
36
|
-
[Oo]bj/
|
|
37
|
-
[Oo]ut/
|
|
38
|
-
[Ll]og/
|
|
39
|
-
[Ll]ogs/
|
|
40
|
-
|
|
41
|
-
# Visual Studio 2015/2017 cache/options directory
|
|
42
|
-
.vs/
|
|
43
|
-
# Uncomment if you have tasks that create the project's static files in wwwroot
|
|
44
|
-
#wwwroot/
|
|
45
|
-
|
|
46
|
-
# Visual Studio 2017 auto generated files
|
|
47
|
-
Generated\ Files/
|
|
48
|
-
|
|
49
|
-
# MSTest test Results
|
|
50
|
-
[Tt]est[Rr]esult*/
|
|
51
|
-
[Bb]uild[Ll]og.*
|
|
52
|
-
|
|
53
|
-
# NUnit
|
|
54
|
-
*.VisualState.xml
|
|
55
|
-
TestResult.xml
|
|
56
|
-
nunit-*.xml
|
|
57
|
-
|
|
58
|
-
# Build Results of an ATL Project
|
|
59
|
-
[Dd]ebugPS/
|
|
60
|
-
[Rr]eleasePS/
|
|
61
|
-
dlldata.c
|
|
62
|
-
|
|
63
|
-
# Benchmark Results
|
|
64
|
-
BenchmarkDotNet.Artifacts/
|
|
65
|
-
|
|
66
|
-
# .NET Core
|
|
67
|
-
project.lock.json
|
|
68
|
-
project.fragment.lock.json
|
|
69
|
-
artifacts/
|
|
70
|
-
|
|
71
|
-
# ASP.NET Scaffolding
|
|
72
|
-
ScaffoldingReadMe.txt
|
|
73
|
-
|
|
74
|
-
# StyleCop
|
|
75
|
-
StyleCopReport.xml
|
|
76
|
-
|
|
77
|
-
# Files built by Visual Studio
|
|
78
|
-
*_i.c
|
|
79
|
-
*_p.c
|
|
80
|
-
*_h.h
|
|
81
|
-
*.ilk
|
|
82
|
-
*.meta
|
|
83
|
-
*.obj
|
|
84
|
-
*.iobj
|
|
85
|
-
*.pch
|
|
86
|
-
*.pdb
|
|
87
|
-
*.ipdb
|
|
88
|
-
*.pgc
|
|
89
|
-
*.pgd
|
|
90
|
-
*.rsp
|
|
91
|
-
*.sbr
|
|
92
|
-
*.tlb
|
|
93
|
-
*.tli
|
|
94
|
-
*.tlh
|
|
95
|
-
*.tmp
|
|
96
|
-
*.tmp_proj
|
|
97
|
-
*_wpftmp.csproj
|
|
98
|
-
*.log
|
|
99
|
-
*.vspscc
|
|
100
|
-
*.vssscc
|
|
101
|
-
.builds
|
|
102
|
-
*.pidb
|
|
103
|
-
*.svclog
|
|
104
|
-
*.scc
|
|
105
|
-
|
|
106
|
-
# Chutzpah Test files
|
|
107
|
-
_Chutzpah*
|
|
108
|
-
|
|
109
|
-
# Visual C++ cache files
|
|
110
|
-
ipch/
|
|
111
|
-
*.aps
|
|
112
|
-
*.ncb
|
|
113
|
-
*.opendb
|
|
114
|
-
*.opensdf
|
|
115
|
-
*.sdf
|
|
116
|
-
*.cachefile
|
|
117
|
-
*.VC.db
|
|
118
|
-
*.VC.VC.opendb
|
|
119
|
-
|
|
120
|
-
# Visual Studio profiler
|
|
121
|
-
*.psess
|
|
122
|
-
*.vsp
|
|
123
|
-
*.vspx
|
|
124
|
-
*.sap
|
|
125
|
-
|
|
126
|
-
# Visual Studio Trace Files
|
|
127
|
-
*.e2e
|
|
128
|
-
|
|
129
|
-
# TFS 2012 Local Workspace
|
|
130
|
-
$tf/
|
|
131
|
-
|
|
132
|
-
# Guidance Automation Toolkit
|
|
133
|
-
*.gpState
|
|
134
|
-
|
|
135
|
-
# ReSharper is a .NET coding add-in
|
|
136
|
-
_ReSharper*/
|
|
137
|
-
*.[Rr]e[Ss]harper
|
|
138
|
-
*.DotSettings.user
|
|
139
|
-
|
|
140
|
-
# TeamCity is a build add-in
|
|
141
|
-
_TeamCity*
|
|
142
|
-
|
|
143
|
-
# DotCover is a Code Coverage Tool
|
|
144
|
-
*.dotCover
|
|
145
|
-
|
|
146
|
-
# AxoCover is a Code Coverage Tool
|
|
147
|
-
.axoCover/*
|
|
148
|
-
!.axoCover/settings.json
|
|
149
|
-
|
|
150
|
-
# Coverlet is a free, cross platform Code Coverage Tool
|
|
151
|
-
coverage*.json
|
|
152
|
-
coverage*.xml
|
|
153
|
-
coverage*.info
|
|
154
|
-
|
|
155
|
-
# Visual Studio code coverage results
|
|
156
|
-
*.coverage
|
|
157
|
-
*.coveragexml
|
|
158
|
-
|
|
159
|
-
# NCrunch
|
|
160
|
-
_NCrunch_*
|
|
161
|
-
.*crunch*.local.xml
|
|
162
|
-
nCrunchTemp_*
|
|
163
|
-
|
|
164
|
-
# MightyMoose
|
|
165
|
-
*.mm.*
|
|
166
|
-
AutoTest.Net/
|
|
167
|
-
|
|
168
|
-
# Web workbench (sass)
|
|
169
|
-
.sass-cache/
|
|
170
|
-
|
|
171
|
-
# Installshield output folder
|
|
172
|
-
[Ee]xpress/
|
|
173
|
-
|
|
174
|
-
# DocProject is a documentation generator add-in
|
|
175
|
-
DocProject/buildhelp/
|
|
176
|
-
DocProject/Help/*.HxT
|
|
177
|
-
DocProject/Help/*.HxC
|
|
178
|
-
DocProject/Help/*.hhc
|
|
179
|
-
DocProject/Help/*.hhk
|
|
180
|
-
DocProject/Help/*.hhp
|
|
181
|
-
DocProject/Help/Html2
|
|
182
|
-
DocProject/Help/html
|
|
183
|
-
|
|
184
|
-
# Click-Once directory
|
|
185
|
-
publish/
|
|
186
|
-
|
|
187
|
-
# Publish Web Output
|
|
188
|
-
*.[Pp]ublish.xml
|
|
189
|
-
*.azurePubxml
|
|
190
|
-
# Note: Comment the next line if you want to checkin your web deploy settings,
|
|
191
|
-
# but database connection strings (with potential passwords) will be unencrypted
|
|
192
|
-
*.pubxml
|
|
193
|
-
*.publishproj
|
|
194
|
-
|
|
195
|
-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
|
196
|
-
# checkin your Azure Web App publish settings, but sensitive information contained
|
|
197
|
-
# in these scripts will be unencrypted
|
|
198
|
-
PublishScripts/
|
|
199
|
-
|
|
200
|
-
# NuGet Packages
|
|
201
|
-
*.nupkg
|
|
202
|
-
# NuGet Symbol Packages
|
|
203
|
-
*.snupkg
|
|
204
|
-
# The packages folder can be ignored because of Package Restore
|
|
205
|
-
# except build/, which is used as an MSBuild target.
|
|
206
|
-
# Uncomment if necessary however generally it will be regenerated when needed
|
|
207
|
-
#!**/[Pp]ackages/repositories.config
|
|
208
|
-
# NuGet v3's project.json files produces more ignorable files
|
|
209
|
-
*.nuget.props
|
|
210
|
-
*.nuget.targets
|
|
211
|
-
|
|
212
|
-
# Microsoft Azure Build Output
|
|
213
|
-
csx/
|
|
214
|
-
*.build.csdef
|
|
215
|
-
|
|
216
|
-
# Microsoft Azure Emulator
|
|
217
|
-
ecf/
|
|
218
|
-
rcf/
|
|
219
|
-
|
|
220
|
-
# Windows Store app package directories and files
|
|
221
|
-
AppPackages/
|
|
222
|
-
BundleArtifacts/
|
|
223
|
-
Package.StoreAssociation.xml
|
|
224
|
-
_pkginfo.txt
|
|
225
|
-
*.appx
|
|
226
|
-
*.appxbundle
|
|
227
|
-
*.appxupload
|
|
228
|
-
|
|
229
|
-
# Visual Studio cache files
|
|
230
|
-
# files ending in .cache can be ignored
|
|
231
|
-
*.[Cc]ache
|
|
232
|
-
# but keep track of directories ending in .cache
|
|
233
|
-
!?*.[Cc]ache/
|
|
234
|
-
|
|
235
|
-
# Others
|
|
236
|
-
ClientBin/
|
|
237
|
-
~$*
|
|
238
|
-
*~
|
|
239
|
-
*.dbmdl
|
|
240
|
-
*.dbproj.schemaview
|
|
241
|
-
*.jfm
|
|
242
|
-
*.pfx
|
|
243
|
-
*.publishsettings
|
|
244
|
-
orleans.codegen.cs
|
|
245
|
-
|
|
246
|
-
# Including strong name files can present a security risk
|
|
247
|
-
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
|
248
|
-
#*.snk
|
|
249
|
-
|
|
250
|
-
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
|
251
|
-
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
|
252
|
-
#bower_components/
|
|
253
|
-
|
|
254
|
-
# RIA/Silverlight projects
|
|
255
|
-
Generated_Code/
|
|
256
|
-
|
|
257
|
-
# Backup & report files from converting an old project file
|
|
258
|
-
# to a newer Visual Studio version. Backup files are not needed,
|
|
259
|
-
# because we have git ;-)
|
|
260
|
-
_UpgradeReport_Files/
|
|
261
|
-
Backup*/
|
|
262
|
-
UpgradeLog*.XML
|
|
263
|
-
UpgradeLog*.htm
|
|
264
|
-
ServiceFabricBackup/
|
|
265
|
-
*.rptproj.bak
|
|
266
|
-
|
|
267
|
-
# SQL Server files
|
|
268
|
-
*.mdf
|
|
269
|
-
*.ldf
|
|
270
|
-
*.ndf
|
|
271
|
-
|
|
272
|
-
# Business Intelligence projects
|
|
273
|
-
*.rdl.data
|
|
274
|
-
*.bim.layout
|
|
275
|
-
*.bim_*.settings
|
|
276
|
-
*.rptproj.rsuser
|
|
277
|
-
*- [Bb]ackup.rdl
|
|
278
|
-
*- [Bb]ackup ([0-9]).rdl
|
|
279
|
-
*- [Bb]ackup ([0-9][0-9]).rdl
|
|
280
|
-
|
|
281
|
-
# Microsoft Fakes
|
|
282
|
-
FakesAssemblies/
|
|
283
|
-
|
|
284
|
-
# GhostDoc plugin setting file
|
|
285
|
-
*.GhostDoc.xml
|
|
286
|
-
|
|
287
|
-
# Node.js Tools for Visual Studio
|
|
288
|
-
.ntvs_analysis.dat
|
|
1
|
+
# Dependencies
|
|
289
2
|
node_modules/
|
|
290
3
|
|
|
291
|
-
#
|
|
292
|
-
|
|
4
|
+
# Build output
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
293
7
|
|
|
294
|
-
#
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
*.vbw
|
|
299
|
-
|
|
300
|
-
# Visual Studio LightSwitch build output
|
|
301
|
-
**/*.HTMLClient/GeneratedArtifacts
|
|
302
|
-
**/*.DesktopClient/GeneratedArtifacts
|
|
303
|
-
**/*.DesktopClient/ModelManifest.xml
|
|
304
|
-
**/*.Server/GeneratedArtifacts
|
|
305
|
-
**/*.Server/ModelManifest.xml
|
|
306
|
-
_Pvt_Extensions
|
|
307
|
-
|
|
308
|
-
# Paket dependency manager
|
|
309
|
-
.paket/paket.exe
|
|
310
|
-
paket-files/
|
|
311
|
-
|
|
312
|
-
# FAKE - F# Make
|
|
313
|
-
.fake/
|
|
314
|
-
|
|
315
|
-
# CodeRush personal settings
|
|
316
|
-
.cr/personal
|
|
317
|
-
|
|
318
|
-
# Python Tools for Visual Studio (PTVS)
|
|
319
|
-
__pycache__/
|
|
320
|
-
*.pyc
|
|
321
|
-
|
|
322
|
-
# Cake - Uncomment if you are using it
|
|
323
|
-
# tools/**
|
|
324
|
-
# !tools/packages.config
|
|
325
|
-
|
|
326
|
-
# Tabs Studio
|
|
327
|
-
*.tss
|
|
328
|
-
|
|
329
|
-
# Telerik's JustMock configuration file
|
|
330
|
-
*.jmconfig
|
|
331
|
-
|
|
332
|
-
# BizTalk build output
|
|
333
|
-
*.btp.cs
|
|
334
|
-
*.btm.cs
|
|
335
|
-
*.odx.cs
|
|
336
|
-
*.xsd.cs
|
|
337
|
-
|
|
338
|
-
# OpenCover UI analysis results
|
|
339
|
-
OpenCover/
|
|
340
|
-
|
|
341
|
-
# Azure Stream Analytics local run output
|
|
342
|
-
ASALocalRun/
|
|
343
|
-
|
|
344
|
-
# MSBuild Binary and Structured Log
|
|
345
|
-
*.binlog
|
|
346
|
-
|
|
347
|
-
# NVidia Nsight GPU debugger configuration file
|
|
348
|
-
*.nvuser
|
|
349
|
-
|
|
350
|
-
# MFractors (Xamarin productivity tool) working folder
|
|
351
|
-
.mfractor/
|
|
352
|
-
|
|
353
|
-
# Local History for Visual Studio
|
|
354
|
-
.localhistory/
|
|
355
|
-
|
|
356
|
-
# BeatPulse healthcheck temp database
|
|
357
|
-
healthchecksdb
|
|
358
|
-
|
|
359
|
-
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
|
360
|
-
MigrationBackup/
|
|
361
|
-
|
|
362
|
-
# Ionide (cross platform F# VS Code tools) working folder
|
|
363
|
-
.ionide/
|
|
364
|
-
|
|
365
|
-
# Fody - auto-generated XML schema
|
|
366
|
-
FodyWeavers.xsd
|
|
8
|
+
# Environment files
|
|
9
|
+
.env
|
|
10
|
+
.env.*
|
|
11
|
+
!.env.example
|
|
367
12
|
|
|
368
13
|
# Logs
|
|
369
|
-
logs
|
|
370
14
|
*.log
|
|
371
15
|
npm-debug.log*
|
|
372
16
|
yarn-debug.log*
|
|
373
17
|
yarn-error.log*
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
377
|
-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
378
|
-
|
|
379
|
-
# Runtime data
|
|
380
|
-
pids
|
|
381
|
-
*.pid
|
|
382
|
-
*.seed
|
|
383
|
-
*.pid.lock
|
|
384
|
-
|
|
385
|
-
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
386
|
-
lib-cov
|
|
18
|
+
pnpm-debug.log*
|
|
387
19
|
|
|
388
|
-
# Coverage
|
|
389
|
-
coverage
|
|
20
|
+
# Coverage
|
|
21
|
+
coverage/
|
|
390
22
|
*.lcov
|
|
23
|
+
.nyc_output/
|
|
391
24
|
|
|
392
|
-
#
|
|
393
|
-
.nyc_output
|
|
394
|
-
|
|
395
|
-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
396
|
-
.grunt
|
|
397
|
-
|
|
398
|
-
# Bower dependency directory (https://bower.io/)
|
|
399
|
-
bower_components
|
|
400
|
-
|
|
401
|
-
# node-waf configuration
|
|
402
|
-
.lock-wscript
|
|
403
|
-
|
|
404
|
-
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
405
|
-
build/Release
|
|
406
|
-
|
|
407
|
-
# Dependency directories
|
|
408
|
-
node_modules/
|
|
409
|
-
jspm_packages/
|
|
410
|
-
|
|
411
|
-
# TypeScript v1 declaration files
|
|
412
|
-
typings/
|
|
413
|
-
|
|
414
|
-
# TypeScript cache
|
|
25
|
+
# TypeScript
|
|
415
26
|
*.tsbuildinfo
|
|
416
27
|
|
|
417
|
-
#
|
|
418
|
-
.
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
28
|
+
# IDE
|
|
29
|
+
.vscode/
|
|
30
|
+
.idea/
|
|
31
|
+
*.swp
|
|
32
|
+
*.swo
|
|
33
|
+
*~
|
|
422
34
|
|
|
423
|
-
#
|
|
424
|
-
.
|
|
425
|
-
.
|
|
426
|
-
.rts2_cache_es/
|
|
427
|
-
.rts2_cache_umd/
|
|
35
|
+
# OS
|
|
36
|
+
.DS_Store
|
|
37
|
+
Thumbs.db
|
|
428
38
|
|
|
429
|
-
#
|
|
430
|
-
|
|
39
|
+
# Prisma
|
|
40
|
+
*.db
|
|
41
|
+
*.db-journal
|
|
431
42
|
|
|
432
|
-
#
|
|
43
|
+
# Misc
|
|
433
44
|
*.tgz
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
.
|
|
437
|
-
|
|
438
|
-
# dotenv environment variables file
|
|
439
|
-
.env
|
|
440
|
-
.env.test
|
|
441
|
-
|
|
442
|
-
# parcel-bundler cache (https://parceljs.org/)
|
|
443
|
-
.cache
|
|
444
|
-
|
|
445
|
-
# Next.js build output
|
|
446
|
-
.next
|
|
447
|
-
|
|
448
|
-
# Nuxt.js build / generate output
|
|
449
|
-
.nuxt
|
|
450
|
-
dist
|
|
451
|
-
|
|
452
|
-
# Gatsby files
|
|
453
|
-
.cache/
|
|
454
|
-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
|
|
455
|
-
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
456
|
-
# public
|
|
457
|
-
|
|
458
|
-
# vuepress build output
|
|
459
|
-
.vuepress/dist
|
|
460
|
-
|
|
461
|
-
# Serverless directories
|
|
462
|
-
.serverless/
|
|
463
|
-
|
|
464
|
-
# FuseBox cache
|
|
465
|
-
.fusebox/
|
|
466
|
-
|
|
467
|
-
# DynamoDB Local files
|
|
468
|
-
.dynamodb/
|
|
469
|
-
|
|
470
|
-
# TernJS port file
|
|
471
|
-
.tern-port
|
|
45
|
+
*.pid
|
|
46
|
+
*.seed
|
|
47
|
+
*.pid.lock
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail-sidebar.generator.js","sourceRoot":"","sources":["../../../src/frontend-admin/generators/detail-sidebar.generator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,gEAgIC;AAzID,6DAA8C;AAI9C;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,EAAE,OAAO,EAA8B;IAChF,MAAM,OAAO,GAAG,SAAS,CAAC,eAAe;QACvC,EAAE;SACD,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;SACvE,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC;SAC7C,SAAS,CAAC;QACT,IAAI,EAAE,SAAS,CAAC,uBAAuB,CAAC,iCAAiC,CAAC;QAC1E,KAAK,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,uBAAuB,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC;KAC5G,CAAC;SACD,SAAS,CAAC;QACT,IAAI,EAAE,SAAS,CAAC,uBAAuB,CAAC,iCAAiC,CAAC;QAC1E,KAAK,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC;KACtD,CAAC,CAAA;IAEJ,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,cAAc,CAAA;IAC7D,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,cAAe,CAAC,CAAA,CAAC,UAAU;IAClE,CAAC;IAED,OAAO;;EAEP,WAAW,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE;EACrD,OAAO,CAAC,QAAQ,EAAE
|
|
1
|
+
{"version":3,"file":"detail-sidebar.generator.js","sourceRoot":"","sources":["../../../src/frontend-admin/generators/detail-sidebar.generator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,gEAgIC;AAzID,6DAA8C;AAI9C;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,EAAE,OAAO,EAA8B;IAChF,MAAM,OAAO,GAAG,SAAS,CAAC,eAAe;QACvC,EAAE;SACD,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;SACvE,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC;SAC7C,SAAS,CAAC;QACT,IAAI,EAAE,SAAS,CAAC,uBAAuB,CAAC,iCAAiC,CAAC;QAC1E,KAAK,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,uBAAuB,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC;KAC5G,CAAC;SACD,SAAS,CAAC;QACT,IAAI,EAAE,SAAS,CAAC,uBAAuB,CAAC,iCAAiC,CAAC;QAC1E,KAAK,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC;KACtD,CAAC,CAAA;IAEJ,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,cAAc,CAAA;IAC7D,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,cAAe,CAAC,CAAA,CAAC,UAAU;IAClE,CAAC;IAED,OAAO;;EAEP,WAAW,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE;EACrD,OAAO,CAAC,QAAQ,EAAE;;;IAGhB,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;;;;;;;;;;IAqB3B,WAAW;QACT,CAAC,CAAC;;;gCAGwB;QAC1B,CAAC,CAAC,EACN;;;;;;;;;;;IAWE,WAAW,CAAC,CAAC,CAAC,+DAA+D,CAAC,CAAC,CAAC,EAAE;;;IAGlF,WAAW,CAAC,CAAC,CAAC,qDAAqD,CAAC,CAAC,CAAC,EAAE;;;mCAGzC,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;8EACU,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW;;;;;;;;;;kBAWlG,WAAW;QACT,CAAC,CAAC,6YAA6Y;QAC/Y,CAAC,CAAC,EACN;;;;;;;;YASJ,WAAW;QACT,CAAC,CAAC;eACD,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,cAAe,CAAC,IAAI;;;;;;;;yBAQnC;QACX,CAAC,CAAC,EACN;;;;;;;;;;;;;;;;;;;;;;CAsBT,CAAA;AACD,CAAC"}
|
|
@@ -46,7 +46,7 @@ html.default.light {
|
|
|
46
46
|
--shadow-blur: 3px;
|
|
47
47
|
--shadow-spread: 0px;
|
|
48
48
|
--shadow-opacity: 0.1;
|
|
49
|
-
--shadow-color:
|
|
49
|
+
--shadow-color: hsl(0 0% 0%);
|
|
50
50
|
--shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
51
51
|
--shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
52
52
|
--shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
@@ -120,7 +120,7 @@ html.default.dark {
|
|
|
120
120
|
--shadow-blur: 3px;
|
|
121
121
|
--shadow-spread: 0px;
|
|
122
122
|
--shadow-opacity: 0.1;
|
|
123
|
-
--shadow-color:
|
|
123
|
+
--shadow-color: hsl(0 0% 0%);
|
|
124
124
|
--shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
125
125
|
--shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
126
126
|
--shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { backendUpdateGenerator, backendUpdateGeneratorId } from './backend-upda
|
|
|
17
17
|
export { backendViewGenerator, backendViewGeneratorId } from './backend-view';
|
|
18
18
|
export { baseGenerator, baseGeneratorId } from './base';
|
|
19
19
|
export { decodersGenerator, decodersGeneratorId } from './decoders';
|
|
20
|
-
export { typesGenerator, typesGeneratorId } from './types';
|
|
20
|
+
export { typesGenerator, typesGeneratorId, generateTypesStandalone } from './types';
|
|
21
21
|
export { mockDataGenerator, mockDataGeneratorId } from './mock-data';
|
|
22
22
|
export { seedDataGenerator, seedDataGeneratorId } from './seed-data';
|
|
23
23
|
export * as Frontend from './frontend-core';
|
package/dist/index.js
CHANGED
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
exports.generators = exports.devOpsGeneratorId = exports.configureDevopsGenerator = exports.e2eGeneratorId = exports.e2eGenerator = exports.all = exports.configureFrontendGenerator = exports.frontendTrpcClientGeneratorId = exports.frontendTrpcClientGenerator = exports.frontendTablesGeneratorId = exports.frontendTablesGenerator = exports.frontendFormsGeneratorId = void 0;
|
|
37
|
+
exports.frontendActionsGeneratorId = exports.frontendActionsGenerator = exports.frontendAdminGeneratorId = exports.frontendAdminGenerator = exports.Frontend = exports.seedDataGeneratorId = exports.seedDataGenerator = exports.mockDataGeneratorId = exports.mockDataGenerator = exports.generateTypesStandalone = exports.typesGeneratorId = exports.typesGenerator = exports.decodersGeneratorId = exports.decodersGenerator = exports.baseGeneratorId = exports.baseGenerator = exports.backendViewGeneratorId = exports.backendViewGenerator = exports.backendUpdateGeneratorId = exports.backendUpdateGenerator = exports.backendSeedGeneratorId = exports.backendSeedGenerator = exports.backendUploadGeneratorId = exports.backendUploadGenerator = exports.backendS3GeneratorId = exports.backendS3Generator = exports.backendTrpcRouterGeneratorId = exports.backendTrpcRouterGenerator = exports.backendRestApiGeneratorId = exports.backendRestApiGenerator = exports.backendRepositoriesGeneratorId = exports.backendRepositoriesGenerator = exports.backendExcelIoGeneratorId = exports.backendExcelIoGenerator = exports.backendImportGeneratorId = exports.backendImportGenerator = exports.backendE2eGeneratorId = exports.backendE2eGenerator = exports.databasePrismaGenerator = exports.backendDataManagementGeneratorId = exports.backendDataManagementGenerator = exports.backendGeneratorId = exports.backendModuleXlPortGenerator = exports.backendGenerator = exports.backendAuthenticationGeneratorId = exports.backendAuthenticationGenerator = exports.backendAiGeneratorId = exports.backendAiGenerator = exports.backendActionsGeneratorId = exports.backendActionsGenerator = void 0;
|
|
38
|
+
exports.generators = exports.devOpsGeneratorId = exports.configureDevopsGenerator = exports.e2eGeneratorId = exports.e2eGenerator = exports.all = exports.configureFrontendGenerator = exports.frontendTrpcClientGeneratorId = exports.frontendTrpcClientGenerator = exports.frontendTablesGeneratorId = exports.frontendTablesGenerator = exports.frontendFormsGeneratorId = exports.frontendFormsGenerator = void 0;
|
|
39
39
|
// Backend generators
|
|
40
40
|
var backend_actions_1 = require("./backend-actions");
|
|
41
41
|
Object.defineProperty(exports, "backendActionsGenerator", { enumerable: true, get: function () { return backend_actions_1.backendActionsGenerator; } });
|
|
@@ -98,6 +98,7 @@ Object.defineProperty(exports, "decodersGeneratorId", { enumerable: true, get: f
|
|
|
98
98
|
var types_1 = require("./types");
|
|
99
99
|
Object.defineProperty(exports, "typesGenerator", { enumerable: true, get: function () { return types_1.typesGenerator; } });
|
|
100
100
|
Object.defineProperty(exports, "typesGeneratorId", { enumerable: true, get: function () { return types_1.typesGeneratorId; } });
|
|
101
|
+
Object.defineProperty(exports, "generateTypesStandalone", { enumerable: true, get: function () { return types_1.generateTypesStandalone; } });
|
|
101
102
|
var mock_data_1 = require("./mock-data");
|
|
102
103
|
Object.defineProperty(exports, "mockDataGenerator", { enumerable: true, get: function () { return mock_data_1.mockDataGenerator; } });
|
|
103
104
|
Object.defineProperty(exports, "mockDataGeneratorId", { enumerable: true, get: function () { return mock_data_1.mockDataGeneratorId; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3E,qBAAqB;AACrB,qDAAsF;AAA7E,0HAAA,uBAAuB,OAAA;AAAE,4HAAA,yBAAyB,OAAA;AAC3D,2CAAuE;AAA9D,gHAAA,kBAAkB,OAAA;AAAE,kHAAA,oBAAoB,OAAA;AACjD,mEAA2G;AAAlG,wIAAA,8BAA8B,OAAA;AAAE,0IAAA,gCAAgC,OAAA;AACzE,+CAAmG;AAA1F,gHAAA,gBAAgB,OAAA;AAAE,4HAAA,4BAA4B,OAAA;AAAE,kHAAA,kBAAkB,OAAA;AAC3E,qEAA4G;AAAnG,yIAAA,8BAA8B,OAAA;AAAE,2IAAA,gCAAgC,OAAA;AACzE,qEAAmE;AAA1D,kIAAA,uBAAuB,OAAA;AAChC,6CAA0E;AAAjE,kHAAA,mBAAmB,OAAA;AAAE,oHAAA,qBAAqB,OAAA;AACnD,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,uDAAuF;AAA9E,2HAAA,uBAAuB,OAAA;AAAE,6HAAA,yBAAyB,OAAA;AAC3D,+DAAqG;AAA5F,oIAAA,4BAA4B,OAAA;AAAE,sIAAA,8BAA8B,OAAA;AACrE,uDAAuF;AAA9E,2HAAA,uBAAuB,OAAA;AAAE,6HAAA,yBAAyB,OAAA;AAC3D,6DAAgG;AAAvF,iIAAA,0BAA0B,OAAA;AAAE,mIAAA,4BAA4B,OAAA;AACjE,2CAAuE;AAA9D,gHAAA,kBAAkB,OAAA;AAAE,kHAAA,oBAAoB,OAAA;AACjD,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,+CAA6E;AAApE,oHAAA,oBAAoB,OAAA;AAAE,sHAAA,sBAAsB,OAAA;AACrD,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,+CAA6E;AAApE,oHAAA,oBAAoB,OAAA;AAAE,sHAAA,sBAAsB,OAAA;AAErD,8BAA8B;AAC9B,+BAAuD;AAA9C,qGAAA,aAAa,OAAA;AAAE,uGAAA,eAAe,OAAA;AACvC,uCAAmE;AAA1D,6GAAA,iBAAiB,OAAA;AAAE,+GAAA,mBAAmB,OAAA;AAC/C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3E,qBAAqB;AACrB,qDAAsF;AAA7E,0HAAA,uBAAuB,OAAA;AAAE,4HAAA,yBAAyB,OAAA;AAC3D,2CAAuE;AAA9D,gHAAA,kBAAkB,OAAA;AAAE,kHAAA,oBAAoB,OAAA;AACjD,mEAA2G;AAAlG,wIAAA,8BAA8B,OAAA;AAAE,0IAAA,gCAAgC,OAAA;AACzE,+CAAmG;AAA1F,gHAAA,gBAAgB,OAAA;AAAE,4HAAA,4BAA4B,OAAA;AAAE,kHAAA,kBAAkB,OAAA;AAC3E,qEAA4G;AAAnG,yIAAA,8BAA8B,OAAA;AAAE,2IAAA,gCAAgC,OAAA;AACzE,qEAAmE;AAA1D,kIAAA,uBAAuB,OAAA;AAChC,6CAA0E;AAAjE,kHAAA,mBAAmB,OAAA;AAAE,oHAAA,qBAAqB,OAAA;AACnD,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,uDAAuF;AAA9E,2HAAA,uBAAuB,OAAA;AAAE,6HAAA,yBAAyB,OAAA;AAC3D,+DAAqG;AAA5F,oIAAA,4BAA4B,OAAA;AAAE,sIAAA,8BAA8B,OAAA;AACrE,uDAAuF;AAA9E,2HAAA,uBAAuB,OAAA;AAAE,6HAAA,yBAAyB,OAAA;AAC3D,6DAAgG;AAAvF,iIAAA,0BAA0B,OAAA;AAAE,mIAAA,4BAA4B,OAAA;AACjE,2CAAuE;AAA9D,gHAAA,kBAAkB,OAAA;AAAE,kHAAA,oBAAoB,OAAA;AACjD,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,+CAA6E;AAApE,oHAAA,oBAAoB,OAAA;AAAE,sHAAA,sBAAsB,OAAA;AACrD,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,+CAA6E;AAApE,oHAAA,oBAAoB,OAAA;AAAE,sHAAA,sBAAsB,OAAA;AAErD,8BAA8B;AAC9B,+BAAuD;AAA9C,qGAAA,aAAa,OAAA;AAAE,uGAAA,eAAe,OAAA;AACvC,uCAAmE;AAA1D,6GAAA,iBAAiB,OAAA;AAAE,+GAAA,mBAAmB,OAAA;AAC/C,iCAAmF;AAA1E,uGAAA,cAAc,OAAA;AAAE,yGAAA,gBAAgB,OAAA;AAAE,gHAAA,uBAAuB,OAAA;AAClE,yCAAoE;AAA3D,8GAAA,iBAAiB,OAAA;AAAE,gHAAA,mBAAmB,OAAA;AAC/C,yCAAoE;AAA3D,8GAAA,iBAAiB,OAAA;AAAE,gHAAA,mBAAmB,OAAA;AAE/C,8DAA8D;AAC9D,4DAA2C;AAC3C,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,uDAAyF;AAAhF,4HAAA,wBAAwB,OAAA;AAAE,8HAAA,0BAA0B,OAAA;AAC7D,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,qDAAsF;AAA7E,0HAAA,uBAAuB,OAAA;AAAE,4HAAA,yBAAyB,OAAA;AAC3D,+DAAmG;AAA1F,mIAAA,2BAA2B,OAAA;AAAE,qIAAA,6BAA6B,OAAA;AAEnE,yEAAyE;AACzE,iDAAiE;AAAxD,2HAAA,0BAA0B,OAAA;AAAE,oGAAA,GAAG,OAAA;AAExC,mBAAmB;AACnB,6BAAoD;AAA3C,mGAAA,YAAY,OAAA;AAAE,qGAAA,cAAc,OAAA;AACrC,mCAAsE;AAA7D,kHAAA,wBAAwB,OAAA;AAAE,2GAAA,iBAAiB,OAAA;AAEpD,2CAAyC;AAAhC,wGAAA,UAAU,OAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as Generator from '@postxl/generator';
|
|
2
|
+
import type { ProjectSchema } from '@postxl/schema';
|
|
3
|
+
/**
|
|
4
|
+
* Runs the types generator standalone (without requiring backend-core, base, or frontend-core generators).
|
|
5
|
+
*
|
|
6
|
+
* This is used by the `generate-types` CLI command to generate only the type files
|
|
7
|
+
* from a schema, without needing the full generation pipeline.
|
|
8
|
+
*
|
|
9
|
+
* @returns A VirtualFileSystem containing the generated type files with paths relative to the
|
|
10
|
+
* types output root (e.g. `src/index.ts`, `tsconfig.lib.json`), with the internal
|
|
11
|
+
* `backend/libs/types/` prefix stripped.
|
|
12
|
+
*/
|
|
13
|
+
export declare function generateTypesStandalone(schema: ProjectSchema): Promise<Generator.VirtualFileSystem>;
|
|
@@ -0,0 +1,98 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.generateTypesStandalone = generateTypesStandalone;
|
|
37
|
+
const Generator = __importStar(require("@postxl/generator"));
|
|
38
|
+
const types_generator_1 = require("./types.generator");
|
|
39
|
+
/**
|
|
40
|
+
* Internal VFS path where the types generator writes its output.
|
|
41
|
+
* Used to strip the prefix when returning a clean VFS from standalone generation.
|
|
42
|
+
*/
|
|
43
|
+
const TYPES_VFS_PREFIX = '/backend/libs/types/';
|
|
44
|
+
/**
|
|
45
|
+
* Runs the types generator standalone (without requiring backend-core, base, or frontend-core generators).
|
|
46
|
+
*
|
|
47
|
+
* This is used by the `generate-types` CLI command to generate only the type files
|
|
48
|
+
* from a schema, without needing the full generation pipeline.
|
|
49
|
+
*
|
|
50
|
+
* @returns A VirtualFileSystem containing the generated type files with paths relative to the
|
|
51
|
+
* types output root (e.g. `src/index.ts`, `tsconfig.lib.json`), with the internal
|
|
52
|
+
* `backend/libs/types/` prefix stripped.
|
|
53
|
+
*/
|
|
54
|
+
async function generateTypesStandalone(schema) {
|
|
55
|
+
const baseContext = Generator.prepareBaseContext(schema);
|
|
56
|
+
// Minimal stubs for context properties that the types generator's register() and generate() phases access.
|
|
57
|
+
//
|
|
58
|
+
// The types generator reads these specific properties:
|
|
59
|
+
// - register() pushes to `backend.modules` (array of NestJS module descriptors)
|
|
60
|
+
// - register() calls `frontend.tsConfigReferences.set()` (Map of tsconfig references)
|
|
61
|
+
// - generate() only reads from the context built by register() (models, enums, types, vfs)
|
|
62
|
+
//
|
|
63
|
+
// The `base` stub is required because WithBase is part of the types generator's ContextRequirements.
|
|
64
|
+
// None of the base properties are read by the types generator itself.
|
|
65
|
+
const contextWithStubs = {
|
|
66
|
+
...baseContext,
|
|
67
|
+
base: {
|
|
68
|
+
packageJson: {},
|
|
69
|
+
dotEnvExamples: [],
|
|
70
|
+
},
|
|
71
|
+
backend: {
|
|
72
|
+
modules: [],
|
|
73
|
+
packageJson: {},
|
|
74
|
+
tsConfigReferences: [],
|
|
75
|
+
},
|
|
76
|
+
frontend: {
|
|
77
|
+
components: [],
|
|
78
|
+
hooks: [],
|
|
79
|
+
contextProviders: [],
|
|
80
|
+
packageJson: {},
|
|
81
|
+
tsConfigReferences: new Map(),
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
// Run register phase
|
|
85
|
+
const registeredContext = types_generator_1.generator.register(contextWithStubs);
|
|
86
|
+
// Run generate phase
|
|
87
|
+
const generatedContext = await types_generator_1.generator.generate(registeredContext);
|
|
88
|
+
// The types generator writes to `backend/libs/types/` in the main VFS.
|
|
89
|
+
// Strip that prefix so the returned VFS has clean relative paths (e.g. `src/index.ts`).
|
|
90
|
+
const rawVfs = generatedContext.vfs;
|
|
91
|
+
const cleanVfs = new Generator.VirtualFileSystem();
|
|
92
|
+
for (const [filePath, content] of rawVfs.files) {
|
|
93
|
+
const relativePath = filePath.startsWith(TYPES_VFS_PREFIX) ? filePath.slice(TYPES_VFS_PREFIX.length) : filePath;
|
|
94
|
+
cleanVfs.write(relativePath, content);
|
|
95
|
+
}
|
|
96
|
+
return cleanVfs;
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=generate-types-standalone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-types-standalone.js","sourceRoot":"","sources":["../../src/types/generate-types-standalone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,0DA+CC;AApED,6DAA8C;AAG9C,uDAA6C;AAE7C;;;GAGG;AACH,MAAM,gBAAgB,GAAG,sBAAsB,CAAA;AAE/C;;;;;;;;;GASG;AACI,KAAK,UAAU,uBAAuB,CAAC,MAAqB;IACjE,MAAM,WAAW,GAAG,SAAS,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IAExD,2GAA2G;IAC3G,EAAE;IACF,uDAAuD;IACvD,kFAAkF;IAClF,wFAAwF;IACxF,6FAA6F;IAC7F,EAAE;IACF,qGAAqG;IACrG,sEAAsE;IACtE,MAAM,gBAAgB,GAAG;QACvB,GAAG,WAAW;QACd,IAAI,EAAE;YACJ,WAAW,EAAE,EAAE;YACf,cAAc,EAAE,EAAE;SACnB;QACD,OAAO,EAAE;YACP,OAAO,EAAE,EAAe;YACxB,WAAW,EAAE,EAAE;YACf,kBAAkB,EAAE,EAAc;SACnC;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,EAAe;YAC3B,KAAK,EAAE,EAAe;YACtB,gBAAgB,EAAE,EAAe;YACjC,WAAW,EAAE,EAAE;YACf,kBAAkB,EAAE,IAAI,GAAG,EAAmB;SAC/C;KACF,CAAA;IAED,qBAAqB;IACrB,MAAM,iBAAiB,GAAG,2BAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAA;IAE9D,qBAAqB;IACrB,MAAM,gBAAgB,GAAG,MAAM,2BAAS,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAA;IAEpE,uEAAuE;IACvE,wFAAwF;IACxF,MAAM,MAAM,GAAI,gBAAsC,CAAC,GAAG,CAAA;IAC1D,MAAM,QAAQ,GAAG,IAAI,SAAS,CAAC,iBAAiB,EAAE,CAAA;IAClD,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;QAC/C,MAAM,YAAY,GAAG,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;QAC/G,QAAQ,CAAC,KAAK,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;IACvC,CAAC;IACD,OAAO,QAAQ,CAAA;AACjB,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export { mockRegister as mockTypesGenerator } from './types.generator.mock';
|
|
|
4
4
|
export type { ModelContextResult as ModelWithTypes } from './types.generator';
|
|
5
5
|
export type { WithTypes } from './types.generator';
|
|
6
6
|
export type * from './types.generator';
|
|
7
|
+
export { generateTypesStandalone } from './generate-types-standalone';
|
package/dist/types/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mockTypesGenerator = exports.typesGeneratorId = exports.typesGenerator = void 0;
|
|
3
|
+
exports.generateTypesStandalone = exports.mockTypesGenerator = exports.typesGeneratorId = exports.typesGenerator = void 0;
|
|
4
4
|
var types_generator_1 = require("./types.generator");
|
|
5
5
|
Object.defineProperty(exports, "typesGenerator", { enumerable: true, get: function () { return types_generator_1.generator; } });
|
|
6
6
|
var types_generator_2 = require("./types.generator");
|
|
7
7
|
Object.defineProperty(exports, "typesGeneratorId", { enumerable: true, get: function () { return types_generator_2.generatorId; } });
|
|
8
8
|
var types_generator_mock_1 = require("./types.generator.mock");
|
|
9
9
|
Object.defineProperty(exports, "mockTypesGenerator", { enumerable: true, get: function () { return types_generator_mock_1.mockRegister; } });
|
|
10
|
+
var generate_types_standalone_1 = require("./generate-types-standalone");
|
|
11
|
+
Object.defineProperty(exports, "generateTypesStandalone", { enumerable: true, get: function () { return generate_types_standalone_1.generateTypesStandalone; } });
|
|
10
12
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,qDAA+D;AAAtD,iHAAA,SAAS,OAAkB;AACpC,qDAAmE;AAA1D,mHAAA,WAAW,OAAoB;AACxC,+DAA2E;AAAlE,0HAAA,YAAY,OAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,qDAA+D;AAAtD,iHAAA,SAAS,OAAkB;AACpC,qDAAmE;AAA1D,mHAAA,WAAW,OAAoB;AACxC,+DAA2E;AAAlE,0HAAA,YAAY,OAAsB;AAI3C,yEAAqE;AAA5D,oIAAA,uBAAuB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postxl/generators",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"description": "Code generators for PXL - generates backend, frontend, Prisma schemas, and more",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"exceljs": "^4.4.0",
|
|
47
47
|
"@postxl/generator": "^1.3.7",
|
|
48
48
|
"@postxl/schema": "^1.8.2",
|
|
49
|
-
"@postxl/ui-components": "^1.
|
|
49
|
+
"@postxl/ui-components": "^1.7.0",
|
|
50
50
|
"@postxl/utils": "^1.4.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {},
|