|
1 | 1 | {
|
2 |
| - "name": "neuma-api-dart", |
| 2 | + "name": "neuma-api-flutter", |
3 | 3 | "displayName": "Neuma API Dart",
|
4 | 4 | "description": "Transform JSON collection to folders with request and response model",
|
5 | 5 | "version": "0.0.1",
|
|
14 | 14 | "contributes": {
|
15 | 15 | "commands": [
|
16 | 16 | {
|
17 |
| - "command": "neuma-api-dart.generateModel", |
| 17 | + "command": "neuma-api-flutter.generateModel", |
18 | 18 | "title": "Neuma API: Convert JSON to Dart Model"
|
19 | 19 | }
|
20 | 20 | ]
|
21 | 21 | },
|
22 | 22 | "configuration": {
|
23 | 23 | "title": "Neuma API Dart",
|
24 | 24 | "properties": {
|
25 |
| - "neuma-api-dart.defaultBaseFolder": { |
| 25 | + "neuma-api-flutter.defaultBaseFolder": { |
26 | 26 | "type": "string",
|
27 | 27 | "default": "lib/data/models",
|
28 | 28 | "description": "Default base folder for generated Dart models (e.g., 'lib/data/models', 'lib/models')"
|
29 | 29 | },
|
30 |
| - "neuma-api-dart.generateSubfolders": { |
| 30 | + "neuma-api-flutter.generateSubfolders": { |
31 | 31 | "type": "boolean",
|
32 | 32 | "default": true,
|
33 | 33 | "description": "Create subfolders based on class names (e.g., lib/data/models/user_profile/)"
|
34 | 34 | },
|
35 |
| - "neuma-api-dart.nullSafety": { |
| 35 | + "neuma-api-flutter.nullSafety": { |
36 | 36 | "type": "string",
|
37 | 37 | "enum": [
|
38 | 38 | "nullable",
|
|
42 | 42 | "default": "auto",
|
43 | 43 | "description": "Null safety mode: 'nullable' (String?), 'non-nullable' (String), or 'auto' (detect from JSON)"
|
44 | 44 | },
|
45 |
| - "neuma-api-dart.generateJsonAnnotation": { |
| 45 | + "neuma-api-flutter.generateJsonAnnotation": { |
46 | 46 | "type": "boolean",
|
47 | 47 | "default": true,
|
48 | 48 | "description": "Add @JsonKey() annotations from json_annotation package"
|
49 | 49 | },
|
50 |
| - "neuma-api-dart.generateCopyWith": { |
| 50 | + "neuma-api-flutter.generateCopyWith": { |
51 | 51 | "type": "boolean",
|
52 | 52 | "default": false,
|
53 | 53 | "description": "Generate copyWith() method for immutable updates"
|
54 | 54 | },
|
55 |
| - "neuma-api-dart.generateEquatable": { |
| 55 | + "neuma-api-flutter.generateEquatable": { |
56 | 56 | "type": "boolean",
|
57 | 57 | "default": false,
|
58 | 58 | "description": "Extend Equatable class for value equality (requires equatable package)"
|
59 | 59 | },
|
60 |
| - "neuma-api-dart.generateToString": { |
| 60 | + "neuma-api-flutter.generateToString": { |
61 | 61 | "type": "boolean",
|
62 | 62 | "default": false,
|
63 | 63 | "description": "Override toString() method"
|
64 | 64 | },
|
65 |
| - "neuma-api-dart.useFreezed": { |
| 65 | + "neuma-api-flutter.useFreezed": { |
66 | 66 | "type": "boolean",
|
67 | 67 | "default": false,
|
68 | 68 | "description": "Generate Freezed data classes instead of regular classes (requires freezed package)"
|
69 | 69 | },
|
70 |
| - "neuma-api-dart.fieldCase": { |
| 70 | + "neuma-api-flutter.fieldCase": { |
71 | 71 | "type": "string",
|
72 | 72 | "enum": [
|
73 | 73 | "camelCase",
|
|
77 | 77 | "default": "camelCase",
|
78 | 78 | "description": "Field naming convention: camelCase (Dart standard), snake_case (API standard), or preserve original"
|
79 | 79 | },
|
80 |
| - "neuma-api-dart.addPartStatement": { |
| 80 | + "neuma-api-flutter.addPartStatement": { |
81 | 81 | "type": "boolean",
|
82 | 82 | "default": true,
|
83 | 83 | "description": "Add part statement for code generation (e.g., part 'user.g.dart';)"
|
|
0 commit comments