@swovohq/fuel 0.2.2-alpha.92 → 0.2.2-alpha.94

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.
Files changed (36) hide show
  1. package/README.md +107 -11
  2. package/dist/bin/fuel.js +61 -0
  3. package/dist/bin/fuel.js.map +1 -1
  4. package/dist/commands/generate-module.d.ts +7 -0
  5. package/dist/commands/generate-module.d.ts.map +1 -0
  6. package/dist/commands/generate-module.js +180 -0
  7. package/dist/commands/generate-module.js.map +1 -0
  8. package/dist/generators/module/index.d.ts +7 -0
  9. package/dist/generators/module/index.d.ts.map +1 -0
  10. package/dist/generators/module/index.js +86 -0
  11. package/dist/generators/module/index.js.map +1 -0
  12. package/dist/generators/module/register.d.ts +4 -0
  13. package/dist/generators/module/register.d.ts.map +1 -0
  14. package/dist/generators/module/register.js +124 -0
  15. package/dist/generators/module/register.js.map +1 -0
  16. package/dist/generators/module/render.d.ts +10 -0
  17. package/dist/generators/module/render.d.ts.map +1 -0
  18. package/dist/generators/module/render.js +19 -0
  19. package/dist/generators/module/render.js.map +1 -0
  20. package/dist/generators/module/skill.d.ts +3 -0
  21. package/dist/generators/module/skill.d.ts.map +1 -0
  22. package/dist/generators/module/skill.js +223 -0
  23. package/dist/generators/module/skill.js.map +1 -0
  24. package/dist/generators/module/templates/api.d.ts +14 -0
  25. package/dist/generators/module/templates/api.d.ts.map +1 -0
  26. package/dist/generators/module/templates/api.js +363 -0
  27. package/dist/generators/module/templates/api.js.map +1 -0
  28. package/dist/generators/module/templates/types-pkg.d.ts +7 -0
  29. package/dist/generators/module/templates/types-pkg.d.ts.map +1 -0
  30. package/dist/generators/module/templates/types-pkg.js +56 -0
  31. package/dist/generators/module/templates/types-pkg.js.map +1 -0
  32. package/dist/generators/module/templates/web.d.ts +16 -0
  33. package/dist/generators/module/templates/web.d.ts.map +1 -0
  34. package/dist/generators/module/templates/web.js +573 -0
  35. package/dist/generators/module/templates/web.js.map +1 -0
  36. package/package.json +1 -1
@@ -0,0 +1,363 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiTemplates = void 0;
4
+ exports.apiTemplates = {
5
+ module: `import { Module } from '@nestjs/common';
6
+ import { TypeOrmModule } from '@nestjs/typeorm';
7
+ import { OrganizationsModule } from 'src/organizations/organizations.module';
8
+ import { UserModule } from 'src/users/services/common-user.module';
9
+ import { __MODULE_PASCAL__Item } from './entities/__MODULE_KEBAB__-item.entity';
10
+ import { __MODULE_PASCAL__Repository } from './__MODULE_KEBAB__.repository';
11
+ import { __MODULE_PASCAL__Controller } from './__MODULE_KEBAB__.controller';
12
+ import { __MODULE_PASCAL__Service } from './__MODULE_KEBAB__.service';
13
+
14
+ @Module({
15
+ // OrganizationsModule re-exports the User/OrganizationMember/Organization
16
+ // repositories that BetterAuthOrganizationRolesGuard needs, and UserModule
17
+ // provides UserService for UserPipe (used by @GetDBUser()). AuthModule
18
+ // being @Global() isn't enough — it doesn't re-export either dependency.
19
+ imports: [
20
+ TypeOrmModule.forFeature([__MODULE_PASCAL__Item]),
21
+ OrganizationsModule,
22
+ UserModule,
23
+ ],
24
+ controllers: [__MODULE_PASCAL__Controller],
25
+ providers: [__MODULE_PASCAL__Repository, __MODULE_PASCAL__Service],
26
+ exports: [__MODULE_PASCAL__Service],
27
+ })
28
+ export class __MODULE_PASCAL__Module {}
29
+ `,
30
+ controller: `import {
31
+ Body,
32
+ Controller,
33
+ Delete,
34
+ Get,
35
+ HttpStatus,
36
+ Param,
37
+ Post,
38
+ Put,
39
+ Query,
40
+ UseGuards,
41
+ } from '@nestjs/common';
42
+ import { ApiCreatedResponse, ApiOkResponse, ApiTags } from '@nestjs/swagger';
43
+ import {
44
+ PaginatedEndpoint,
45
+ SecuredEndpoint,
46
+ } from 'src/common/decorators/endpoint.decorator';
47
+ import { RequireOrganizationAdmin } from 'src/common/decorators/roles.decorator';
48
+ import { GetDBUser } from 'src/auth/decorators/user.decorator';
49
+ import { BetterAuthOrganizationRolesGuard } from 'src/auth/guards/better-auth-organization-roles.guard';
50
+ import type { User } from '@fuel/auth-types';
51
+ import { Create__MODULE_PASCAL__Dto } from './dto/create-__MODULE_KEBAB__.dto';
52
+ import { Update__MODULE_PASCAL__Dto } from './dto/update-__MODULE_KEBAB__.dto';
53
+ import { __MODULE_PASCAL__ListQueryDto } from './dto/__MODULE_KEBAB__-list-query.dto';
54
+ import { __MODULE_PASCAL__Service } from './__MODULE_KEBAB__.service';
55
+ import { __MODULE_PASCAL__Item } from './entities/__MODULE_KEBAB__-item.entity';
56
+
57
+ @Controller({
58
+ path: '__MODULE_KEBAB__',
59
+ version: '1',
60
+ })
61
+ @ApiTags('__MODULE_KEBAB__')
62
+ export class __MODULE_PASCAL__Controller {
63
+ constructor(private readonly __MODULE_CAMEL__Service: __MODULE_PASCAL__Service) {}
64
+
65
+ @ApiCreatedResponse({
66
+ description: 'Creates a new __MODULE_PASCAL__ item.',
67
+ type: __MODULE_PASCAL__Item,
68
+ })
69
+ @SecuredEndpoint(HttpStatus.CREATED)
70
+ @Post()
71
+ create(@GetDBUser() user: User, @Body() dto: Create__MODULE_PASCAL__Dto) {
72
+ return this.__MODULE_CAMEL__Service.create(user.id, dto);
73
+ }
74
+
75
+ @SecuredEndpoint(HttpStatus.OK)
76
+ @PaginatedEndpoint(__MODULE_PASCAL__Item)
77
+ @Get()
78
+ findAll(@GetDBUser() user: User, @Query() query: __MODULE_PASCAL__ListQueryDto) {
79
+ return this.__MODULE_CAMEL__Service.findAll(user.id, query);
80
+ }
81
+
82
+ @ApiOkResponse({
83
+ description: 'Retrieves a __MODULE_PASCAL__ item by id.',
84
+ type: __MODULE_PASCAL__Item,
85
+ })
86
+ @UseGuards(BetterAuthOrganizationRolesGuard)
87
+ @SecuredEndpoint(HttpStatus.OK)
88
+ @Get(':id')
89
+ findOne(@GetDBUser() user: User, @Param('id') id: string) {
90
+ return this.__MODULE_CAMEL__Service.findOne(user.id, id);
91
+ }
92
+
93
+ @ApiOkResponse({
94
+ description: 'Updates a __MODULE_PASCAL__ item.',
95
+ type: __MODULE_PASCAL__Item,
96
+ })
97
+ @UseGuards(BetterAuthOrganizationRolesGuard)
98
+ @RequireOrganizationAdmin()
99
+ @SecuredEndpoint(HttpStatus.OK)
100
+ @Put(':id')
101
+ update(
102
+ @GetDBUser() user: User,
103
+ @Param('id') id: string,
104
+ @Body() dto: Update__MODULE_PASCAL__Dto,
105
+ ) {
106
+ return this.__MODULE_CAMEL__Service.update(user.id, id, dto);
107
+ }
108
+
109
+ @UseGuards(BetterAuthOrganizationRolesGuard)
110
+ @RequireOrganizationAdmin()
111
+ @SecuredEndpoint(HttpStatus.OK)
112
+ @Delete(':id')
113
+ remove(@GetDBUser() user: User, @Param('id') id: string) {
114
+ return this.__MODULE_CAMEL__Service.remove(user.id, id);
115
+ }
116
+ }
117
+ `,
118
+ service: `import { Injectable } from '@nestjs/common';
119
+ import { Create__MODULE_PASCAL__Dto } from './dto/create-__MODULE_KEBAB__.dto';
120
+ import { Update__MODULE_PASCAL__Dto } from './dto/update-__MODULE_KEBAB__.dto';
121
+ import { __MODULE_PASCAL__ListQueryDto } from './dto/__MODULE_KEBAB__-list-query.dto';
122
+ import { __MODULE_PASCAL__ItemNotFoundException } from './exceptions/__MODULE_KEBAB__-exceptions';
123
+ import { __MODULE_PASCAL__Repository } from './__MODULE_KEBAB__.repository';
124
+
125
+ @Injectable()
126
+ export class __MODULE_PASCAL__Service {
127
+ constructor(private readonly __MODULE_CAMEL__Repository: __MODULE_PASCAL__Repository) {}
128
+
129
+ findAll(organizationId: string | undefined, query: __MODULE_PASCAL__ListQueryDto) {
130
+ return this.__MODULE_CAMEL__Repository.findAll(organizationId, query);
131
+ }
132
+
133
+ async findOne(organizationId: string | undefined, id: string) {
134
+ const item = await this.__MODULE_CAMEL__Repository.findOne(id, organizationId);
135
+ if (!item) throw new __MODULE_PASCAL__ItemNotFoundException();
136
+ return item;
137
+ }
138
+
139
+ create(organizationId: string | undefined, dto: Create__MODULE_PASCAL__Dto) {
140
+ return this.__MODULE_CAMEL__Repository.create(organizationId, dto);
141
+ }
142
+
143
+ async update(organizationId: string | undefined, id: string, dto: Update__MODULE_PASCAL__Dto) {
144
+ await this.findOne(organizationId, id);
145
+ return this.__MODULE_CAMEL__Repository.update(id, dto, organizationId);
146
+ }
147
+
148
+ async remove(organizationId: string | undefined, id: string) {
149
+ await this.findOne(organizationId, id);
150
+ return this.__MODULE_CAMEL__Repository.remove(id, organizationId);
151
+ }
152
+ }
153
+ `,
154
+ repository: `import { Injectable } from '@nestjs/common';
155
+ import { InjectRepository } from '@nestjs/typeorm';
156
+ import {
157
+ addPaginationToQuery,
158
+ getPaginatedResult,
159
+ } from 'src/common/utils/pagination';
160
+ import { Repository } from 'typeorm';
161
+ import { Create__MODULE_PASCAL__Dto } from './dto/create-__MODULE_KEBAB__.dto';
162
+ import { Update__MODULE_PASCAL__Dto } from './dto/update-__MODULE_KEBAB__.dto';
163
+ import { __MODULE_PASCAL__ListQueryDto } from './dto/__MODULE_KEBAB__-list-query.dto';
164
+ import { __MODULE_PASCAL__Item } from './entities/__MODULE_KEBAB__-item.entity';
165
+
166
+ @Injectable()
167
+ export class __MODULE_PASCAL__Repository {
168
+ constructor(
169
+ @InjectRepository(__MODULE_PASCAL__Item)
170
+ private readonly repo: Repository<__MODULE_PASCAL__Item>,
171
+ ) {}
172
+
173
+ findAll(organizationId: string | undefined, query: __MODULE_PASCAL__ListQueryDto) {
174
+ const qb = this.repo.createQueryBuilder('item');
175
+
176
+ if (organizationId) {
177
+ qb.where('item.organizationId = :organizationId', { organizationId });
178
+ }
179
+
180
+ if (query.search) {
181
+ qb.andWhere('LOWER(item.name) LIKE LOWER(:search)', {
182
+ search: \`%\${query.search}%\`,
183
+ });
184
+ }
185
+
186
+ addPaginationToQuery(qb, query);
187
+ return getPaginatedResult(qb, query);
188
+ }
189
+
190
+ findOne(id: string, organizationId?: string) {
191
+ return this.repo.findOne({ where: organizationId ? { id, organizationId } : { id } });
192
+ }
193
+
194
+ create(organizationId: string | undefined, dto: Create__MODULE_PASCAL__Dto) {
195
+ const item = this.repo.create({ ...dto, organizationId });
196
+ return this.repo.save(item);
197
+ }
198
+
199
+ async update(id: string, dto: Update__MODULE_PASCAL__Dto, organizationId?: string) {
200
+ const where = organizationId ? { id, organizationId } : { id };
201
+ await this.repo.update(where, dto);
202
+ return this.repo.findOne({ where });
203
+ }
204
+
205
+ remove(id: string, organizationId?: string) {
206
+ return this.repo.delete(organizationId ? { id, organizationId } : { id });
207
+ }
208
+ }
209
+ `,
210
+ entity: `import { ApiProperty } from '@nestjs/swagger';
211
+ import {
212
+ BaseEntity,
213
+ Column,
214
+ CreateDateColumn,
215
+ Entity,
216
+ PrimaryGeneratedColumn,
217
+ UpdateDateColumn,
218
+ } from 'typeorm';
219
+
220
+ @Entity()
221
+ export class __MODULE_PASCAL__Item extends BaseEntity {
222
+ @ApiProperty({
223
+ description: 'Unique identifier for the item',
224
+ example: 'f8b8b0e0-0f1b-4e5c-9b9c-6e1f5c9b2e6f',
225
+ })
226
+ @PrimaryGeneratedColumn('uuid')
227
+ id: string;
228
+
229
+ @ApiProperty({ description: 'Name of the item', example: 'My item' })
230
+ @Column()
231
+ name: string;
232
+
233
+ @ApiProperty({ description: 'Organization this item belongs to' })
234
+ @Column({ name: 'organization_id' })
235
+ organizationId: string;
236
+
237
+ @ApiProperty({ description: 'Date the item was created' })
238
+ @CreateDateColumn({ name: 'created_at' })
239
+ createdAt: Date;
240
+
241
+ @ApiProperty({ description: 'Date the item was last updated' })
242
+ @UpdateDateColumn({ name: 'updated_at' })
243
+ updatedAt: Date;
244
+ }
245
+ `,
246
+ dtoCreate: `import { ApiProperty } from '@nestjs/swagger';
247
+ import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
248
+
249
+ export class Create__MODULE_PASCAL__Dto {
250
+ @ApiProperty({
251
+ description: 'Name of the __MODULE_PASCAL__ item.',
252
+ example: 'My item',
253
+ })
254
+ @IsNotEmpty()
255
+ @IsString()
256
+ name: string;
257
+
258
+ @ApiProperty({
259
+ description: 'Organization to create the item in. Required for admin (cross-org) creation.',
260
+ required: false,
261
+ })
262
+ @IsOptional()
263
+ @IsString()
264
+ organizationId?: string;
265
+ }
266
+ `,
267
+ dtoUpdate: `import { PartialType } from '@nestjs/swagger';
268
+ import { Create__MODULE_PASCAL__Dto } from './create-__MODULE_KEBAB__.dto';
269
+
270
+ export class Update__MODULE_PASCAL__Dto extends PartialType(Create__MODULE_PASCAL__Dto) {}
271
+ `,
272
+ dtoListQuery: `import { PaginationOptions } from 'src/common/@types/pagination';
273
+
274
+ export class __MODULE_PASCAL__ListQueryDto extends PaginationOptions {}
275
+ `,
276
+ exceptions: `import { NotFoundException } from '@nestjs/common';
277
+
278
+ export class __MODULE_PASCAL__ItemNotFoundException extends NotFoundException {
279
+ constructor() {
280
+ super('__MODULE_PASCAL__ item not found.');
281
+ }
282
+ }
283
+ `,
284
+ adminController: `import {
285
+ Body,
286
+ Controller,
287
+ Delete,
288
+ Get,
289
+ HttpStatus,
290
+ Param,
291
+ Post,
292
+ Put,
293
+ Query,
294
+ UseGuards,
295
+ } from '@nestjs/common';
296
+ import { ApiTags } from '@nestjs/swagger';
297
+ import {
298
+ PaginatedEndpoint,
299
+ SecuredEndpoint,
300
+ } from 'src/common/decorators/endpoint.decorator';
301
+ import { SuperAdminGuard } from 'src/auth/guards/super-admin.guard';
302
+ import { Create__MODULE_PASCAL__Dto } from './dto/create-__MODULE_KEBAB__.dto';
303
+ import { Update__MODULE_PASCAL__Dto } from './dto/update-__MODULE_KEBAB__.dto';
304
+ import { __MODULE_PASCAL__ListQueryDto } from './dto/__MODULE_KEBAB__-list-query.dto';
305
+ import { __MODULE_PASCAL__Service } from './__MODULE_KEBAB__.service';
306
+ import { __MODULE_PASCAL__Item } from './entities/__MODULE_KEBAB__-item.entity';
307
+
308
+ @Controller({
309
+ path: 'admin/__MODULE_KEBAB__',
310
+ version: '1',
311
+ })
312
+ @ApiTags('admin/__MODULE_KEBAB__')
313
+ @UseGuards(SuperAdminGuard)
314
+ export class Admin__MODULE_PASCAL__Controller {
315
+ constructor(private readonly __MODULE_CAMEL__Service: __MODULE_PASCAL__Service) {}
316
+
317
+ @SecuredEndpoint(HttpStatus.OK)
318
+ @PaginatedEndpoint(__MODULE_PASCAL__Item)
319
+ @Get()
320
+ findAll(@Query() query: __MODULE_PASCAL__ListQueryDto) {
321
+ // Admins operate across organizations, so no organizationId filter is applied.
322
+ return this.__MODULE_CAMEL__Service.findAll(undefined, query);
323
+ }
324
+
325
+ @SecuredEndpoint(HttpStatus.OK)
326
+ @Get(':id')
327
+ findOne(@Param('id') id: string) {
328
+ return this.__MODULE_CAMEL__Service.findOne(undefined, id);
329
+ }
330
+
331
+ @SecuredEndpoint(HttpStatus.CREATED)
332
+ @Post()
333
+ create(@Body() dto: Create__MODULE_PASCAL__Dto) {
334
+ // Admin creation has no ambient organization context, so it must be
335
+ // supplied explicitly in the request body.
336
+ return this.__MODULE_CAMEL__Service.create(dto.organizationId, dto);
337
+ }
338
+
339
+ @SecuredEndpoint(HttpStatus.OK)
340
+ @Put(':id')
341
+ update(@Param('id') id: string, @Body() dto: Update__MODULE_PASCAL__Dto) {
342
+ return this.__MODULE_CAMEL__Service.update(undefined, id, dto);
343
+ }
344
+
345
+ @SecuredEndpoint(HttpStatus.OK)
346
+ @Delete(':id')
347
+ remove(@Param('id') id: string) {
348
+ return this.__MODULE_CAMEL__Service.remove(undefined, id);
349
+ }
350
+ }
351
+ `,
352
+ adminModule: `import { Module } from '@nestjs/common';
353
+ import { __MODULE_PASCAL__Module } from './__MODULE_KEBAB__.module';
354
+ import { Admin__MODULE_PASCAL__Controller } from './admin-__MODULE_KEBAB__.controller';
355
+
356
+ @Module({
357
+ imports: [__MODULE_PASCAL__Module],
358
+ controllers: [Admin__MODULE_PASCAL__Controller],
359
+ })
360
+ export class Admin__MODULE_PASCAL__Module {}
361
+ `,
362
+ };
363
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../src/generators/module/templates/api.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;CAwBT;IAEC,UAAU,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuFb;IAEC,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCV;IAEC,UAAU,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDb;IAEC,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCT;IAEC,SAAS,EAAE;;;;;;;;;;;;;;;;;;;;CAoBZ;IAEC,SAAS,EAAE;;;;CAIZ;IAEC,YAAY,EAAE;;;CAGf;IAEC,UAAU,EAAE;;;;;;;CAOb;IAEC,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmElB;IAEC,WAAW,EAAE;;;;;;;;;CASd;CACA,CAAA"}
@@ -0,0 +1,7 @@
1
+ export declare const typesPkgTemplates: {
2
+ packageJson: string;
3
+ tsconfig: string;
4
+ srcIndex: string;
5
+ srcTypes: string;
6
+ };
7
+ //# sourceMappingURL=types-pkg.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-pkg.d.ts","sourceRoot":"","sources":["../../../../src/generators/module/templates/types-pkg.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;CAsD7B,CAAA"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.typesPkgTemplates = void 0;
4
+ exports.typesPkgTemplates = {
5
+ packageJson: `{
6
+ "name": "@fuel/__MODULE_KEBAB__-types",
7
+ "version": "0.0.0",
8
+ "private": true,
9
+ "main": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "default": "./dist/index.js"
15
+ }
16
+ },
17
+ "files": ["dist"],
18
+ "scripts": {
19
+ "build": "tsc -p tsconfig.json",
20
+ "lint": "eslint \\"src/**/*.ts*\\"",
21
+ "test": "jest --passWithNoTests"
22
+ },
23
+ "jest": {
24
+ "preset": "jest-presets/jest/node",
25
+ "testEnvironment": "node"
26
+ }
27
+ }
28
+ `,
29
+ tsconfig: `{
30
+ "$schema": "https://json.schemastore.org/tsconfig",
31
+ "extends": "../../config/tsconfig/base.json",
32
+ "compilerOptions": {
33
+ "rootDir": "./src",
34
+ "outDir": "./dist",
35
+ "composite": true,
36
+ "incremental": true
37
+ },
38
+ "include": ["src"],
39
+ "exclude": ["node_modules", "**/__tests__/**", "**/*.test.ts", "**/*.spec.ts"]
40
+ }
41
+ `,
42
+ srcIndex: `export * from './types'
43
+ `,
44
+ srcTypes: `export interface __MODULE_PASCAL__Item {
45
+ id: string
46
+ name: string
47
+ organizationId: string
48
+ createdAt: string
49
+ updatedAt: string
50
+ }
51
+
52
+ export type Create__MODULE_PASCAL__ItemInput = Pick<__MODULE_PASCAL__Item, 'name'>
53
+ export type Update__MODULE_PASCAL__ItemInput = Partial<Create__MODULE_PASCAL__ItemInput>
54
+ `,
55
+ };
56
+ //# sourceMappingURL=types-pkg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-pkg.js","sourceRoot":"","sources":["../../../../src/generators/module/templates/types-pkg.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;CAuBd;IAEC,QAAQ,EAAE;;;;;;;;;;;;CAYX;IAEC,QAAQ,EAAE;CACX;IAEC,QAAQ,EAAE;;;;;;;;;;CAUX;CACA,CAAA"}
@@ -0,0 +1,16 @@
1
+ export declare const webTemplates: {
2
+ apiEndpoints: string;
3
+ useItemsHook: string;
4
+ useCreateHook: string;
5
+ useUpdateHook: string;
6
+ useDeleteHook: string;
7
+ context: string;
8
+ table: string;
9
+ createDrawer: string;
10
+ updateDrawer: string;
11
+ index: string;
12
+ page: string;
13
+ layout: string;
14
+ clientLayout: string;
15
+ };
16
+ //# sourceMappingURL=web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../../../../src/generators/module/templates/web.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;CAokBxB,CAAA"}