26 lines
832 B
Go
26 lines
832 B
Go
package encounter
|
|
|
|
import (
|
|
plugin "simrs-vx/internal/use-case/simgos-sync-plugin/new/encounter"
|
|
)
|
|
|
|
func init() {
|
|
createPreMw = append(createPreMw,
|
|
createMw{Name: "sync-update-encounter", Func: plugin.Create})
|
|
|
|
createSimxLogMw = append(createSimxLogMw,
|
|
createLogMw{Name: "create-sync-log", Func: plugin.CreateLog})
|
|
|
|
updatePreMw = append(updatePreMw,
|
|
updateMw{Name: "sync-update-encounter", Func: plugin.Update})
|
|
|
|
deletePreMw = append(deletePreMw,
|
|
deleteMw{Name: "sync-delete-encounter", Func: plugin.Delete})
|
|
|
|
checkinEncounterMw = checkinMw{Name: "sync-checkin-encounter", Func: plugin.Checkin}
|
|
checkoutEncounter = checkoutMw{Name: "sync-checkout-encounter", Func: plugin.Checkout}
|
|
|
|
updatestatusEncounter = append(updatestatusEncounter,
|
|
updateStatusMw{Name: "sync-update-status-encounter", Func: plugin.Cancel})
|
|
}
|