-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 fixed schema and act encapsulations
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- v0.0.99
- v0.0.98
- v0.0.97
- v0.0.96
- v0.0.95
- v0.0.94
- v0.0.93
- v0.0.92
- v0.0.91
- v0.0.90
- v0.0.89
- v0.0.88
- v0.0.87
- v0.0.86
- v0.0.85
- v0.0.84
- v0.0.83
- v0.0.82
- v0.0.81
- v0.0.80
- v0.0.79
- v0.0.78
- v0.0.77
- v0.0.76
- v0.0.75
- v0.0.74
- v0.0.73
- v0.0.72
- v0.0.71
- v0.0.70
- v0.0.69
- v0.0.68
- v0.0.67
- v0.0.66
- v0.0.65
- v0.0.64
- v0.0.63
- v0.0.62
- 0.060
- 0.0.61
- 0.0.60
- 0.0.59
- 0.0.58
- 0.0.57
- 0.0.56
- 0.0.55
- 0.0.54
Showing
21 changed files
with
733 additions
and
562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
// import { acts } from "./acts.ts"; | ||
|
||
export * from "./acts.ts"; | ||
export * from "./types.ts"; | ||
|
||
// const generatedServices = acts().getAtcsWithServices(); | ||
// export type ServiceKeys = keyof typeof generatedServices; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { Struct } from "../deps.ts"; | ||
import { Body } from "../utils/mod.ts"; | ||
|
||
export type ActFn = (body: Body) => any; | ||
|
||
export interface Act { | ||
validator: Struct<any>; | ||
fn: ActFn; | ||
} | ||
|
||
export interface Acts { | ||
dynamic: { | ||
[key: string]: { | ||
[key: string]: Act; | ||
}; | ||
}; | ||
static: { | ||
[key: string]: { | ||
[key: string]: Act; | ||
}; | ||
}; | ||
} | ||
|
||
export interface Services { | ||
main: Acts; | ||
[key: string]: Acts | string | undefined; | ||
} | ||
|
||
export interface ActInp { | ||
type: "static" | "dynamic"; | ||
schema: string; | ||
actName: string; | ||
validator: Struct<any>; | ||
fn: ActFn; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export { ensureDir } from "https://deno.land/[email protected]/fs/mod.ts"; | ||
export * from "https://deno.land/x/[email protected]/mod.ts"; | ||
export * from "https://deno.land/x/[email protected]/mod.ts"; |
Oops, something went wrong.