Михаил Капелько 10 个月前
父节点
当前提交
00a9a25997
共有 4 个文件被更改,包括 6 次插入4 次删除
  1. +1
    -1
      Modules/MeetupIdX/src/MeetupId.Generated.swift
  2. +1
    -0
      Utilities/platform/2/generation/isNotKeyword.py
  3. +1
    -3
      Utilities/platform/2/generation/pipeBusSource.py
  4. +3
    -0
      Utilities/platform/2/generation/sectionGeneratedPipes.py

+ 1
- 1
Modules/MeetupIdX/src/MeetupId.Generated.swift 查看文件

@@ -148,7 +148,7 @@ extension MeetupId {
ctrl.pipeValue(
dbg: "testTUI",
sub: nil,
many.eraseToAnyPublisher(),
Bus.events.compactMap { Bus.convertKeyValue(K.testTextUI, $0) }.map { (k: String, v: MPAK.Many<String>) in v }.eraseToAnyPublisher(),
{
$0.testTextUI = $1
},


+ 1
- 0
Utilities/platform/2/generation/isNotKeyword.py 查看文件

@@ -1,6 +1,7 @@
def isNotKeyword(str):
keywords = [
"ex",
"many",
"recent",
"set",
"toggle",


+ 1
- 3
Utilities/platform/2/generation/pipeBusSource.py 查看文件

@@ -4,9 +4,7 @@ def pipeBusSource(name, entity, busKey, structure, fmt):
valueType = structure.model.fields[name][0]
print(f"pipeBS-1 name: '{name}'")
if isPipeMany(name, entity):
itemType = structure.model.fields[key][0]
valueType = f"MPAK.Many<{itemType}>"
print(f"pipeBS-2 name: '{name}'")
valueType = f"MPAK.Many<{valueType}>"

return fmt \
.replace("%BUS_KEY%", busKey) \


+ 3
- 0
Utilities/platform/2/generation/sectionGeneratedPipes.py 查看文件

@@ -15,6 +15,7 @@ def sectionGeneratedPipes(entity, sub, c):

for key in entity.pipes:
values = entity.pipes[key]
print(f"sectionGP-1 key/values: '{key}'/'{values}'")

# EX_NAME.
firstLetter = key[:1].capitalize()
@@ -30,8 +31,10 @@ def sectionGeneratedPipes(entity, sub, c):

# SRC.
src = pipeSource(key, entity)
print(f"sectionGP-2 key/src: '{key}'/'{src}'")
# Bus.
if src.startswith("K."):
print(f"sectionGP-3 key: '{key}' bus")
src = pipeBusSource(key, entity, src, c.structure, fmtBusPipe)

fmtPipe = pipeFormat(fmtExRecent, fmtMany, fmtRecent, fmtSet, fmtToggle, fmtToggleNil, key, entity)


正在加载...
取消
保存