@appaflytech/zeyrek-ai-mcp 0.0.28 → 0.0.30
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/.env.example +15 -0
- package/README.md +5 -5
- package/dist/config.js +37 -0
- package/dist/index.js +2 -0
- package/dist/knowledge/access.js +802 -0
- package/dist/knowledge/backendConstraints.js +18 -1
- package/dist/knowledge/case.js +41 -0
- package/dist/knowledge/componentCatalog.js +494 -34
- package/dist/knowledge/componentEvents.js +132 -7
- package/dist/knowledge/connectDataBind.js +819 -0
- package/dist/knowledge/connectDataDefinition.js +341 -0
- package/dist/knowledge/connectDataExecute.js +93 -0
- package/dist/knowledge/connectDataRules.js +128 -0
- package/dist/knowledge/decision.js +121 -0
- package/dist/knowledge/expressionPrelude.js +59 -0
- package/dist/knowledge/layoutSummary.js +140 -2
- package/dist/knowledge/microserviceParameters.js +58 -0
- package/dist/knowledge/mining.js +94 -0
- package/dist/knowledge/mobileComponentCatalog.js +859 -0
- package/dist/knowledge/mobileComponentEvents.js +239 -0
- package/dist/knowledge/normalize.js +236 -67
- package/dist/knowledge/outlines.js +36 -0
- package/dist/knowledge/platform/lint.js +385 -0
- package/dist/knowledge/platform/mobile.js +142 -0
- package/dist/knowledge/platform/mobileLayoutLint.js +324 -0
- package/dist/knowledge/platform/mobileRules.js +231 -0
- package/dist/knowledge/platform/mobileSpacing.js +82 -0
- package/dist/knowledge/platform/mobileTabs.js +108 -0
- package/dist/knowledge/platform/nativeBoxModel.js +44 -0
- package/dist/knowledge/platform/profile.js +25 -0
- package/dist/knowledge/platform/resolve.js +122 -0
- package/dist/knowledge/platform/web.js +39 -0
- package/dist/knowledge/policy.js +18 -4
- package/dist/knowledge/process.js +510 -0
- package/dist/knowledge/reservedTables.js +79 -0
- package/dist/knowledge/rowFilter.js +43 -0
- package/dist/knowledge/rules.js +319 -21
- package/dist/knowledge/schemaGuard.js +11 -0
- package/dist/knowledge/styleResolve.js +50 -4
- package/dist/knowledge/styleResolveNative.js +527 -0
- package/dist/knowledge/themeResolve.js +3 -3
- package/dist/observability/trace.js +6 -3
- package/dist/platform/argumentAliases.js +128 -0
- package/dist/platform/bodyFile.js +103 -0
- package/dist/platform/capture/actions.js +333 -0
- package/dist/platform/capture/browser.js +1 -0
- package/dist/platform/{screenshot.js → capture/capture.js} +105 -519
- package/dist/platform/capture/console-log.js +122 -0
- package/dist/platform/capture/index.js +11 -0
- package/dist/platform/capture/readiness.js +103 -0
- package/dist/platform/capture/summary.js +77 -0
- package/dist/platform/capture/target.js +5 -0
- package/dist/platform/capture/targets/studio-mobile.js +15 -0
- package/dist/platform/capture/targets/studio-web.js +5 -0
- package/dist/platform/diagnostics.js +10 -4
- package/dist/platform/domSummary.js +1 -1
- package/dist/platform/errors.js +162 -10
- package/dist/platform/http.js +29 -8
- package/dist/platform/impersonation.js +45 -0
- package/dist/platform/jsonArray.js +24 -0
- package/dist/platform/responses.js +39 -5
- package/dist/platform/schemaReadMemory.js +60 -0
- package/dist/platform/secrets.js +17 -1
- package/dist/platform/strictArguments.js +68 -12
- package/dist/platform/tokenVault.js +187 -4
- package/dist/resources/examples/bpm-gorev-kontrol.json +294 -0
- package/dist/resources/examples/bpm-iso-dokuman.json +228 -0
- package/dist/resources/examples/bpm-satinalma.json +376 -0
- package/dist/resources/examples/connect-data-convert-verify.json +107 -0
- package/dist/resources/examples/connect-data-dropdown-roles.json +66 -0
- package/dist/resources/examples/connect-data-edit-m2m.json +73 -0
- package/dist/resources/examples/connect-data-query-params.json +50 -0
- package/dist/resources/examples/connect-data-table-entity.json +147 -0
- package/dist/resources/examples/connect-data-workflow-microservice.json +65 -0
- package/dist/resources/examples/mobile-app-shell-drawer.json +243 -0
- package/dist/resources/examples/mobile-app-shell-stack.json +157 -0
- package/dist/resources/examples/mobile-app-shell-tab.json +208 -0
- package/dist/resources/examples/mobile-form-screen.json +365 -0
- package/dist/resources/examples/mobile-list-detail-form.json +672 -0
- package/dist/resources/examples/page-detail-profile.json +2 -1
- package/dist/resources/examples/page-dynamic-form.json +3 -2
- package/dist/resources/examples/page-flex-sections.json +1 -1
- package/dist/resources/examples/page-html-embed.json +1 -1
- package/dist/resources/examples/workflow-basic.json +8 -2
- package/dist/resources/guides/access.md +796 -0
- package/dist/resources/guides/bpm.md +686 -0
- package/dist/resources/guides/case.md +153 -0
- package/dist/resources/guides/component.md +91 -4
- package/dist/resources/guides/decision.md +185 -0
- package/dist/resources/guides/entity.md +50 -8
- package/dist/resources/guides/expressions.md +14 -5
- package/dist/resources/guides/functions.md +1 -1
- package/dist/resources/guides/getting-started.md +38 -1
- package/dist/resources/guides/layout.md +11 -7
- package/dist/resources/guides/microservice.md +81 -2
- package/dist/resources/guides/middleware.md +44 -2
- package/dist/resources/guides/mobile-layout.md +193 -0
- package/dist/resources/guides/mobile.md +495 -0
- package/dist/resources/guides/page.md +454 -75
- package/dist/resources/guides/theme.md +8 -2
- package/dist/resources/guides/translation.md +1 -1
- package/dist/resources/guides/workflow.md +58 -1
- package/dist/resources/read.js +41 -0
- package/dist/resources/rules.js +11 -5
- package/dist/resources/schema-fingerprint.json +7 -5
- package/dist/resources/schemas/AccessExplanationDto.json +144 -0
- package/dist/resources/schemas/AccessMatrixDto.json +170 -0
- package/dist/resources/schemas/AccessPermissionDto.json +57 -0
- package/dist/resources/schemas/AccessPolicyDto.json +223 -0
- package/dist/resources/schemas/AccessResourceDto.json +86 -0
- package/dist/resources/schemas/AppSessionDto.json +53 -0
- package/dist/resources/schemas/ConnectDataDescribeDto.json +344 -0
- package/dist/resources/schemas/ConnectDataRequestModel.json +202 -0
- package/dist/resources/schemas/ConnectDataResultDto.json +421 -0
- package/dist/resources/schemas/ConnectorCredentialDto.json +70 -0
- package/dist/resources/schemas/ConvertConnectDataToMicroserviceCommand.json +37 -0
- package/dist/resources/schemas/CreateAccessPolicyCommand.json +209 -0
- package/dist/resources/schemas/CreateDecisionCommand.json +221 -0
- package/dist/resources/schemas/CreateEntityCommand.json +118 -0
- package/dist/resources/schemas/CreateMicroserviceCommand.json +13 -1
- package/dist/resources/schemas/CreateProcessDefinitionCommand.json +1337 -0
- package/dist/resources/schemas/CreateQueryCommand.json +4 -0
- package/dist/resources/schemas/CreateWorkflowCommand.json +143 -1
- package/dist/resources/schemas/DataJobDto.json +6 -1
- package/dist/resources/schemas/DecisionDto.json +302 -0
- package/dist/resources/schemas/DetachConnectDataMicroserviceCommand.json +28 -0
- package/dist/resources/schemas/ExplainAccessQuery.json +33 -0
- package/dist/resources/schemas/GenerateProcessDocumentCommand.json +116 -0
- package/dist/resources/schemas/GlobalFunctionUpdateResultDto.json +21 -1
- package/dist/resources/schemas/MicroserviceDto.json +15 -3
- package/dist/resources/schemas/OrganizationProjectDto.json +335 -0
- package/dist/resources/schemas/OrganizationSchemaDto.json +196 -0
- package/dist/resources/schemas/OrganizationSchemaVersionDto.json +207 -0
- package/dist/resources/schemas/PatchProcessDefinitionCommand.json +76 -0
- package/dist/resources/schemas/PreviewMicroserviceCommand.json +10 -1
- package/dist/resources/schemas/PreviewWorkflowCommand.json +22 -1
- package/dist/resources/schemas/ProcessDefinitionDto.json +1480 -0
- package/dist/resources/schemas/ProcessSimulationDto.json +96 -0
- package/dist/resources/schemas/SaveConnectorCredentialCommand.json +90 -0
- package/dist/resources/schemas/SaveProcessEventSourceCommand.json +61 -0
- package/dist/resources/schemas/SaveProcessMailSourceCommand.json +89 -0
- package/dist/resources/schemas/SignProcessTaskCommand.json +73 -0
- package/dist/resources/schemas/SimulateProcessDefinitionQuery.json +92 -0
- package/dist/resources/schemas/StepDto.json +22 -1
- package/dist/resources/schemas/UpdateAccessPolicyCommand.json +209 -0
- package/dist/resources/schemas/UpdateDecisionCommand.json +216 -0
- package/dist/resources/schemas/UpdateEntityCommand.json +118 -0
- package/dist/resources/schemas/UpdateMicroserviceCommand.json +13 -1
- package/dist/resources/schemas/UpdateProcessDefinitionCommand.json +1357 -0
- package/dist/resources/schemas/UpdateQueryCommand.json +4 -0
- package/dist/resources/schemas/UpdateViewCommand.json +0 -2
- package/dist/resources/schemas/UpdateWorkflowCommand.json +143 -1
- package/dist/resources/schemas/ValidateProcessDefinitionQuery.json +1339 -0
- package/dist/server.js +27 -1
- package/dist/tools/access.js +369 -2
- package/dist/tools/accessOperations.js +135 -0
- package/dist/tools/accessPolicies.js +170 -0
- package/dist/tools/accessRuntime.js +203 -0
- package/dist/tools/applications.js +60 -3
- package/dist/tools/bpm.js +343 -0
- package/dist/tools/bpmGovernance.js +266 -0
- package/dist/tools/bpmOperations.js +230 -0
- package/dist/tools/bpmReporting.js +154 -0
- package/dist/tools/bpmRouting.js +150 -0
- package/dist/tools/bpmRuntime.js +396 -0
- package/dist/tools/case.js +178 -0
- package/dist/tools/caseRuntime.js +89 -0
- package/dist/tools/common.js +7 -0
- package/dist/tools/components.js +118 -14
- package/dist/tools/connectData.js +449 -0
- package/dist/tools/connectors.js +193 -0
- package/dist/tools/datasources.js +3 -3
- package/dist/tools/decisions.js +206 -0
- package/dist/tools/dependencies.js +1 -1
- package/dist/tools/deployments.js +2 -2
- package/dist/tools/designSchemaPatch.js +34 -9
- package/dist/tools/dtos.js +36 -5
- package/dist/tools/entities.js +79 -12
- package/dist/tools/externalComponents.js +26 -5
- package/dist/tools/flows.js +122 -14
- package/dist/tools/folders.js +1 -1
- package/dist/tools/imports.js +5 -2
- package/dist/tools/layouts.js +50 -17
- package/dist/tools/merges.js +1 -1
- package/dist/tools/microservices.js +77 -25
- package/dist/tools/mobile.js +221 -0
- package/dist/tools/modules.js +48 -0
- package/dist/tools/organizationStructure.js +137 -0
- package/dist/tools/pages.js +465 -98
- package/dist/tools/platformInfo.js +27 -8
- package/dist/tools/profileWrite.js +92 -0
- package/dist/tools/projects.js +71 -9
- package/dist/tools/rows.js +69 -13
- package/dist/tools/schemaOps.js +61 -1
- package/dist/tools/screenWrite.js +37 -8
- package/dist/tools/screens.js +95 -5
- package/dist/tools/templates.js +26 -1
- package/dist/tools/translations.js +1 -1
- package/dist/tools/variables.js +11 -5
- package/dist/tools/workflows.js +10 -5
- package/package.json +2 -2
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_meta": {
|
|
3
|
+
"synthetic": true,
|
|
4
|
+
"note": "Mobil uygulamada üç sayfalık liste → detay → form akışı (G6 koşusunun girdisi): 'gorevler' mount'ta görevleri yükleyip repeater'a yazar, satıra dokunmak 'detay'ı id ile açar, 'yeni' formu kaydedip toast gösterir ve listeye döner. Yerleşim flex (blocks yok), görünüm tipli gruplarla.",
|
|
5
|
+
"pairsWith": "mobile-app-shell-stack ya da mobile-app-shell-tab (kabuk), microservice-table-list (liste ucu), page-form-upsert (web'deki form ikizi)",
|
|
6
|
+
"sourceRef": "platform_guide('mobile') §Kurulum sırası, §Akış adımları; ngapps://examples/flow-list-to-form (redirect query sözleşmesi)"
|
|
7
|
+
},
|
|
8
|
+
"_rules": {
|
|
9
|
+
"order": "Önce kabuk ve sayfalar (mobile_app_create), sonra microservice'ler, sonra her sayfanın schemaPatchOps'u, en son akışlar (flow_create) ve bağları (set_event).",
|
|
10
|
+
"flexOnly": "Mobil çizer blocks okumaz: add_component'e blocks yazma, sıra index'tir (MOB-001). Genişlik appearance.widthType ile.",
|
|
11
|
+
"repeaterRows": "repeater'ın satır şablonu çocuklarıdır ve satırlar `rows` prop'una yazılır; satır verisi item.<alan> ile okunur. `card` çocuk almaz: satır kartının alanları `title`/`description` bağıyla verilir. Satıra dokunuş MOBİLDE repeater'ın kendi `itemPress` olayıdır (`itemPressable: true`) — kartın `click`'i değil; payload `{ index, row }` taşır. Satır iç rolü <elementId>__row-<i> page_screenshot'ta tıklanabilir.",
|
|
12
|
+
"queryIsExpression": "redirect.args.query ifadedir: `id=${lst_tasks.selectedItem.id}`; hedef sayfa Page.queryParams.id ile okur (flow-list-to-form ile aynı sözleşme). Satır çocuğunun AKIŞINDA `item`/`Row` tıklanan satır DEĞİLDİR (yalnız prop bağlarında satır bağlamıdır): dokunuş önce tekrarlayıcının `selectedIndex`'ini yazar, akış satırı `<tekrarlayıcı>.selectedItem` olarak okur.",
|
|
13
|
+
"toastDoesNotWait": "alert.alertType 'success' toast'tur ve beklemez; ardından gelen redirect hemen koşar. Onay beklemek için alertType verme.",
|
|
14
|
+
"catalog": "repeater, form, textinput, textarea, card ve text mobil kataloğun Dalga 1 bileşenleridir; component_list mobil uygulamada döndürmüyorsa yazım MOB-003 alır.",
|
|
15
|
+
"verify": "page_screenshot({ applicationSlug: 'saha', pageSlug: 'yeni', actions: [{ action: 'set', target: 'in_title', value: 'Sayaç okuma' }, { action: 'submit', target: 'frm_task' }] }) → submitVia 'bridge', flowRuns ≥ 1, son kare 'gorevler'.",
|
|
16
|
+
"propNames": "Prop adları mobil kataloğun adlarıdır (component_get): metin `text.content`, satırlar `repeater.rows`. Mobilde istemci tarafı form doğrulaması yok (`isRequired` prop'u yok) — zorunlu alanı kayıt akışı denetler. Kod bağı ifadeyi `ref`'te taşır: `{ type: 'code', ref: '{{ item.title }}' }` — `data`'ya yazılan ifade çizilmez (boş metin).",
|
|
17
|
+
"detailFromSteps": "Detay alanları uçtan gelen veriyi SETTER adımıyla alır (`fill_detail`, `value.type: 'storage'`): `{{ Steps.… }}` kod bağı ilk çizimde okunur ve `Steps`'e yazmak düğümü yeniden okutmaz — sayfa boş kalırdı (web `page-detail-profile` ile aynı desen).",
|
|
18
|
+
"mobileBehavior": "Çekerek yenile listenin değil onu saran `scroll-view`'ın işidir (`refreshable: true` + `refresh` olayı). `redirect.presentation` push | modal | replace alır; küme dışı değer MOB-008 uyarısı ve backend 422'sidir. Sekme hedefine giden redirect'te modal `navigate`'e düşer.",
|
|
19
|
+
"layoutContract": "Mizanpaj sözleşmesi platform_guide('mobile-layout'): başlık text type (fontSize değil), form direction:'column' + horizontalAlign:'stretch' (yönü yazılmamış form satırdır), aralık gap'ten. Sayfalar MOB-015…021'den sıfır bulguyla geçer."
|
|
20
|
+
},
|
|
21
|
+
"pages": [
|
|
22
|
+
{
|
|
23
|
+
"pageCreateArgs": {
|
|
24
|
+
"name": "Görevler",
|
|
25
|
+
"slug": "gorevler"
|
|
26
|
+
},
|
|
27
|
+
"schemaPatchOps": [
|
|
28
|
+
{
|
|
29
|
+
"op": "add_component",
|
|
30
|
+
"parent": "page_container",
|
|
31
|
+
"component": {
|
|
32
|
+
"elementId": "scr_tasks",
|
|
33
|
+
"name": "scr_tasks",
|
|
34
|
+
"type": "scroll-view",
|
|
35
|
+
"kind": "component",
|
|
36
|
+
"props": {
|
|
37
|
+
"refreshable": {
|
|
38
|
+
"type": "static",
|
|
39
|
+
"ref": null,
|
|
40
|
+
"data": true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"appearance": {
|
|
44
|
+
"widthType": "fill",
|
|
45
|
+
"heightType": "fill"
|
|
46
|
+
},
|
|
47
|
+
"blocks": [],
|
|
48
|
+
"events": [],
|
|
49
|
+
"validations": [],
|
|
50
|
+
"stateBindings": [],
|
|
51
|
+
"children": []
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"op": "add_component",
|
|
56
|
+
"parent": "scr_tasks",
|
|
57
|
+
"component": {
|
|
58
|
+
"elementId": "lst_tasks",
|
|
59
|
+
"name": "lst_tasks",
|
|
60
|
+
"type": "repeater",
|
|
61
|
+
"kind": "component",
|
|
62
|
+
"props": {
|
|
63
|
+
"rows": {
|
|
64
|
+
"type": "static",
|
|
65
|
+
"ref": null,
|
|
66
|
+
"data": []
|
|
67
|
+
},
|
|
68
|
+
"itemPressable": {
|
|
69
|
+
"type": "static",
|
|
70
|
+
"ref": null,
|
|
71
|
+
"data": true
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"appearance": {
|
|
75
|
+
"widthType": "fill"
|
|
76
|
+
},
|
|
77
|
+
"blocks": [],
|
|
78
|
+
"events": [],
|
|
79
|
+
"validations": [],
|
|
80
|
+
"stateBindings": [],
|
|
81
|
+
"children": [
|
|
82
|
+
{
|
|
83
|
+
"elementId": "row_card",
|
|
84
|
+
"name": "row_card",
|
|
85
|
+
"type": "card",
|
|
86
|
+
"kind": "component",
|
|
87
|
+
"props": {
|
|
88
|
+
"title": {
|
|
89
|
+
"type": "code",
|
|
90
|
+
"ref": "{{ item.title }}"
|
|
91
|
+
},
|
|
92
|
+
"description": {
|
|
93
|
+
"type": "code",
|
|
94
|
+
"ref": "{{ item.status }}"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"appearance": {
|
|
98
|
+
"widthType": "fill"
|
|
99
|
+
},
|
|
100
|
+
"blocks": [],
|
|
101
|
+
"events": [],
|
|
102
|
+
"validations": [],
|
|
103
|
+
"stateBindings": [],
|
|
104
|
+
"children": []
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"op": "add_component",
|
|
111
|
+
"parent": "page_container",
|
|
112
|
+
"component": {
|
|
113
|
+
"elementId": "btn_new",
|
|
114
|
+
"name": "btn_new",
|
|
115
|
+
"type": "button",
|
|
116
|
+
"kind": "component",
|
|
117
|
+
"props": {
|
|
118
|
+
"text": {
|
|
119
|
+
"type": "static",
|
|
120
|
+
"ref": null,
|
|
121
|
+
"data": "Yeni görev"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"appearance": {
|
|
125
|
+
"widthType": "fill"
|
|
126
|
+
},
|
|
127
|
+
"blocks": [],
|
|
128
|
+
"events": [],
|
|
129
|
+
"validations": [],
|
|
130
|
+
"stateBindings": [],
|
|
131
|
+
"children": []
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"mountFlowCreateArgs": {
|
|
136
|
+
"host": "page",
|
|
137
|
+
"hostId": "<gorevler sayfa id>",
|
|
138
|
+
"name": "gorevler mount",
|
|
139
|
+
"slug": "gorevler-mount",
|
|
140
|
+
"steps": [
|
|
141
|
+
{
|
|
142
|
+
"stepId": "start",
|
|
143
|
+
"name": "start",
|
|
144
|
+
"type": "start",
|
|
145
|
+
"kind": "normal",
|
|
146
|
+
"args": {},
|
|
147
|
+
"branches": [
|
|
148
|
+
{
|
|
149
|
+
"id": "<GUID>",
|
|
150
|
+
"name": "always",
|
|
151
|
+
"nextStepId": "load_tasks"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"stepId": "load_tasks",
|
|
157
|
+
"name": "load_tasks",
|
|
158
|
+
"type": "microservice",
|
|
159
|
+
"kind": "normal",
|
|
160
|
+
"args": {
|
|
161
|
+
"microserviceId": "<görev listesi microservice id>",
|
|
162
|
+
"isRaw": false,
|
|
163
|
+
"parameters": []
|
|
164
|
+
},
|
|
165
|
+
"branches": [
|
|
166
|
+
{
|
|
167
|
+
"id": "<GUID>",
|
|
168
|
+
"name": "success",
|
|
169
|
+
"nextStepId": "apply_rows"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "<GUID>",
|
|
173
|
+
"name": "always",
|
|
174
|
+
"nextStepId": null
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"stepId": "apply_rows",
|
|
180
|
+
"name": "apply_rows",
|
|
181
|
+
"type": "setter",
|
|
182
|
+
"kind": "normal",
|
|
183
|
+
"args": {
|
|
184
|
+
"iteratees": [
|
|
185
|
+
{
|
|
186
|
+
"id": "<GUID>",
|
|
187
|
+
"type": "change",
|
|
188
|
+
"element": "lst_tasks",
|
|
189
|
+
"property": "rows",
|
|
190
|
+
"source": "component",
|
|
191
|
+
"mapping": {
|
|
192
|
+
"source": "",
|
|
193
|
+
"mappings": {}
|
|
194
|
+
},
|
|
195
|
+
"value": {
|
|
196
|
+
"type": "code",
|
|
197
|
+
"ref": "Steps.load_tasks.data"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"branches": [
|
|
203
|
+
{
|
|
204
|
+
"id": "<GUID>",
|
|
205
|
+
"name": "always",
|
|
206
|
+
"nextStepId": null
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"rowFlowCreateArgs": {
|
|
213
|
+
"host": "page",
|
|
214
|
+
"hostId": "<gorevler sayfa id>",
|
|
215
|
+
"name": "satırı aç",
|
|
216
|
+
"slug": "gorev-ac",
|
|
217
|
+
"steps": [
|
|
218
|
+
{
|
|
219
|
+
"stepId": "start",
|
|
220
|
+
"name": "start",
|
|
221
|
+
"type": "start",
|
|
222
|
+
"kind": "normal",
|
|
223
|
+
"args": {},
|
|
224
|
+
"branches": [
|
|
225
|
+
{
|
|
226
|
+
"id": "<GUID>",
|
|
227
|
+
"name": "always",
|
|
228
|
+
"nextStepId": "go_detail"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"stepId": "go_detail",
|
|
234
|
+
"name": "go_detail",
|
|
235
|
+
"type": "redirect",
|
|
236
|
+
"kind": "normal",
|
|
237
|
+
"args": {
|
|
238
|
+
"pageId": "<detay sayfa id>",
|
|
239
|
+
"path": "detay",
|
|
240
|
+
"query": "`id=${lst_tasks.selectedItem.id}`",
|
|
241
|
+
"presentation": "modal"
|
|
242
|
+
},
|
|
243
|
+
"branches": [
|
|
244
|
+
{
|
|
245
|
+
"id": "<GUID>",
|
|
246
|
+
"name": "always",
|
|
247
|
+
"nextStepId": null
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"bindOps": [
|
|
254
|
+
{
|
|
255
|
+
"op": "set_event",
|
|
256
|
+
"target": "page_container",
|
|
257
|
+
"event": "mount",
|
|
258
|
+
"eventValue": "<mount akış id>"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"op": "set_event",
|
|
262
|
+
"target": "btn_new",
|
|
263
|
+
"event": "click",
|
|
264
|
+
"eventValue": "<yeni sayfaya redirect akış id>"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"op": "set_event",
|
|
268
|
+
"target": "lst_tasks",
|
|
269
|
+
"event": "itemPress",
|
|
270
|
+
"eventValue": "<satırı aç akış id>"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"op": "set_event",
|
|
274
|
+
"target": "scr_tasks",
|
|
275
|
+
"event": "refresh",
|
|
276
|
+
"eventValue": "<mount akış id>"
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"pageCreateArgs": {
|
|
282
|
+
"name": "Görev detayı",
|
|
283
|
+
"slug": "detay"
|
|
284
|
+
},
|
|
285
|
+
"schemaPatchOps": [
|
|
286
|
+
{
|
|
287
|
+
"op": "add_component",
|
|
288
|
+
"parent": "page_container",
|
|
289
|
+
"component": {
|
|
290
|
+
"elementId": "txt_title",
|
|
291
|
+
"name": "txt_title",
|
|
292
|
+
"type": "text",
|
|
293
|
+
"kind": "component",
|
|
294
|
+
"props": {
|
|
295
|
+
"content": {
|
|
296
|
+
"type": "static",
|
|
297
|
+
"ref": null,
|
|
298
|
+
"data": ""
|
|
299
|
+
},
|
|
300
|
+
"type": {
|
|
301
|
+
"type": "static",
|
|
302
|
+
"ref": null,
|
|
303
|
+
"data": "h2"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"appearance": {},
|
|
307
|
+
"blocks": [],
|
|
308
|
+
"events": [],
|
|
309
|
+
"validations": [],
|
|
310
|
+
"stateBindings": [],
|
|
311
|
+
"children": []
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"op": "add_component",
|
|
316
|
+
"parent": "page_container",
|
|
317
|
+
"component": {
|
|
318
|
+
"elementId": "txt_status",
|
|
319
|
+
"name": "txt_status",
|
|
320
|
+
"type": "text",
|
|
321
|
+
"kind": "component",
|
|
322
|
+
"props": {
|
|
323
|
+
"content": {
|
|
324
|
+
"type": "static",
|
|
325
|
+
"ref": null,
|
|
326
|
+
"data": ""
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"appearance": {},
|
|
330
|
+
"blocks": [],
|
|
331
|
+
"events": [],
|
|
332
|
+
"validations": [],
|
|
333
|
+
"stateBindings": [],
|
|
334
|
+
"children": []
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"mountFlowCreateArgs": {
|
|
339
|
+
"host": "page",
|
|
340
|
+
"hostId": "<detay sayfa id>",
|
|
341
|
+
"name": "detay mount",
|
|
342
|
+
"slug": "detay-mount",
|
|
343
|
+
"steps": [
|
|
344
|
+
{
|
|
345
|
+
"stepId": "start",
|
|
346
|
+
"name": "start",
|
|
347
|
+
"type": "start",
|
|
348
|
+
"kind": "normal",
|
|
349
|
+
"args": {},
|
|
350
|
+
"branches": [
|
|
351
|
+
{
|
|
352
|
+
"id": "<GUID>",
|
|
353
|
+
"name": "always",
|
|
354
|
+
"nextStepId": "load_task"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"stepId": "load_task",
|
|
360
|
+
"name": "load_task",
|
|
361
|
+
"type": "microservice",
|
|
362
|
+
"kind": "normal",
|
|
363
|
+
"args": {
|
|
364
|
+
"microserviceId": "<görev getir microservice id>",
|
|
365
|
+
"isRaw": false,
|
|
366
|
+
"parameters": [
|
|
367
|
+
{
|
|
368
|
+
"name": "id",
|
|
369
|
+
"type": "text",
|
|
370
|
+
"source": "query-string",
|
|
371
|
+
"value": {
|
|
372
|
+
"type": "code",
|
|
373
|
+
"ref": "Page.queryParams.id"
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
"branches": [
|
|
379
|
+
{
|
|
380
|
+
"id": "<GUID>",
|
|
381
|
+
"name": "always",
|
|
382
|
+
"nextStepId": "fill_detail"
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"stepId": "fill_detail",
|
|
388
|
+
"name": "fill_detail",
|
|
389
|
+
"type": "setter",
|
|
390
|
+
"kind": "normal",
|
|
391
|
+
"args": {
|
|
392
|
+
"iteratees": [
|
|
393
|
+
{
|
|
394
|
+
"id": "<GUID>",
|
|
395
|
+
"type": "change",
|
|
396
|
+
"source": "component",
|
|
397
|
+
"element": "txt_title",
|
|
398
|
+
"property": "content",
|
|
399
|
+
"mapping": {
|
|
400
|
+
"source": "",
|
|
401
|
+
"mappings": {}
|
|
402
|
+
},
|
|
403
|
+
"value": {
|
|
404
|
+
"type": "storage",
|
|
405
|
+
"ref": "load_task.data.title"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"id": "<GUID>",
|
|
410
|
+
"type": "change",
|
|
411
|
+
"source": "component",
|
|
412
|
+
"element": "txt_status",
|
|
413
|
+
"property": "content",
|
|
414
|
+
"mapping": {
|
|
415
|
+
"source": "",
|
|
416
|
+
"mappings": {}
|
|
417
|
+
},
|
|
418
|
+
"value": {
|
|
419
|
+
"type": "storage",
|
|
420
|
+
"ref": "load_task.data.status"
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"branches": [
|
|
426
|
+
{
|
|
427
|
+
"id": "<GUID>",
|
|
428
|
+
"name": "always",
|
|
429
|
+
"nextStepId": null
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
"bindOps": [
|
|
436
|
+
{
|
|
437
|
+
"op": "set_event",
|
|
438
|
+
"target": "page_container",
|
|
439
|
+
"event": "mount",
|
|
440
|
+
"eventValue": "<detay mount akış id>"
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"pageCreateArgs": {
|
|
446
|
+
"name": "Yeni görev",
|
|
447
|
+
"slug": "yeni"
|
|
448
|
+
},
|
|
449
|
+
"schemaPatchOps": [
|
|
450
|
+
{
|
|
451
|
+
"op": "add_component",
|
|
452
|
+
"parent": "page_container",
|
|
453
|
+
"component": {
|
|
454
|
+
"elementId": "frm_task",
|
|
455
|
+
"name": "frm_task",
|
|
456
|
+
"type": "form",
|
|
457
|
+
"kind": "component",
|
|
458
|
+
"props": {
|
|
459
|
+
"direction": {
|
|
460
|
+
"type": "static",
|
|
461
|
+
"ref": null,
|
|
462
|
+
"data": "column"
|
|
463
|
+
},
|
|
464
|
+
"horizontalAlign": {
|
|
465
|
+
"type": "static",
|
|
466
|
+
"ref": null,
|
|
467
|
+
"data": "stretch"
|
|
468
|
+
},
|
|
469
|
+
"gap": {
|
|
470
|
+
"type": "static",
|
|
471
|
+
"ref": null,
|
|
472
|
+
"data": "medium"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"appearance": {
|
|
476
|
+
"widthType": "fill",
|
|
477
|
+
"paddingType": "none",
|
|
478
|
+
"marginType": "none"
|
|
479
|
+
},
|
|
480
|
+
"blocks": [],
|
|
481
|
+
"events": [],
|
|
482
|
+
"validations": [],
|
|
483
|
+
"stateBindings": [],
|
|
484
|
+
"children": [
|
|
485
|
+
{
|
|
486
|
+
"elementId": "in_title",
|
|
487
|
+
"name": "in_title",
|
|
488
|
+
"type": "textinput",
|
|
489
|
+
"kind": "component",
|
|
490
|
+
"props": {
|
|
491
|
+
"label": {
|
|
492
|
+
"type": "static",
|
|
493
|
+
"ref": null,
|
|
494
|
+
"data": "Başlık"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"appearance": {
|
|
498
|
+
"widthType": "fill"
|
|
499
|
+
},
|
|
500
|
+
"blocks": [],
|
|
501
|
+
"events": [],
|
|
502
|
+
"validations": [],
|
|
503
|
+
"stateBindings": [],
|
|
504
|
+
"children": []
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"elementId": "in_note",
|
|
508
|
+
"name": "in_note",
|
|
509
|
+
"type": "textarea",
|
|
510
|
+
"kind": "component",
|
|
511
|
+
"props": {
|
|
512
|
+
"label": {
|
|
513
|
+
"type": "static",
|
|
514
|
+
"ref": null,
|
|
515
|
+
"data": "Not"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"appearance": {
|
|
519
|
+
"widthType": "fill"
|
|
520
|
+
},
|
|
521
|
+
"blocks": [],
|
|
522
|
+
"events": [],
|
|
523
|
+
"validations": [],
|
|
524
|
+
"stateBindings": [],
|
|
525
|
+
"children": []
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"elementId": "btn_save",
|
|
529
|
+
"name": "btn_save",
|
|
530
|
+
"type": "button",
|
|
531
|
+
"kind": "component",
|
|
532
|
+
"props": {
|
|
533
|
+
"text": {
|
|
534
|
+
"type": "static",
|
|
535
|
+
"ref": null,
|
|
536
|
+
"data": "Kaydet"
|
|
537
|
+
},
|
|
538
|
+
"type": {
|
|
539
|
+
"type": "static",
|
|
540
|
+
"ref": null,
|
|
541
|
+
"data": "submit"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"appearance": {
|
|
545
|
+
"widthType": "fill"
|
|
546
|
+
},
|
|
547
|
+
"blocks": [],
|
|
548
|
+
"events": [],
|
|
549
|
+
"validations": [],
|
|
550
|
+
"stateBindings": [],
|
|
551
|
+
"children": []
|
|
552
|
+
}
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
],
|
|
557
|
+
"submitFlowCreateArgs": {
|
|
558
|
+
"host": "page",
|
|
559
|
+
"hostId": "<yeni sayfa id>",
|
|
560
|
+
"name": "görev kaydet",
|
|
561
|
+
"slug": "gorev-kaydet",
|
|
562
|
+
"steps": [
|
|
563
|
+
{
|
|
564
|
+
"stepId": "start",
|
|
565
|
+
"name": "start",
|
|
566
|
+
"type": "start",
|
|
567
|
+
"kind": "normal",
|
|
568
|
+
"args": {},
|
|
569
|
+
"branches": [
|
|
570
|
+
{
|
|
571
|
+
"id": "<GUID>",
|
|
572
|
+
"name": "always",
|
|
573
|
+
"nextStepId": "save_task"
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"stepId": "save_task",
|
|
579
|
+
"name": "save_task",
|
|
580
|
+
"type": "microservice",
|
|
581
|
+
"kind": "normal",
|
|
582
|
+
"args": {
|
|
583
|
+
"microserviceId": "<görev oluştur microservice id>",
|
|
584
|
+
"isRaw": false,
|
|
585
|
+
"parameters": [
|
|
586
|
+
{
|
|
587
|
+
"name": "title",
|
|
588
|
+
"type": "text",
|
|
589
|
+
"source": "body",
|
|
590
|
+
"value": {
|
|
591
|
+
"type": "property",
|
|
592
|
+
"ref": {
|
|
593
|
+
"element": "in_title",
|
|
594
|
+
"property": "value"
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "note",
|
|
600
|
+
"type": "text",
|
|
601
|
+
"source": "body",
|
|
602
|
+
"value": {
|
|
603
|
+
"type": "property",
|
|
604
|
+
"ref": {
|
|
605
|
+
"element": "in_note",
|
|
606
|
+
"property": "value"
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
]
|
|
611
|
+
},
|
|
612
|
+
"branches": [
|
|
613
|
+
{
|
|
614
|
+
"id": "<GUID>",
|
|
615
|
+
"name": "success",
|
|
616
|
+
"nextStepId": "notify"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"id": "<GUID>",
|
|
620
|
+
"name": "always",
|
|
621
|
+
"nextStepId": null
|
|
622
|
+
}
|
|
623
|
+
]
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"stepId": "notify",
|
|
627
|
+
"name": "notify",
|
|
628
|
+
"type": "alert",
|
|
629
|
+
"kind": "normal",
|
|
630
|
+
"args": {
|
|
631
|
+
"message": "Görev kaydedildi",
|
|
632
|
+
"alertType": "success"
|
|
633
|
+
},
|
|
634
|
+
"branches": [
|
|
635
|
+
{
|
|
636
|
+
"id": "<GUID>",
|
|
637
|
+
"name": "always",
|
|
638
|
+
"nextStepId": "go_list"
|
|
639
|
+
}
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"stepId": "go_list",
|
|
644
|
+
"name": "go_list",
|
|
645
|
+
"type": "redirect",
|
|
646
|
+
"kind": "normal",
|
|
647
|
+
"args": {
|
|
648
|
+
"pageId": "<gorevler sayfa id>",
|
|
649
|
+
"path": "gorevler",
|
|
650
|
+
"query": ""
|
|
651
|
+
},
|
|
652
|
+
"branches": [
|
|
653
|
+
{
|
|
654
|
+
"id": "<GUID>",
|
|
655
|
+
"name": "always",
|
|
656
|
+
"nextStepId": null
|
|
657
|
+
}
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
"bindOps": [
|
|
663
|
+
{
|
|
664
|
+
"op": "set_event",
|
|
665
|
+
"target": "frm_task",
|
|
666
|
+
"event": "submit",
|
|
667
|
+
"eventValue": "<görev kaydet akış id>"
|
|
668
|
+
}
|
|
669
|
+
]
|
|
670
|
+
}
|
|
671
|
+
]
|
|
672
|
+
}
|
|
@@ -64,9 +64,10 @@
|
|
|
64
64
|
"children": [], "events": [], "validations": [], "stateBindings": []
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
-
{ "op": "set_event", "target": "page_container", "event": "mount", "eventValue": "<profil yükleme flow id>" },
|
|
68
67
|
{ "op": "set_event", "target": "password_form", "event": "submit", "eventValue": "<şifre güncelleme flow id>" }
|
|
69
68
|
],
|
|
69
|
+
"pageEvents": [{ "name": "mount", "value": "<profil yükleme flow id>" }],
|
|
70
|
+
"_pageEventsNote": "pageEvents page_update { events } ile yazılır; set_event ile page_container'a bağlanmaz — page_container Studio'nun Layers ağacında görünmez.",
|
|
70
71
|
"mountFlowCreateArgs": {
|
|
71
72
|
"host": "page",
|
|
72
73
|
"hostId": "<sayfa id>",
|