Skip to content

Commit 257f089

Browse files
committed
up to date
1 parent 66ba66f commit 257f089

30 files changed

+157
-117
lines changed

___package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphscript-core",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "Comprehensive acyclic-graph based application architecture with microservices and networking.",
55
"main": "dist/index.core.js",
66
"module": "dist/index.core.esm.js",

__package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphscript-node",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "Comprehensive acyclic-graph based application architecture with microservices and networking",
55
"main": "dist/index.node.js",
66
"types": "dist/index.node.d.ts",

dist/index.core.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.node.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/core/Graph.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ export declare class GraphNode {
9090
constructor(properties: GraphNodeProperties, parent?: {
9191
[key: string]: any;
9292
}, graph?: Graph);
93+
get __graph(): any;
94+
set __graph(graph: any);
9395
__setProperties: (properties: any, parent: any, graph: any) => void;
9496
__subscribe: (callback: string | GraphNode | ((res: any) => void), key?: string, subInput?: boolean, target?: string, tkey?: string, args?: any[], callbackStr?: string) => any;
9597
__unsubscribe: (sub?: number, key?: string, unsubInput?: boolean) => boolean;

dist/src/services/http/HTTP.node.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ export type ServerProps = {
1818
errpage?: string;
1919
pages?: {
2020
[key: 'all' | string]: string | ({
21+
headers?: {
22+
[key: string]: any;
23+
};
2124
template?: string;
2225
onrequest?: GraphNode | string | ((self: HTTPbackend, node: GraphNode, request: http.IncomingMessage, response: http.ServerResponse) => void);
2326
redirect?: string;
@@ -97,7 +100,12 @@ export declare class HTTPbackend extends Service {
97100
method?: string;
98101
served?: ServerInfo;
99102
}) => void;
100-
injectPageCode: (templateString: string, url: string, served: ServerInfo) => string;
103+
injectPageCode: (templateString: string, url: string, served: ServerInfo) => {
104+
templateString: string;
105+
headers: {
106+
[key: string]: any;
107+
};
108+
};
101109
receive: (message: {
102110
route: string;
103111
args: {

package-lock.json

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)