Move generated schema modules to src/schema
This commit is contained in:
parent
ef15b583df
commit
9e6d39d154
|
@ -1,2 +0,0 @@
|
|||
include_rules
|
||||
: foreach ../*.prs |> !preserves_schema_nim |> %B.nim
|
|
@ -4,7 +4,7 @@
|
|||
import std/[asyncdispatch, strutils]
|
||||
import syndicate
|
||||
import ./private/libnotify
|
||||
import ./notifications
|
||||
import ./schema/notifications
|
||||
|
||||
bootDataspace("main") do (ds: Ref; turn: var Turn):
|
||||
connectStdio(ds, turn)
|
||||
|
|
|
@ -5,7 +5,7 @@ import std/[asyncdispatch, asynchttpserver, sets, strutils, tables, uri]
|
|||
import preserves
|
||||
import syndicate, syndicate/actors
|
||||
|
||||
import ./http_protocol.nim
|
||||
import ./schema/http_protocol
|
||||
|
||||
func toHttpCore(methods: Methods): set[HttpMethod] =
|
||||
# Convert the schema type to the type in the httpcore module.
|
||||
|
|
|
@ -5,7 +5,7 @@ import std/[asyncdispatch, asyncnet, json]
|
|||
from std/nativesockets import AF_UNIX, SOCK_STREAM, Protocol
|
||||
import preserves, preserves/jsonhooks, syndicate, syndicate/patterns
|
||||
|
||||
import ./config
|
||||
import ./schema/config
|
||||
|
||||
bootDataspace("main") do (ds: Ref; turn: var Turn):
|
||||
connectStdio(ds, turn)
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
include_rules
|
||||
: foreach ../../*.prs |> !preserves_schema_nim |> %B.nim
|
Loading…
Reference in New Issue