You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/twenty-docs/l/pt/developers/extend/capabilities/apps.mdx
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,13 +46,13 @@ yarn twenty app:dev
46
46
O gerador de estrutura oferece suporte a três modos para controlar quais arquivos de exemplo são incluídos:
47
47
48
48
```bash filename="Terminal"
49
-
#Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
49
+
#Padrão (exhaustivo): todos os exemplos (objeto, campo, função de lógica, componente de front-end, visualização, item do menu de navegação, habilidade)
50
50
npx create-twenty-app@latest my-app
51
51
52
-
#Minimal: only core files (application-config.ts and default-role.ts)
52
+
#Mínimo: apenas arquivos principais (application-config.ts e default-role.ts)
53
53
npx create-twenty-app@latest my-app --minimal
54
54
55
-
#Interactive: select which examples to include
55
+
#Interativo: selecione quais exemplos incluir
56
56
npx create-twenty-app@latest my-app --interactive
57
57
```
58
58
@@ -103,26 +103,26 @@ my-twenty-app/
103
103
eslint.config.mjs
104
104
tsconfig.json
105
105
README.md
106
-
public/ # Public assets folder (images, fonts, etc.)
106
+
public/ # Pasta de recursos públicos (imagens, fontes, etc.)
107
107
src/
108
-
├── application-config.ts # Required - main application configuration
108
+
├── application-config.ts # Obrigatório - configuração principal da aplicação
109
109
├── roles/
110
-
│ └── default-role.ts # Default role for logic functions
110
+
│ └── default-role.ts # Papel padrão para funções de lógica
111
111
├── objects/
112
-
│ └── example-object.ts # Example custom object definition
112
+
│ └── example-object.ts # Exemplo de definição de objeto personalizado
113
113
├── fields/
114
-
│ └── example-field.ts # Example standalone field definition
114
+
│ └── example-field.ts # Exemplo de definição de campo independente
115
115
├── logic-functions/
116
-
│ ├── hello-world.ts # Example logic function
117
-
│ └── post-install.ts # Post-install logic function
116
+
│ ├── hello-world.ts # Exemplo de função de lógica
117
+
│ └── post-install.ts # Função de lógica de pós-instalação
118
118
├── front-components/
119
-
│ └── hello-world.tsx # Example front component
119
+
│ └── hello-world.tsx # Exemplo de componente de front-end
120
120
├── views/
121
-
│ └── example-view.ts # Example saved view definition
121
+
│ └── example-view.ts # Exemplo de definição de visualização salva
122
122
├── navigation-menu-items/
123
-
│ └── example-navigation-menu-item.ts # Example sidebar navigation link
123
+
│ └── example-navigation-menu-item.ts # Exemplo de link de navegação da barra lateral
124
124
└── skills/
125
-
└── example-skill.ts # Example AI agent skill definition
125
+
└── example-skill.ts # Exemplo de definição de habilidade de agente de IA
126
126
```
127
127
128
128
Com `--minimal`, apenas os arquivos principais são criados (`application-config.ts`, `roles/default-role.ts` e `logic-functions/post-install.ts`). Com `--interactive`, você escolhe quais arquivos de exemplo incluir.
@@ -151,7 +151,7 @@ O SDK detecta entidades analisando seus arquivos TypeScript em busca de chamadas
151
151
|`defineField()`| Extensões de campos para objetos existentes |
152
152
|`defineView()`| Definições de visualizações salvas |
153
153
|`defineNavigationMenuItem()`| Definições de itens do menu de navegação |
154
-
|`defineSkill()`|AI agent skill definitions |
154
+
|`defineSkill()`|Definições de habilidades de agente de IA|
155
155
156
156
<Note>
157
157
**A nomeação de arquivos é flexível.** A detecção de entidades é baseada em AST — o SDK varre seus arquivos fonte em busca do padrão `export default define<Entity>({...})`. Você pode organizar seus arquivos e pastas como quiser. Agrupar por tipo de entidade (por exemplo, `logic-functions/`, `roles/`) é apenas uma convenção para organização do código, não um requisito.
@@ -173,7 +173,7 @@ export default defineObject({
173
173
Comandos posteriores adicionarão mais arquivos e pastas:
174
174
175
175
*`yarn twenty app:dev` vai gerar automaticamente um cliente de API tipado em `node_modules/twenty-sdk/generated` (cliente Twenty tipado + tipos do espaço de trabalho).
176
-
*`yarn twenty entity:add`will add entity definition files under `src/`for your custom objects, functions, front components, roles, skills, and more.
176
+
*`yarn twenty entity:add`adicionará arquivos de definição de entidade em `src/`para seus objetos, funções, componentes de front-end, papéis e habilidades personalizados, entre outros.
177
177
178
178
## Autenticação
179
179
@@ -226,7 +226,7 @@ O SDK fornece funções utilitárias para definir as entidades do seu app. Confo
226
226
|`defineField()`| Estender objetos existentes com campos adicionais |
227
227
|`defineView()`| Define visualizações salvas para objetos |
228
228
|`defineNavigationMenuItem()`| Define links de navegação da barra lateral |
229
-
|`defineSkill()`| Define AI agent skills |
229
+
|`defineSkill()`| Define habilidades de agente de IA|
230
230
231
231
Essas funções validam sua configuração em tempo de compilação e oferecem autocompletar na IDE e segurança de tipos.
232
232
@@ -748,7 +748,7 @@ Você pode criar novos componentes de front-end de duas formas:
748
748
749
749
### Habilidades
750
750
751
-
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()`to define skills with built-in validation:
751
+
As habilidades definem instruções e capacidades reutilizáveis que os agentes de IA podem usar no seu espaço de trabalho. Use `defineSkill()`para definir habilidades com validação integrada:
Copy file name to clipboardExpand all lines: packages/twenty-docs/l/ru/developers/extend/capabilities/apps.mdx
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,13 +46,13 @@ yarn twenty app:dev
46
46
Генератор каркаса поддерживает три режима для управления тем, какие примерные файлы включаются:
47
47
48
48
```bash filename="Terminal"
49
-
#Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
49
+
#По умолчанию (полный набор): все примеры (объект, поле, логическая функция, фронтенд-компонент, представление, пункт меню навигации, навык)
50
50
npx create-twenty-app@latest my-app
51
51
52
-
#Minimal: only core files (application-config.ts and default-role.ts)
52
+
#Минимальный: только основные файлы (application-config.ts и default-role.ts)
53
53
npx create-twenty-app@latest my-app --minimal
54
54
55
-
#Interactive: select which examples to include
55
+
#Интерактивный: выбрать, какие примеры включить
56
56
npx create-twenty-app@latest my-app --interactive
57
57
```
58
58
@@ -103,26 +103,26 @@ my-twenty-app/
103
103
eslint.config.mjs
104
104
tsconfig.json
105
105
README.md
106
-
public/ # Public assets folder (images, fonts, etc.)
106
+
public/ # Папка публичных ресурсов (изображения, шрифты и т. д.)
107
107
src/
108
-
├── application-config.ts # Required - main application configuration
108
+
├── application-config.ts # Обязательный — основная конфигурация приложения
109
109
├── roles/
110
-
│ └── default-role.ts # Default role for logic functions
110
+
│ └── default-role.ts # Роль по умолчанию для логических функций
111
111
├── objects/
112
-
│ └── example-object.ts # Example custom object definition
112
+
│ └── example-object.ts # Пример определения пользовательского объекта
113
113
├── fields/
114
-
│ └── example-field.ts # Example standalone field definition
114
+
│ └── example-field.ts # Пример определения отдельного поля
115
115
├── logic-functions/
116
-
│ ├── hello-world.ts # Example logic function
117
-
│ └── post-install.ts # Post-install logic function
116
+
│ ├── hello-world.ts # Пример логической функции
117
+
│ └── post-install.ts # Постустановочная логическая функция
118
118
├── front-components/
119
-
│ └── hello-world.tsx # Example front component
119
+
│ └── hello-world.tsx # Пример фронтенд-компонента
120
120
├── views/
121
-
│ └── example-view.ts # Example saved view definition
121
+
│ └── example-view.ts # Пример определения сохранённого представления
122
122
├── navigation-menu-items/
123
-
│ └── example-navigation-menu-item.ts # Example sidebar navigation link
123
+
│ └── example-navigation-menu-item.ts # Пример ссылки боковой панели навигации
124
124
└── skills/
125
-
└── example-skill.ts # Example AI agent skill definition
125
+
└── example-skill.ts # Пример определения навыка агента ИИ
126
126
```
127
127
128
128
С `--minimal` создаются только основные файлы (`application-config.ts`, `roles/default-role.ts` и `logic-functions/post-install.ts`). С `--interactive` вы выбираете, какие примерные файлы включить.
|`defineField()`| Расширения полей для существующих объектов |
152
152
|`defineView()`| Определения сохранённых представлений |
153
153
|`defineNavigationMenuItem()`| Определения пунктов меню навигации |
154
-
|`defineSkill()`|AI agent skill definitions |
154
+
|`defineSkill()`|Определения навыков агента ИИ|
155
155
156
156
<Note>
157
157
**Имена файлов заданы гибко.** Обнаружение сущностей основано на AST — SDK сканирует ваши исходные файлы в поисках шаблона `export default define<Entity>({...})`. Вы можете организовывать файлы и папки как угодно. Группировка по типу сущности (например, `logic-functions/`, `roles/`) — это лишь соглашение для организации кода, а не требование.
@@ -173,7 +173,7 @@ export default defineObject({
173
173
Позднее команды добавят больше файлов и папок:
174
174
175
175
*`yarn twenty app:dev` автоматически сгенерирует типизированный клиент API в `node_modules/twenty-sdk/generated` (типизированный клиент Twenty + типы рабочего пространства).
176
-
*`yarn twenty entity:add`will add entity definition files under `src/`for your custom objects, functions, front components, roles, skills, and more.
176
+
*`yarn twenty entity:add`добавит файлы определений сущностей в `src/`для ваших пользовательских объектов, функций, фронтенд-компонентов, ролей, навыков и многого другого.
177
177
178
178
## Аутентификация
179
179
@@ -226,7 +226,7 @@ SDK предоставляет вспомогательные функции д
226
226
|`defineField()`| Расширение существующих объектов дополнительными полями |
227
227
|`defineView()`| Определяйте сохранённые представления для объектов |
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use`defineSkill()`to define skills with built-in validation:
751
+
Навыки определяют многократно используемые инструкции и возможности, которые агенты ИИ могут использовать в вашем рабочем пространстве. Используйте`defineSkill()`для определения навыков со встроенной валидацией:
0 commit comments