@appaflytech/zeyrek-ai-mcp 0.0.33 → 0.0.35

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 (170) hide show
  1. package/.env.example +0 -15
  2. package/dist/config.js +0 -11
  3. package/dist/index.js +0 -2
  4. package/dist/knowledge/boxSections.js +184 -0
  5. package/dist/knowledge/componentCatalog.js +634 -255
  6. package/dist/knowledge/componentEvents.js +38 -32
  7. package/dist/knowledge/layoutSummary.js +2 -140
  8. package/dist/knowledge/normalize.js +144 -117
  9. package/dist/knowledge/rules.js +42 -291
  10. package/dist/knowledge/styleResolve.js +53 -58
  11. package/dist/knowledge/themeResolve.js +4 -4
  12. package/dist/knowledge/themeSchema.js +2 -1
  13. package/dist/observability/trace.js +1 -1
  14. package/dist/platform/diagnostics.js +4 -10
  15. package/dist/platform/domSummary.js +1 -1
  16. package/dist/platform/http.js +7 -23
  17. package/dist/platform/responses.js +2 -6
  18. package/dist/platform/screenshot.js +1162 -0
  19. package/dist/platform/secrets.js +0 -9
  20. package/dist/platform/strictArguments.js +12 -68
  21. package/dist/platform/tokenVault.js +4 -187
  22. package/dist/resources/examples/layout-app-shell.json +707 -229
  23. package/dist/resources/examples/page-flex-sections.json +1 -1
  24. package/dist/resources/guides/component.md +6 -14
  25. package/dist/resources/guides/entity.md +5 -3
  26. package/dist/resources/guides/expressions.md +5 -14
  27. package/dist/resources/guides/functions.md +1 -1
  28. package/dist/resources/guides/layout.md +58 -55
  29. package/dist/resources/guides/microservice.md +2 -9
  30. package/dist/resources/guides/middleware.md +2 -34
  31. package/dist/resources/guides/page.md +179 -256
  32. package/dist/resources/guides/theme.md +3 -8
  33. package/dist/resources/guides/translation.md +1 -1
  34. package/dist/resources/guides/workflow.md +1 -7
  35. package/dist/resources/schema-fingerprint.json +4 -4
  36. package/dist/resources/schemas/GlobalFunctionUpdateResultDto.json +1 -3
  37. package/dist/resources/schemas/MicroserviceDto.json +2 -2
  38. package/dist/server.js +1 -7
  39. package/dist/tools/applications.js +3 -60
  40. package/dist/tools/components.js +16 -103
  41. package/dist/tools/datasources.js +1 -1
  42. package/dist/tools/designSchemaPatch.js +19 -23
  43. package/dist/tools/externalComponents.js +4 -25
  44. package/dist/tools/flows.js +13 -80
  45. package/dist/tools/layouts.js +20 -48
  46. package/dist/tools/microservices.js +10 -32
  47. package/dist/tools/pages.js +115 -396
  48. package/dist/tools/platformInfo.js +2 -7
  49. package/dist/tools/rows.js +1 -7
  50. package/dist/tools/schemaOps.js +4 -35
  51. package/dist/tools/screenWrite.js +37 -25
  52. package/dist/tools/screens.js +4 -91
  53. package/dist/tools/variables.js +5 -11
  54. package/package.json +2 -2
  55. package/dist/knowledge/access.js +0 -802
  56. package/dist/knowledge/case.js +0 -41
  57. package/dist/knowledge/connectDataBind.js +0 -819
  58. package/dist/knowledge/connectDataDefinition.js +0 -341
  59. package/dist/knowledge/connectDataExecute.js +0 -93
  60. package/dist/knowledge/connectDataRules.js +0 -128
  61. package/dist/knowledge/decision.js +0 -121
  62. package/dist/knowledge/expressionPrelude.js +0 -59
  63. package/dist/knowledge/microserviceParameters.js +0 -58
  64. package/dist/knowledge/mining.js +0 -94
  65. package/dist/knowledge/mobileComponentCatalog.js +0 -864
  66. package/dist/knowledge/mobileComponentEvents.js +0 -239
  67. package/dist/knowledge/mobileStore.js +0 -227
  68. package/dist/knowledge/platform/lint.js +0 -385
  69. package/dist/knowledge/platform/mobile.js +0 -142
  70. package/dist/knowledge/platform/mobileLayoutLint.js +0 -324
  71. package/dist/knowledge/platform/mobileRules.js +0 -231
  72. package/dist/knowledge/platform/mobileSpacing.js +0 -82
  73. package/dist/knowledge/platform/mobileTabs.js +0 -108
  74. package/dist/knowledge/platform/nativeBoxModel.js +0 -44
  75. package/dist/knowledge/platform/profile.js +0 -25
  76. package/dist/knowledge/platform/resolve.js +0 -122
  77. package/dist/knowledge/platform/web.js +0 -39
  78. package/dist/knowledge/process.js +0 -510
  79. package/dist/knowledge/rowFilter.js +0 -43
  80. package/dist/knowledge/styleResolveNative.js +0 -527
  81. package/dist/platform/argumentAliases.js +0 -128
  82. package/dist/platform/bodyFile.js +0 -103
  83. package/dist/platform/capture/actions.js +0 -333
  84. package/dist/platform/capture/browser.js +0 -1
  85. package/dist/platform/capture/capture.js +0 -659
  86. package/dist/platform/capture/console-log.js +0 -122
  87. package/dist/platform/capture/index.js +0 -11
  88. package/dist/platform/capture/readiness.js +0 -103
  89. package/dist/platform/capture/summary.js +0 -77
  90. package/dist/platform/capture/target.js +0 -5
  91. package/dist/platform/capture/targets/studio-mobile.js +0 -15
  92. package/dist/platform/capture/targets/studio-web.js +0 -5
  93. package/dist/platform/impersonation.js +0 -45
  94. package/dist/platform/jsonArray.js +0 -24
  95. package/dist/platform/schemaReadMemory.js +0 -60
  96. package/dist/resources/examples/bpm-gorev-kontrol.json +0 -294
  97. package/dist/resources/examples/bpm-iso-dokuman.json +0 -228
  98. package/dist/resources/examples/bpm-satinalma.json +0 -376
  99. package/dist/resources/examples/connect-data-convert-verify.json +0 -107
  100. package/dist/resources/examples/connect-data-dropdown-roles.json +0 -66
  101. package/dist/resources/examples/connect-data-edit-m2m.json +0 -73
  102. package/dist/resources/examples/connect-data-query-params.json +0 -50
  103. package/dist/resources/examples/connect-data-table-entity.json +0 -147
  104. package/dist/resources/examples/connect-data-workflow-microservice.json +0 -65
  105. package/dist/resources/examples/mobile-app-shell-drawer.json +0 -244
  106. package/dist/resources/examples/mobile-app-shell-stack.json +0 -157
  107. package/dist/resources/examples/mobile-app-shell-tab.json +0 -208
  108. package/dist/resources/examples/mobile-form-screen.json +0 -365
  109. package/dist/resources/examples/mobile-list-detail-form.json +0 -703
  110. package/dist/resources/guides/access.md +0 -796
  111. package/dist/resources/guides/bpm.md +0 -686
  112. package/dist/resources/guides/case.md +0 -153
  113. package/dist/resources/guides/decision.md +0 -185
  114. package/dist/resources/guides/mobile-layout.md +0 -193
  115. package/dist/resources/guides/mobile.md +0 -578
  116. package/dist/resources/read.js +0 -41
  117. package/dist/resources/schemas/AccessExplanationDto.json +0 -144
  118. package/dist/resources/schemas/AccessMatrixDto.json +0 -170
  119. package/dist/resources/schemas/AccessPermissionDto.json +0 -57
  120. package/dist/resources/schemas/AccessPolicyDto.json +0 -223
  121. package/dist/resources/schemas/AccessResourceDto.json +0 -86
  122. package/dist/resources/schemas/AppSessionDto.json +0 -53
  123. package/dist/resources/schemas/ConnectDataDescribeDto.json +0 -344
  124. package/dist/resources/schemas/ConnectDataRequestModel.json +0 -202
  125. package/dist/resources/schemas/ConnectDataResultDto.json +0 -421
  126. package/dist/resources/schemas/ConnectorCredentialDto.json +0 -70
  127. package/dist/resources/schemas/ConvertConnectDataToMicroserviceCommand.json +0 -37
  128. package/dist/resources/schemas/CreateAccessPolicyCommand.json +0 -209
  129. package/dist/resources/schemas/CreateDecisionCommand.json +0 -221
  130. package/dist/resources/schemas/CreateProcessDefinitionCommand.json +0 -1337
  131. package/dist/resources/schemas/DecisionDto.json +0 -302
  132. package/dist/resources/schemas/DetachConnectDataMicroserviceCommand.json +0 -28
  133. package/dist/resources/schemas/ExplainAccessQuery.json +0 -33
  134. package/dist/resources/schemas/GenerateProcessDocumentCommand.json +0 -116
  135. package/dist/resources/schemas/OrganizationProjectDto.json +0 -335
  136. package/dist/resources/schemas/OrganizationSchemaDto.json +0 -196
  137. package/dist/resources/schemas/OrganizationSchemaVersionDto.json +0 -207
  138. package/dist/resources/schemas/PatchProcessDefinitionCommand.json +0 -76
  139. package/dist/resources/schemas/ProcessDefinitionDto.json +0 -1480
  140. package/dist/resources/schemas/ProcessSimulationDto.json +0 -96
  141. package/dist/resources/schemas/SaveConnectorCredentialCommand.json +0 -90
  142. package/dist/resources/schemas/SaveProcessEventSourceCommand.json +0 -61
  143. package/dist/resources/schemas/SaveProcessMailSourceCommand.json +0 -89
  144. package/dist/resources/schemas/SignProcessTaskCommand.json +0 -73
  145. package/dist/resources/schemas/SimulateProcessDefinitionQuery.json +0 -92
  146. package/dist/resources/schemas/StartMobileBuildCommand.json +0 -54
  147. package/dist/resources/schemas/UpdateAccessPolicyCommand.json +0 -209
  148. package/dist/resources/schemas/UpdateDecisionCommand.json +0 -216
  149. package/dist/resources/schemas/UpdateProcessDefinitionCommand.json +0 -1357
  150. package/dist/resources/schemas/UpsertMobileStoreSettingsCommand.json +0 -259
  151. package/dist/resources/schemas/ValidateProcessDefinitionQuery.json +0 -1339
  152. package/dist/tools/accessOperations.js +0 -135
  153. package/dist/tools/accessPolicies.js +0 -170
  154. package/dist/tools/accessRuntime.js +0 -203
  155. package/dist/tools/bpm.js +0 -343
  156. package/dist/tools/bpmGovernance.js +0 -266
  157. package/dist/tools/bpmOperations.js +0 -230
  158. package/dist/tools/bpmReporting.js +0 -154
  159. package/dist/tools/bpmRouting.js +0 -150
  160. package/dist/tools/bpmRuntime.js +0 -396
  161. package/dist/tools/case.js +0 -178
  162. package/dist/tools/caseRuntime.js +0 -89
  163. package/dist/tools/connectData.js +0 -449
  164. package/dist/tools/connectors.js +0 -193
  165. package/dist/tools/decisions.js +0 -206
  166. package/dist/tools/mobile.js +0 -221
  167. package/dist/tools/mobileStore.js +0 -268
  168. package/dist/tools/modules.js +0 -48
  169. package/dist/tools/organizationStructure.js +0 -137
  170. package/dist/tools/profileWrite.js +0 -92
@@ -1,703 +0,0 @@
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": "lst_tasks_satir",
84
- "name": "lst_tasks_satir",
85
- "type": "view",
86
- "kind": "component",
87
- "props": {},
88
- "children": [
89
- {
90
- "elementId": "row_card",
91
- "name": "row_card",
92
- "type": "card",
93
- "kind": "component",
94
- "props": {
95
- "title": {
96
- "type": "code",
97
- "ref": "{{ item.title }}"
98
- },
99
- "description": {
100
- "type": "code",
101
- "ref": "{{ item.status }}"
102
- }
103
- },
104
- "appearance": {
105
- "widthType": "fill"
106
- },
107
- "blocks": [],
108
- "events": [],
109
- "validations": [],
110
- "stateBindings": [],
111
- "children": []
112
- }
113
- ]
114
- },
115
- {
116
- "elementId": "lst_tasks_bos_gorunum",
117
- "name": "lst_tasks_bos_gorunum",
118
- "type": "view",
119
- "kind": "component",
120
- "props": {},
121
- "children": [
122
- {
123
- "elementId": "lst_tasks_bos",
124
- "name": "lst_tasks_bos",
125
- "type": "emptystate",
126
- "kind": "component",
127
- "props": {
128
- "title": {
129
- "type": "static",
130
- "data": "Kayıt yok"
131
- }
132
- },
133
- "children": []
134
- }
135
- ]
136
- }
137
- ]
138
- }
139
- },
140
- {
141
- "op": "add_component",
142
- "parent": "page_container",
143
- "component": {
144
- "elementId": "btn_new",
145
- "name": "btn_new",
146
- "type": "button",
147
- "kind": "component",
148
- "props": {
149
- "text": {
150
- "type": "static",
151
- "ref": null,
152
- "data": "Yeni görev"
153
- }
154
- },
155
- "appearance": {
156
- "widthType": "fill"
157
- },
158
- "blocks": [],
159
- "events": [],
160
- "validations": [],
161
- "stateBindings": [],
162
- "children": []
163
- }
164
- }
165
- ],
166
- "mountFlowCreateArgs": {
167
- "host": "page",
168
- "hostId": "<gorevler sayfa id>",
169
- "name": "gorevler mount",
170
- "slug": "gorevler-mount",
171
- "steps": [
172
- {
173
- "stepId": "start",
174
- "name": "start",
175
- "type": "start",
176
- "kind": "normal",
177
- "args": {},
178
- "branches": [
179
- {
180
- "id": "<GUID>",
181
- "name": "always",
182
- "nextStepId": "load_tasks"
183
- }
184
- ]
185
- },
186
- {
187
- "stepId": "load_tasks",
188
- "name": "load_tasks",
189
- "type": "microservice",
190
- "kind": "normal",
191
- "args": {
192
- "microserviceId": "<görev listesi microservice id>",
193
- "isRaw": false,
194
- "parameters": []
195
- },
196
- "branches": [
197
- {
198
- "id": "<GUID>",
199
- "name": "success",
200
- "nextStepId": "apply_rows"
201
- },
202
- {
203
- "id": "<GUID>",
204
- "name": "always",
205
- "nextStepId": null
206
- }
207
- ]
208
- },
209
- {
210
- "stepId": "apply_rows",
211
- "name": "apply_rows",
212
- "type": "setter",
213
- "kind": "normal",
214
- "args": {
215
- "iteratees": [
216
- {
217
- "id": "<GUID>",
218
- "type": "change",
219
- "element": "lst_tasks",
220
- "property": "rows",
221
- "source": "component",
222
- "mapping": {
223
- "source": "",
224
- "mappings": {}
225
- },
226
- "value": {
227
- "type": "code",
228
- "ref": "Steps.load_tasks.data"
229
- }
230
- }
231
- ]
232
- },
233
- "branches": [
234
- {
235
- "id": "<GUID>",
236
- "name": "always",
237
- "nextStepId": null
238
- }
239
- ]
240
- }
241
- ]
242
- },
243
- "rowFlowCreateArgs": {
244
- "host": "page",
245
- "hostId": "<gorevler sayfa id>",
246
- "name": "satırı aç",
247
- "slug": "gorev-ac",
248
- "steps": [
249
- {
250
- "stepId": "start",
251
- "name": "start",
252
- "type": "start",
253
- "kind": "normal",
254
- "args": {},
255
- "branches": [
256
- {
257
- "id": "<GUID>",
258
- "name": "always",
259
- "nextStepId": "go_detail"
260
- }
261
- ]
262
- },
263
- {
264
- "stepId": "go_detail",
265
- "name": "go_detail",
266
- "type": "redirect",
267
- "kind": "normal",
268
- "args": {
269
- "pageId": "<detay sayfa id>",
270
- "path": "detay",
271
- "query": "`id=${lst_tasks.selectedItem.id}`",
272
- "presentation": "modal"
273
- },
274
- "branches": [
275
- {
276
- "id": "<GUID>",
277
- "name": "always",
278
- "nextStepId": null
279
- }
280
- ]
281
- }
282
- ]
283
- },
284
- "bindOps": [
285
- {
286
- "op": "set_event",
287
- "target": "page_container",
288
- "event": "mount",
289
- "eventValue": "<mount akış id>"
290
- },
291
- {
292
- "op": "set_event",
293
- "target": "btn_new",
294
- "event": "click",
295
- "eventValue": "<yeni sayfaya redirect akış id>"
296
- },
297
- {
298
- "op": "set_event",
299
- "target": "lst_tasks",
300
- "event": "itemPress",
301
- "eventValue": "<satırı aç akış id>"
302
- },
303
- {
304
- "op": "set_event",
305
- "target": "scr_tasks",
306
- "event": "refresh",
307
- "eventValue": "<mount akış id>"
308
- }
309
- ]
310
- },
311
- {
312
- "pageCreateArgs": {
313
- "name": "Görev detayı",
314
- "slug": "detay"
315
- },
316
- "schemaPatchOps": [
317
- {
318
- "op": "add_component",
319
- "parent": "page_container",
320
- "component": {
321
- "elementId": "txt_title",
322
- "name": "txt_title",
323
- "type": "text",
324
- "kind": "component",
325
- "props": {
326
- "content": {
327
- "type": "static",
328
- "ref": null,
329
- "data": ""
330
- },
331
- "type": {
332
- "type": "static",
333
- "ref": null,
334
- "data": "h2"
335
- }
336
- },
337
- "appearance": {},
338
- "blocks": [],
339
- "events": [],
340
- "validations": [],
341
- "stateBindings": [],
342
- "children": []
343
- }
344
- },
345
- {
346
- "op": "add_component",
347
- "parent": "page_container",
348
- "component": {
349
- "elementId": "txt_status",
350
- "name": "txt_status",
351
- "type": "text",
352
- "kind": "component",
353
- "props": {
354
- "content": {
355
- "type": "static",
356
- "ref": null,
357
- "data": ""
358
- }
359
- },
360
- "appearance": {},
361
- "blocks": [],
362
- "events": [],
363
- "validations": [],
364
- "stateBindings": [],
365
- "children": []
366
- }
367
- }
368
- ],
369
- "mountFlowCreateArgs": {
370
- "host": "page",
371
- "hostId": "<detay sayfa id>",
372
- "name": "detay mount",
373
- "slug": "detay-mount",
374
- "steps": [
375
- {
376
- "stepId": "start",
377
- "name": "start",
378
- "type": "start",
379
- "kind": "normal",
380
- "args": {},
381
- "branches": [
382
- {
383
- "id": "<GUID>",
384
- "name": "always",
385
- "nextStepId": "load_task"
386
- }
387
- ]
388
- },
389
- {
390
- "stepId": "load_task",
391
- "name": "load_task",
392
- "type": "microservice",
393
- "kind": "normal",
394
- "args": {
395
- "microserviceId": "<görev getir microservice id>",
396
- "isRaw": false,
397
- "parameters": [
398
- {
399
- "name": "id",
400
- "type": "text",
401
- "source": "query-string",
402
- "value": {
403
- "type": "code",
404
- "ref": "Page.queryParams.id"
405
- }
406
- }
407
- ]
408
- },
409
- "branches": [
410
- {
411
- "id": "<GUID>",
412
- "name": "always",
413
- "nextStepId": "fill_detail"
414
- }
415
- ]
416
- },
417
- {
418
- "stepId": "fill_detail",
419
- "name": "fill_detail",
420
- "type": "setter",
421
- "kind": "normal",
422
- "args": {
423
- "iteratees": [
424
- {
425
- "id": "<GUID>",
426
- "type": "change",
427
- "source": "component",
428
- "element": "txt_title",
429
- "property": "content",
430
- "mapping": {
431
- "source": "",
432
- "mappings": {}
433
- },
434
- "value": {
435
- "type": "storage",
436
- "ref": "load_task.data.title"
437
- }
438
- },
439
- {
440
- "id": "<GUID>",
441
- "type": "change",
442
- "source": "component",
443
- "element": "txt_status",
444
- "property": "content",
445
- "mapping": {
446
- "source": "",
447
- "mappings": {}
448
- },
449
- "value": {
450
- "type": "storage",
451
- "ref": "load_task.data.status"
452
- }
453
- }
454
- ]
455
- },
456
- "branches": [
457
- {
458
- "id": "<GUID>",
459
- "name": "always",
460
- "nextStepId": null
461
- }
462
- ]
463
- }
464
- ]
465
- },
466
- "bindOps": [
467
- {
468
- "op": "set_event",
469
- "target": "page_container",
470
- "event": "mount",
471
- "eventValue": "<detay mount akış id>"
472
- }
473
- ]
474
- },
475
- {
476
- "pageCreateArgs": {
477
- "name": "Yeni görev",
478
- "slug": "yeni"
479
- },
480
- "schemaPatchOps": [
481
- {
482
- "op": "add_component",
483
- "parent": "page_container",
484
- "component": {
485
- "elementId": "frm_task",
486
- "name": "frm_task",
487
- "type": "form",
488
- "kind": "component",
489
- "props": {
490
- "direction": {
491
- "type": "static",
492
- "ref": null,
493
- "data": "column"
494
- },
495
- "horizontalAlign": {
496
- "type": "static",
497
- "ref": null,
498
- "data": "stretch"
499
- },
500
- "gap": {
501
- "type": "static",
502
- "ref": null,
503
- "data": "medium"
504
- }
505
- },
506
- "appearance": {
507
- "widthType": "fill",
508
- "paddingType": "none",
509
- "marginType": "none"
510
- },
511
- "blocks": [],
512
- "events": [],
513
- "validations": [],
514
- "stateBindings": [],
515
- "children": [
516
- {
517
- "elementId": "in_title",
518
- "name": "in_title",
519
- "type": "textinput",
520
- "kind": "component",
521
- "props": {
522
- "label": {
523
- "type": "static",
524
- "ref": null,
525
- "data": "Başlık"
526
- }
527
- },
528
- "appearance": {
529
- "widthType": "fill"
530
- },
531
- "blocks": [],
532
- "events": [],
533
- "validations": [],
534
- "stateBindings": [],
535
- "children": []
536
- },
537
- {
538
- "elementId": "in_note",
539
- "name": "in_note",
540
- "type": "textarea",
541
- "kind": "component",
542
- "props": {
543
- "label": {
544
- "type": "static",
545
- "ref": null,
546
- "data": "Not"
547
- }
548
- },
549
- "appearance": {
550
- "widthType": "fill"
551
- },
552
- "blocks": [],
553
- "events": [],
554
- "validations": [],
555
- "stateBindings": [],
556
- "children": []
557
- },
558
- {
559
- "elementId": "btn_save",
560
- "name": "btn_save",
561
- "type": "button",
562
- "kind": "component",
563
- "props": {
564
- "text": {
565
- "type": "static",
566
- "ref": null,
567
- "data": "Kaydet"
568
- },
569
- "type": {
570
- "type": "static",
571
- "ref": null,
572
- "data": "submit"
573
- }
574
- },
575
- "appearance": {
576
- "widthType": "fill"
577
- },
578
- "blocks": [],
579
- "events": [],
580
- "validations": [],
581
- "stateBindings": [],
582
- "children": []
583
- }
584
- ]
585
- }
586
- }
587
- ],
588
- "submitFlowCreateArgs": {
589
- "host": "page",
590
- "hostId": "<yeni sayfa id>",
591
- "name": "görev kaydet",
592
- "slug": "gorev-kaydet",
593
- "steps": [
594
- {
595
- "stepId": "start",
596
- "name": "start",
597
- "type": "start",
598
- "kind": "normal",
599
- "args": {},
600
- "branches": [
601
- {
602
- "id": "<GUID>",
603
- "name": "always",
604
- "nextStepId": "save_task"
605
- }
606
- ]
607
- },
608
- {
609
- "stepId": "save_task",
610
- "name": "save_task",
611
- "type": "microservice",
612
- "kind": "normal",
613
- "args": {
614
- "microserviceId": "<görev oluştur microservice id>",
615
- "isRaw": false,
616
- "parameters": [
617
- {
618
- "name": "title",
619
- "type": "text",
620
- "source": "body",
621
- "value": {
622
- "type": "property",
623
- "ref": {
624
- "element": "in_title",
625
- "property": "value"
626
- }
627
- }
628
- },
629
- {
630
- "name": "note",
631
- "type": "text",
632
- "source": "body",
633
- "value": {
634
- "type": "property",
635
- "ref": {
636
- "element": "in_note",
637
- "property": "value"
638
- }
639
- }
640
- }
641
- ]
642
- },
643
- "branches": [
644
- {
645
- "id": "<GUID>",
646
- "name": "success",
647
- "nextStepId": "notify"
648
- },
649
- {
650
- "id": "<GUID>",
651
- "name": "always",
652
- "nextStepId": null
653
- }
654
- ]
655
- },
656
- {
657
- "stepId": "notify",
658
- "name": "notify",
659
- "type": "alert",
660
- "kind": "normal",
661
- "args": {
662
- "message": "Görev kaydedildi",
663
- "alertType": "success"
664
- },
665
- "branches": [
666
- {
667
- "id": "<GUID>",
668
- "name": "always",
669
- "nextStepId": "go_list"
670
- }
671
- ]
672
- },
673
- {
674
- "stepId": "go_list",
675
- "name": "go_list",
676
- "type": "redirect",
677
- "kind": "normal",
678
- "args": {
679
- "pageId": "<gorevler sayfa id>",
680
- "path": "gorevler",
681
- "query": ""
682
- },
683
- "branches": [
684
- {
685
- "id": "<GUID>",
686
- "name": "always",
687
- "nextStepId": null
688
- }
689
- ]
690
- }
691
- ]
692
- },
693
- "bindOps": [
694
- {
695
- "op": "set_event",
696
- "target": "frm_task",
697
- "event": "submit",
698
- "eventValue": "<görev kaydet akış id>"
699
- }
700
- ]
701
- }
702
- ]
703
- }