Compare commits
2 Commits
14c8459984
...
1827c91da0
Author | SHA1 | Date |
---|---|---|
Emery Hemingway | 1827c91da0 | |
Emery Hemingway | 40ad6a2dbc |
|
@ -1,2 +1,2 @@
|
|||
/nim.cfg
|
||||
.*.check
|
||||
*.check
|
||||
|
|
|
@ -5,6 +5,6 @@ FileSystemUsage = <file-system-usage @path string @size int>.
|
|||
# This assertion publishes a dataspace that proxies assertions with
|
||||
# an exception for <Observe …> which is pulsed every periodSec.
|
||||
# The pulse resolution is no more than one millisecond.
|
||||
Pulse = <pulse @periodSec double @proxy #!any>.
|
||||
Pulse = <pulse @periodSec float @proxy #:any>.
|
||||
|
||||
XmlTranslation = <xml-translation @xml string @pr any>.
|
||||
|
|
20
config.prs
20
config.prs
|
@ -2,53 +2,53 @@ version 1 .
|
|||
embeddedType EntityRef.Cap .
|
||||
|
||||
CacheArguments = <cache {
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
lifetime: float
|
||||
}>.
|
||||
|
||||
FileSystemUsageArguments = <file-system-usage {
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
}>.
|
||||
|
||||
JsonTranslatorArguments = <json-stdio-translator {
|
||||
argv: [string ...]
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
}>.
|
||||
|
||||
JsonTranslatorConnected = <connected @path string>.
|
||||
|
||||
JsonSocketTranslatorArguments = <json-socket-translator {
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
socket: string
|
||||
}>.
|
||||
|
||||
PostgreArguments = <postgre {
|
||||
connection: [PostgreConnectionParameter ...]
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
}>.
|
||||
PostgreConnectionParameter = [@key string @val string].
|
||||
|
||||
PulseArguments = <pulse {
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
}>.
|
||||
|
||||
SqliteArguments = <sqlite {
|
||||
database: string
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
}>.
|
||||
|
||||
WebhooksArguments = <webhooks {
|
||||
endpoints: {[string ...]: #!any ...:...}
|
||||
endpoints: {[string ...]: #:any ...:...}
|
||||
listen: Tcp
|
||||
}>.
|
||||
|
||||
WebsocketArguments = <websocket {
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
url: string
|
||||
}>.
|
||||
|
||||
XmlTranslatorArguments = <xml-translator {
|
||||
dataspace: #!any
|
||||
dataspace: #:any
|
||||
}>.
|
||||
|
||||
# Reused from syndicate-protocols/transportAddress
|
||||
|
|
2
sql.prs
2
sql.prs
|
@ -2,4 +2,4 @@ version 1 .
|
|||
|
||||
# When asserted the actor reponds to @target rows as records
|
||||
# of the given label and row columns as record fields.
|
||||
Query = <query @statement string @target #!any> .
|
||||
Query = <query @statement string @target #:any> .
|
||||
|
|
|
@ -4,7 +4,7 @@ import
|
|||
|
||||
type
|
||||
Pulse* {.preservesRecord: "pulse".} = object
|
||||
`periodSec`*: float64
|
||||
`periodSec`*: float
|
||||
`proxy`* {.preservesEmbedded.}: Value
|
||||
|
||||
XmlTranslation* {.preservesRecord: "xml-translation".} = object
|
||||
|
|
|
@ -49,7 +49,7 @@ type
|
|||
|
||||
CacheArgumentsField0* {.preservesDictionary.} = object
|
||||
`dataspace`* {.preservesEmbedded.}: EmbeddedRef
|
||||
`lifetime`*: BiggestFloat
|
||||
`lifetime`*: float
|
||||
|
||||
CacheArguments* {.preservesRecord: "cache".} = object
|
||||
`field0`*: CacheArgumentsField0
|
||||
|
|
|
@ -5,9 +5,9 @@ import
|
|||
type
|
||||
RoundTripTime* {.preservesRecord: "rtt".} = object
|
||||
`address`*: string
|
||||
`minimum`*: BiggestFloat
|
||||
`average`*: BiggestFloat
|
||||
`maximum`*: BiggestFloat
|
||||
`minimum`*: float
|
||||
`average`*: float
|
||||
`maximum`*: float
|
||||
|
||||
proc `$`*(x: RoundTripTime): string =
|
||||
`$`(toPreserves(x))
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Package
|
||||
|
||||
version = "20240205"
|
||||
version = "20240208"
|
||||
author = "Emery Hemingway"
|
||||
description = "Utilites for Syndicated Actors and Synit"
|
||||
license = "unlicense"
|
||||
srcDir = "src"
|
||||
bin = @["mintsturdyref", "mount_actor", "msg", "net_mapper", "preserve_process_environment", "syndex_card", "syndump"]
|
||||
bin = @["mintsturdyref", "mount_actor", "msg", "net_mapper", "preserve_process_environment", "syndesizer", "syndex_card", "syndump"]
|
||||
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 2.0.0", "illwill", "syndicate >= 20240114", "ws"
|
||||
requires "nim >= 2.0.0", "illwill", "syndicate >= 20240208", "ws"
|
||||
|
|
Loading…
Reference in New Issue