Михаил Капелько 11 maanden geleden
bovenliggende
commit
8e103fb4f4
2 gewijzigde bestanden met toevoegingen van 5 en 6 verwijderingen
  1. +1
    -1
      Modules/MeetupIdX/src/MeetupId.Generated.swift
  2. +4
    -5
      Utilities/platform/2/generation/pipeBusSource.py

+ 1
- 1
Modules/MeetupIdX/src/MeetupId.Generated.swift Bestand weergeven

@@ -93,7 +93,7 @@ extension MeetupId {
ctrl.pipe(
dbg: "join",
sub: nil,
Bus.events.compactMap { Bus.convertKeyValue(K.join, $0) }.map { (k: String, v: Void) in v }.map { _ in }.eraseToAnyPublisher(),
Bus.events.compactMap { Bus.convertKeyValue(K.join, $0) }.map { (k: String, v: Bool) in v }.map { _ in }.eraseToAnyPublisher(),
{ $0.join = true },
{ $0.join = false }
)


+ 4
- 5
Utilities/platform/2/generation/pipeBusSource.py Bestand weergeven

@@ -1,10 +1,9 @@
def pipeBusSource(name, entity, busKey, structure, fmtBusPipe, fmtBusPipeToggle):
valueType = structure.model.fields[name][0]
fmt = fmtBusPipe
if "toggle" in entity.pipes[name]:
return fmtBusPipeToggle \
.replace("%BUS_KEY%", busKey) \
.replace("%BUS_VALUE_TYPE%", "Void")
fmt = fmtBusPipeToggle

valueType = structure.model.fields[name][0]
return fmtBusPipe \
return fmt \
.replace("%BUS_KEY%", busKey) \
.replace("%BUS_VALUE_TYPE%", valueType)

Laden…
Annuleren
Opslaan