@semacode/cli 1.3.1 → 1.3.2

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 (153) hide show
  1. package/AGENTS.md +272 -0
  2. package/LICENSE +22 -0
  3. package/README.md +2 -2
  4. package/SEMA_BRIEF.curto.txt +9 -0
  5. package/SEMA_BRIEF.md +49 -0
  6. package/SEMA_BRIEF.micro.txt +7 -0
  7. package/SEMA_INDEX.json +546 -0
  8. package/dist/cpp-symbols.d.ts +10 -0
  9. package/dist/cpp-symbols.js.map +1 -0
  10. package/dist/dotnet-http.d.ts +23 -0
  11. package/dist/dotnet-http.js.map +1 -0
  12. package/dist/drift.d.ts +118 -0
  13. package/dist/drift.js.map +1 -0
  14. package/dist/go-http.d.ts +23 -0
  15. package/dist/go-http.js.map +1 -0
  16. package/dist/importador.d.ts +29 -0
  17. package/dist/importador.js.map +1 -0
  18. package/dist/index.d.ts +2 -0
  19. package/dist/index.js.map +1 -0
  20. package/dist/java-http.d.ts +23 -0
  21. package/dist/java-http.js.map +1 -0
  22. package/dist/lua-symbols.d.ts +8 -0
  23. package/dist/lua-symbols.js.map +1 -0
  24. package/dist/projeto.d.ts +48 -0
  25. package/dist/projeto.js.map +1 -0
  26. package/dist/python-http.d.ts +23 -0
  27. package/dist/python-http.js.map +1 -0
  28. package/dist/rust-http.d.ts +23 -0
  29. package/dist/rust-http.js.map +1 -0
  30. package/dist/tipos.d.ts +3 -0
  31. package/dist/tipos.js.map +1 -0
  32. package/dist/typescript-http.d.ts +35 -0
  33. package/dist/typescript-http.js.map +1 -0
  34. package/docs/AGENT_STARTER.md +102 -0
  35. package/docs/como-ensinar-a-sema-para-ia.md +149 -0
  36. package/docs/fluxo-pratico-ia-sema.md +177 -0
  37. package/docs/instalacao-e-primeiro-uso.md +196 -0
  38. package/docs/integracao-com-ia.md +228 -0
  39. package/docs/pagamento-ponta-a-ponta.md +155 -0
  40. package/docs/prompt-base-ia-sema.md +104 -0
  41. package/docs/sintaxe.md +361 -0
  42. package/exemplos/agendamento.sema +106 -0
  43. package/exemplos/assinatura.sema +136 -0
  44. package/exemplos/auditoria.sema +88 -0
  45. package/exemplos/autenticacao.sema +125 -0
  46. package/exemplos/automacao.sema +107 -0
  47. package/exemplos/cadastro_usuario.sema +54 -0
  48. package/exemplos/calculadora.sema +78 -0
  49. package/exemplos/crud_simples.sema +89 -0
  50. package/exemplos/estoque.sema +126 -0
  51. package/exemplos/exportacao.sema +94 -0
  52. package/exemplos/fila.sema +131 -0
  53. package/exemplos/integracao_externa.sema +94 -0
  54. package/exemplos/multi_tenant.sema +140 -0
  55. package/exemplos/notificacao.sema +98 -0
  56. package/exemplos/operacao_estrategia.sema +402 -0
  57. package/exemplos/pagamento.sema +222 -0
  58. package/exemplos/pagamento_dominio.sema +35 -0
  59. package/exemplos/pedido.sema +119 -0
  60. package/exemplos/permissao.sema +121 -0
  61. package/exemplos/relatorio.sema +93 -0
  62. package/exemplos/testes_embutidos.sema +45 -0
  63. package/exemplos/tratamento_erro.sema +157 -0
  64. package/exemplos/upload_arquivo.sema +93 -0
  65. package/exemplos/webhook.sema +96 -0
  66. package/llms-full.txt +34 -0
  67. package/llms.txt +17 -0
  68. package/node_modules/@sema/gerador-css/dist/index.d.ts +3 -0
  69. package/node_modules/@sema/gerador-css/dist/index.js +592 -0
  70. package/node_modules/@sema/gerador-css/dist/index.js.map +1 -0
  71. package/node_modules/@sema/gerador-css/package.json +7 -0
  72. package/node_modules/@sema/gerador-dart/dist/index.d.ts +3 -0
  73. package/node_modules/@sema/gerador-dart/dist/index.js +44 -0
  74. package/node_modules/@sema/gerador-dart/dist/index.js.map +1 -0
  75. package/node_modules/@sema/gerador-dart/package.json +7 -0
  76. package/node_modules/@sema/gerador-html/dist/index.d.ts +3 -0
  77. package/node_modules/@sema/gerador-html/dist/index.js +163 -0
  78. package/node_modules/@sema/gerador-html/dist/index.js.map +1 -0
  79. package/node_modules/@sema/gerador-html/package.json +7 -0
  80. package/node_modules/@sema/gerador-javascript/dist/index.d.ts +3 -0
  81. package/node_modules/@sema/gerador-javascript/dist/index.js +421 -0
  82. package/node_modules/@sema/gerador-javascript/dist/index.js.map +1 -0
  83. package/node_modules/@sema/gerador-javascript/package.json +7 -0
  84. package/node_modules/@sema/gerador-lua/dist/index.d.ts +3 -0
  85. package/node_modules/@sema/gerador-lua/dist/index.js +328 -0
  86. package/node_modules/@sema/gerador-lua/dist/index.js.map +1 -0
  87. package/node_modules/@sema/gerador-lua/package.json +7 -0
  88. package/node_modules/@sema/gerador-python/dist/index.d.ts +6 -0
  89. package/node_modules/@sema/gerador-python/dist/index.js +628 -0
  90. package/node_modules/@sema/gerador-python/dist/index.js.map +1 -0
  91. package/node_modules/@sema/gerador-python/package.json +7 -0
  92. package/node_modules/@sema/gerador-typescript/dist/index.d.ts +6 -0
  93. package/node_modules/@sema/gerador-typescript/dist/index.js +656 -0
  94. package/node_modules/@sema/gerador-typescript/dist/index.js.map +1 -0
  95. package/node_modules/@sema/gerador-typescript/package.json +7 -0
  96. package/node_modules/@sema/nucleo/dist/ast/tipos.d.ts +122 -0
  97. package/node_modules/@sema/nucleo/dist/ast/tipos.js +2 -0
  98. package/node_modules/@sema/nucleo/dist/ast/tipos.js.map +1 -0
  99. package/node_modules/@sema/nucleo/dist/diagnosticos/index.d.ts +21 -0
  100. package/node_modules/@sema/nucleo/dist/diagnosticos/index.js +12 -0
  101. package/node_modules/@sema/nucleo/dist/diagnosticos/index.js.map +1 -0
  102. package/node_modules/@sema/nucleo/dist/formatador/index.d.ts +9 -0
  103. package/node_modules/@sema/nucleo/dist/formatador/index.js +445 -0
  104. package/node_modules/@sema/nucleo/dist/formatador/index.js.map +1 -0
  105. package/node_modules/@sema/nucleo/dist/index.d.ts +34 -0
  106. package/node_modules/@sema/nucleo/dist/index.js +95 -0
  107. package/node_modules/@sema/nucleo/dist/index.js.map +1 -0
  108. package/node_modules/@sema/nucleo/dist/ir/conversor.d.ts +5 -0
  109. package/node_modules/@sema/nucleo/dist/ir/conversor.js +781 -0
  110. package/node_modules/@sema/nucleo/dist/ir/conversor.js.map +1 -0
  111. package/node_modules/@sema/nucleo/dist/ir/modelos.d.ts +285 -0
  112. package/node_modules/@sema/nucleo/dist/ir/modelos.js +2 -0
  113. package/node_modules/@sema/nucleo/dist/ir/modelos.js.map +1 -0
  114. package/node_modules/@sema/nucleo/dist/lexer/lexer.d.ts +7 -0
  115. package/node_modules/@sema/nucleo/dist/lexer/lexer.js +122 -0
  116. package/node_modules/@sema/nucleo/dist/lexer/lexer.js.map +1 -0
  117. package/node_modules/@sema/nucleo/dist/lexer/tokens.d.ts +8 -0
  118. package/node_modules/@sema/nucleo/dist/lexer/tokens.js +46 -0
  119. package/node_modules/@sema/nucleo/dist/lexer/tokens.js.map +1 -0
  120. package/node_modules/@sema/nucleo/dist/parser/parser.d.ts +9 -0
  121. package/node_modules/@sema/nucleo/dist/parser/parser.js +656 -0
  122. package/node_modules/@sema/nucleo/dist/parser/parser.js.map +1 -0
  123. package/node_modules/@sema/nucleo/dist/semantico/analisador.d.ts +57 -0
  124. package/node_modules/@sema/nucleo/dist/semantico/analisador.js +1497 -0
  125. package/node_modules/@sema/nucleo/dist/semantico/analisador.js.map +1 -0
  126. package/node_modules/@sema/nucleo/dist/semantico/estruturas.d.ts +104 -0
  127. package/node_modules/@sema/nucleo/dist/semantico/estruturas.js +445 -0
  128. package/node_modules/@sema/nucleo/dist/semantico/estruturas.js.map +1 -0
  129. package/node_modules/@sema/nucleo/dist/semantico/seguranca.d.ts +91 -0
  130. package/node_modules/@sema/nucleo/dist/semantico/seguranca.js +258 -0
  131. package/node_modules/@sema/nucleo/dist/semantico/seguranca.js.map +1 -0
  132. package/node_modules/@sema/nucleo/dist/util/arquivos.d.ts +2 -0
  133. package/node_modules/@sema/nucleo/dist/util/arquivos.js +25 -0
  134. package/node_modules/@sema/nucleo/dist/util/arquivos.js.map +1 -0
  135. package/node_modules/@sema/nucleo/package.json +7 -0
  136. package/node_modules/@sema/padroes/dist/index.d.ts +23 -0
  137. package/node_modules/@sema/padroes/dist/index.js +210 -0
  138. package/node_modules/@sema/padroes/dist/index.js.map +1 -0
  139. package/node_modules/@sema/padroes/package.json +7 -0
  140. package/package.json +33 -21
  141. package/src/cpp-symbols.ts +0 -82
  142. package/src/dotnet-http.ts +0 -355
  143. package/src/drift.ts +0 -2455
  144. package/src/go-http.ts +0 -118
  145. package/src/importador.ts +0 -3448
  146. package/src/index.ts +0 -4470
  147. package/src/java-http.ts +0 -247
  148. package/src/projeto.ts +0 -810
  149. package/src/python-http.ts +0 -258
  150. package/src/rust-http.ts +0 -125
  151. package/src/tipos.ts +0 -22
  152. package/src/typescript-http.ts +0 -1076
  153. package/tsconfig.json +0 -20
@@ -1,258 +0,0 @@
1
- export interface FuncaoPythonDecorada {
2
- nome: string;
3
- parametros: string;
4
- retorno?: string;
5
- indentacao: number;
6
- decorators: string[];
7
- }
8
-
9
- export interface ParametroRotaFlask {
10
- nome: string;
11
- conversor?: string;
12
- }
13
-
14
- export interface RotaFlaskDecorada {
15
- nomeFuncao: string;
16
- parametros: string;
17
- retorno?: string;
18
- metodo: string;
19
- caminho: string;
20
- }
21
-
22
- function contarParenteses(texto: string): number {
23
- let saldo = 0;
24
- let quote: "'" | '"' | undefined;
25
- let escapando = false;
26
-
27
- for (const caractere of texto) {
28
- if (escapando) {
29
- escapando = false;
30
- continue;
31
- }
32
-
33
- if (caractere === "\\") {
34
- escapando = true;
35
- continue;
36
- }
37
-
38
- if (quote) {
39
- if (caractere === quote) {
40
- quote = undefined;
41
- }
42
- continue;
43
- }
44
-
45
- if (caractere === "'" || caractere === '"') {
46
- quote = caractere;
47
- continue;
48
- }
49
-
50
- if (caractere === "(") {
51
- saldo += 1;
52
- continue;
53
- }
54
-
55
- if (caractere === ")") {
56
- saldo -= 1;
57
- }
58
- }
59
-
60
- return saldo;
61
- }
62
-
63
- export function contarIndentacaoPython(linha: string): number {
64
- let total = 0;
65
- for (const caractere of linha) {
66
- if (caractere === " ") {
67
- total += 1;
68
- continue;
69
- }
70
- if (caractere === "\t") {
71
- total += 4;
72
- continue;
73
- }
74
- break;
75
- }
76
- return total;
77
- }
78
-
79
- function juntarCaminhoHttp(base: string | undefined, sufixo: string | undefined): string {
80
- const partes = [base ?? "", sufixo ?? ""]
81
- .map((item) => item.trim())
82
- .filter(Boolean)
83
- .map((item) => item.replace(/^\/+|\/+$/g, ""));
84
-
85
- const caminho = `/${partes.join("/")}`.replace(/\/+/g, "/");
86
- return caminho === "//" ? "/" : caminho;
87
- }
88
-
89
- function detectarBlueprintsFlask(texto: string): Map<string, string | undefined> {
90
- const blueprints = new Map<string, string | undefined>();
91
- const linhas = texto.split(/\r?\n/);
92
- let atual: { nome: string; linhas: string[]; saldo: number } | undefined;
93
-
94
- const finalizar = () => {
95
- if (!atual) {
96
- return;
97
- }
98
- const conteudo = atual.linhas.join(" ");
99
- const prefixo = conteudo.match(/\burl_prefix\s*=\s*["']([^"']+)["']/)?.[1];
100
- blueprints.set(atual.nome, prefixo);
101
- atual = undefined;
102
- };
103
-
104
- for (const linha of linhas) {
105
- const trim = linha.trim();
106
- if (!trim || trim.startsWith("#")) {
107
- continue;
108
- }
109
-
110
- if (atual) {
111
- atual.linhas.push(trim);
112
- atual.saldo += contarParenteses(trim);
113
- if (atual.saldo <= 0) {
114
- finalizar();
115
- }
116
- continue;
117
- }
118
-
119
- const inicio = trim.match(/^([A-Za-z_]\w*)\s*=\s*Blueprint\s*\(/);
120
- if (!inicio) {
121
- continue;
122
- }
123
-
124
- atual = {
125
- nome: inicio[1]!,
126
- linhas: [trim],
127
- saldo: contarParenteses(trim),
128
- };
129
-
130
- if (atual.saldo <= 0) {
131
- finalizar();
132
- }
133
- }
134
-
135
- finalizar();
136
- return blueprints;
137
- }
138
-
139
- export function extrairFuncoesPythonDecoradas(texto: string): FuncaoPythonDecorada[] {
140
- const funcoes: FuncaoPythonDecorada[] = [];
141
- const linhas = texto.split(/\r?\n/);
142
- let decoratorsPendentes: string[] = [];
143
- let decoratorAtual: { linhas: string[]; saldo: number } | undefined;
144
-
145
- const finalizarDecorator = () => {
146
- if (!decoratorAtual) {
147
- return;
148
- }
149
- decoratorsPendentes.push(decoratorAtual.linhas.join(" ").replace(/\s+/g, " ").trim());
150
- decoratorAtual = undefined;
151
- };
152
-
153
- for (const linha of linhas) {
154
- const trim = linha.trim();
155
- const indentacao = contarIndentacaoPython(linha);
156
-
157
- if (decoratorAtual) {
158
- decoratorAtual.linhas.push(trim);
159
- decoratorAtual.saldo += contarParenteses(trim);
160
- if (decoratorAtual.saldo <= 0) {
161
- finalizarDecorator();
162
- }
163
- continue;
164
- }
165
-
166
- if (!trim || trim.startsWith("#")) {
167
- continue;
168
- }
169
-
170
- if (trim.startsWith("@")) {
171
- decoratorAtual = {
172
- linhas: [trim],
173
- saldo: contarParenteses(trim),
174
- };
175
- if (decoratorAtual.saldo <= 0) {
176
- finalizarDecorator();
177
- }
178
- continue;
179
- }
180
-
181
- const definicao = trim.match(/^(?:async\s+def|def)\s+([A-Za-z_]\w*)\s*\((.*)\)(?:\s*->\s*([^:]+))?:\s*(?:#.*)?$/);
182
- if (definicao) {
183
- funcoes.push({
184
- nome: definicao[1]!,
185
- parametros: definicao[2] ?? "",
186
- retorno: definicao[3]?.trim(),
187
- indentacao,
188
- decorators: decoratorsPendentes,
189
- });
190
- decoratorsPendentes = [];
191
- continue;
192
- }
193
-
194
- decoratorsPendentes = [];
195
- }
196
-
197
- return funcoes;
198
- }
199
-
200
- function extrairMetodosFlask(decorator: string): string[] {
201
- const blocoMethods = decorator.match(/\bmethods\s*=\s*\[([^\]]*)\]/i)?.[1];
202
- if (!blocoMethods) {
203
- return ["GET"];
204
- }
205
-
206
- const encontrados = [...blocoMethods.matchAll(/["']([A-Za-z]+)["']/g)]
207
- .map((match) => match[1]!.toUpperCase())
208
- .filter((metodo) => ["GET", "POST", "PUT", "PATCH", "DELETE"].includes(metodo));
209
-
210
- return [...new Set(encontrados)];
211
- }
212
-
213
- export function normalizarCaminhoFlask(caminho: string): string {
214
- return caminho.replace(/<(?:(\w+):)?([A-Za-z_]\w*)>/g, "{$2}");
215
- }
216
-
217
- export function extrairParametrosCaminhoFlask(caminho: string): ParametroRotaFlask[] {
218
- return [...caminho.matchAll(/<(?:(\w+):)?([A-Za-z_]\w*)>/g)].map((match) => ({
219
- conversor: match[1] ?? undefined,
220
- nome: match[2]!,
221
- }));
222
- }
223
-
224
- export function extrairRotasFlaskDecoradas(texto: string): RotaFlaskDecorada[] {
225
- const blueprints = detectarBlueprintsFlask(texto);
226
- const rotas: RotaFlaskDecorada[] = [];
227
-
228
- for (const funcao of extrairFuncoesPythonDecoradas(texto)) {
229
- if (funcao.indentacao > 0) {
230
- continue;
231
- }
232
-
233
- for (const decorator of funcao.decorators) {
234
- const match = decorator.match(/^@([A-Za-z_]\w*)\.route\(([\s\S]*)\)$/);
235
- if (!match) {
236
- continue;
237
- }
238
-
239
- const alvo = match[1]!;
240
- const argumentos = match[2] ?? "";
241
- const sufixo = argumentos.match(/["']([^"']+)["']/)?.[1];
242
- const prefixo = alvo === "app" ? undefined : blueprints.get(alvo);
243
- const metodos = extrairMetodosFlask(decorator);
244
-
245
- for (const metodo of metodos) {
246
- rotas.push({
247
- nomeFuncao: funcao.nome,
248
- parametros: funcao.parametros,
249
- retorno: funcao.retorno,
250
- metodo,
251
- caminho: normalizarCaminhoFlask(juntarCaminhoHttp(prefixo, sufixo)),
252
- });
253
- }
254
- }
255
- }
256
-
257
- return rotas;
258
- }
package/src/rust-http.ts DELETED
@@ -1,125 +0,0 @@
1
- export interface ParametroRotaRust {
2
- nome: string;
3
- tipoSema: "Texto" | "Inteiro" | "Decimal" | "Id";
4
- }
5
-
6
- export interface SimboloRustExtraido {
7
- simbolo: string;
8
- retorno?: string;
9
- parametros: Array<{ nome: string; tipoTexto?: string; obrigatorio: boolean }>;
10
- }
11
-
12
- export interface RotaRustExtraida {
13
- origem: "rust";
14
- metodo: string;
15
- caminho: string;
16
- simbolo: string;
17
- parametros: ParametroRotaRust[];
18
- retorno?: string;
19
- }
20
-
21
- const METODOS_HTTP = new Set(["GET", "POST", "PUT", "PATCH", "DELETE"]);
22
-
23
- function normalizarCaminhoRust(caminho: string): string {
24
- return caminho
25
- .replace(/:([A-Za-z_]\w*)/g, "{$1}")
26
- .replace(/\/+/g, "/");
27
- }
28
-
29
- function mapearTipoRust(tipo?: string): ParametroRotaRust["tipoSema"] {
30
- const normalizado = (tipo ?? "").toLowerCase();
31
- if (/^(i8|i16|i32|i64|u8|u16|u32|u64|usize|isize)$/.test(normalizado)) {
32
- return "Inteiro";
33
- }
34
- if (/^(f32|f64|decimal)$/.test(normalizado)) {
35
- return "Decimal";
36
- }
37
- if (/uuid|id$/.test(normalizado)) {
38
- return "Id";
39
- }
40
- return "Texto";
41
- }
42
-
43
- function extrairParametrosAssinaturaRust(assinatura: string): Array<{ nome: string; tipoTexto?: string; obrigatorio: boolean }> {
44
- return assinatura.split(",").map((parametroBruto) => {
45
- const parametro = parametroBruto.trim();
46
- if (!parametro || parametro === "&self" || parametro === "self") {
47
- return undefined;
48
- }
49
- const [nome, tipo] = parametro.split(":").map((parte) => parte.trim());
50
- if (!nome) {
51
- return undefined;
52
- }
53
- return {
54
- nome: nome.replace(/^mut\s+/, ""),
55
- tipoTexto: tipo,
56
- obrigatorio: true,
57
- };
58
- }).filter((item): item is NonNullable<typeof item> => Boolean(item));
59
- }
60
-
61
- function extrairParametrosRotaRust(caminho: string, assinatura: string): ParametroRotaRust[] {
62
- const assinaturaMap = new Map<string, string>();
63
- for (const parametro of extrairParametrosAssinaturaRust(assinatura)) {
64
- assinaturaMap.set(parametro.nome, parametro.tipoTexto ?? "");
65
- }
66
- return [...normalizarCaminhoRust(caminho).matchAll(/\{([^}]+)\}/g)].map((match) => ({
67
- nome: match[1]!,
68
- tipoSema: mapearTipoRust(assinaturaMap.get(match[1]!)),
69
- }));
70
- }
71
-
72
- export function extrairSimbolosRust(codigo: string): SimboloRustExtraido[] {
73
- const simbolos = new Map<string, SimboloRustExtraido>();
74
- let implAtual: string | undefined;
75
-
76
- for (const linha of codigo.split(/\r?\n/)) {
77
- const trim = linha.trim();
78
- const impl = trim.match(/^impl(?:<[^>]+>)?\s+([A-Za-z_]\w*)/);
79
- if (impl) {
80
- implAtual = impl[1]!;
81
- continue;
82
- }
83
- if (trim.startsWith("}")) {
84
- implAtual = undefined;
85
- }
86
-
87
- const funcao = trim.match(/^(?:pub\s+)?(?:async\s+)?fn\s+([A-Za-z_]\w*)\s*\(([^)]*)\)\s*(?:->\s*([^ {]+))?/);
88
- if (!funcao) {
89
- continue;
90
- }
91
- const simbolo = implAtual ? `${implAtual}.${funcao[1]!}` : funcao[1]!;
92
- simbolos.set(simbolo, {
93
- simbolo,
94
- retorno: funcao[3]?.trim(),
95
- parametros: extrairParametrosAssinaturaRust(funcao[2] ?? ""),
96
- });
97
- }
98
-
99
- return [...simbolos.values()];
100
- }
101
-
102
- export function extrairRotasRust(codigo: string): RotaRustExtraida[] {
103
- const rotas = new Map<string, RotaRustExtraida>();
104
-
105
- for (const match of codigo.matchAll(/\.route\(\s*"([^"]+)"\s*,\s*((?:get|post|put|patch|delete)\([A-Za-z_:][A-Za-z0-9_:]*\)(?:\.(?:get|post|put|patch|delete)\([A-Za-z_:][A-Za-z0-9_:]*\))*)\s*\)/g)) {
106
- const caminho = normalizarCaminhoRust(match[1]!);
107
- const bloco = match[2]!;
108
- for (const rota of bloco.matchAll(/\b(get|post|put|patch|delete)\(([A-Za-z_:][A-Za-z0-9_:]*)\)/g)) {
109
- const metodo = rota[1]!.toUpperCase();
110
- const simbolo = rota[2]!.replace(/::/g, ".");
111
- if (!METODOS_HTTP.has(metodo)) {
112
- continue;
113
- }
114
- rotas.set(`${metodo}:${caminho}:${simbolo}`, {
115
- origem: "rust",
116
- metodo,
117
- caminho,
118
- simbolo,
119
- parametros: extrairParametrosRotaRust(caminho, ""),
120
- });
121
- }
122
- }
123
-
124
- return [...rotas.values()];
125
- }
package/src/tipos.ts DELETED
@@ -1,22 +0,0 @@
1
- export type EstruturaSaida = "flat" | "modulos" | "backend";
2
-
3
- export type FonteLegado =
4
- | "nestjs"
5
- | "fastapi"
6
- | "flask"
7
- | "nextjs"
8
- | "nextjs-consumer"
9
- | "react-vite-consumer"
10
- | "angular-consumer"
11
- | "flutter-consumer"
12
- | "firebase"
13
- | "typescript"
14
- | "python"
15
- | "dart"
16
- | "dotnet"
17
- | "java"
18
- | "go"
19
- | "rust"
20
- | "cpp";
21
-
22
- export type ModoAdocao = "incremental";