@xyo-network/domain-payload-plugin 3.7.2 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +183 -6
- package/package.json +12 -12
- package/dist/neutral/Payload.d.ts +0 -19
- package/dist/neutral/Payload.d.ts.map +0 -1
- package/dist/neutral/Plugin.d.ts +0 -25
- package/dist/neutral/Plugin.d.ts.map +0 -1
- package/dist/neutral/Schema.d.ts +0 -3
- package/dist/neutral/Schema.d.ts.map +0 -1
- package/dist/neutral/Template.d.ts +0 -3
- package/dist/neutral/Template.d.ts.map +0 -1
- package/dist/neutral/Wrapper.d.ts +0 -136
- package/dist/neutral/Wrapper.d.ts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,6 +1,183 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as _xyo_network_network from '@xyo-network/network';
|
|
2
|
+
import { NetworkPayload } from '@xyo-network/network';
|
|
3
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
4
|
+
import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
|
|
5
|
+
import * as _xylabs_object from '@xylabs/object';
|
|
6
|
+
import { Hash } from '@xylabs/hex';
|
|
7
|
+
import { FetchedPayload } from '@xyo-network/huri';
|
|
8
|
+
import { PayloadWrapper } from '@xyo-network/payload-wrapper';
|
|
9
|
+
|
|
10
|
+
declare const DomainSchema: "network.xyo.domain";
|
|
11
|
+
type DomainSchema = typeof DomainSchema;
|
|
12
|
+
|
|
13
|
+
interface Alias {
|
|
14
|
+
huri: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
}
|
|
17
|
+
type DomainPayload = Payload<{
|
|
18
|
+
additional?: string[];
|
|
19
|
+
aliases?: Record<string, Alias>;
|
|
20
|
+
networks?: NetworkPayload[];
|
|
21
|
+
schema: DomainSchema;
|
|
22
|
+
}>;
|
|
23
|
+
|
|
24
|
+
declare const DomainPayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<_xylabs_object.DeepRestrictToStringKeys<{
|
|
25
|
+
schema: "network.xyo.domain";
|
|
26
|
+
additional?: string[] | undefined;
|
|
27
|
+
aliases?: {
|
|
28
|
+
[x: string]: {
|
|
29
|
+
huri: string;
|
|
30
|
+
name?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
} | undefined;
|
|
33
|
+
networks?: {
|
|
34
|
+
schema: "network.xyo.network";
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
nodes?: {
|
|
37
|
+
schema: "network.xyo.network.node";
|
|
38
|
+
docs?: string | undefined;
|
|
39
|
+
name?: string | undefined;
|
|
40
|
+
slug: string;
|
|
41
|
+
type: _xyo_network_network.NetworkNodeType;
|
|
42
|
+
uri: string;
|
|
43
|
+
web?: string | undefined;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
slug: string;
|
|
46
|
+
}[] | undefined;
|
|
47
|
+
}>>;
|
|
48
|
+
|
|
49
|
+
declare const domainConfigTemplate: () => DomainPayload;
|
|
50
|
+
|
|
51
|
+
interface FetchedAlias extends FetchedPayload {
|
|
52
|
+
alias: Alias;
|
|
53
|
+
}
|
|
54
|
+
declare class DomainPayloadWrapper<T extends DomainPayload = DomainPayload> extends PayloadWrapper<T> {
|
|
55
|
+
aliases?: FetchedAlias[] | null;
|
|
56
|
+
static discover(reverseDomainName: string, proxy?: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
57
|
+
schema: "network.xyo.domain";
|
|
58
|
+
additional?: string[] | undefined;
|
|
59
|
+
aliases?: {
|
|
60
|
+
[x: string]: {
|
|
61
|
+
huri: string;
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
};
|
|
64
|
+
} | undefined;
|
|
65
|
+
networks?: {
|
|
66
|
+
schema: "network.xyo.network";
|
|
67
|
+
name?: string | undefined;
|
|
68
|
+
nodes?: {
|
|
69
|
+
schema: "network.xyo.network.node";
|
|
70
|
+
docs?: string | undefined;
|
|
71
|
+
name?: string | undefined;
|
|
72
|
+
slug: string;
|
|
73
|
+
type: _xyo_network_network.NetworkNodeType;
|
|
74
|
+
uri: string;
|
|
75
|
+
web?: string | undefined;
|
|
76
|
+
}[] | undefined;
|
|
77
|
+
slug: string;
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
}>> | undefined>;
|
|
80
|
+
static discoverDNSEntry(domain: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
81
|
+
schema: "network.xyo.domain";
|
|
82
|
+
additional?: string[] | undefined;
|
|
83
|
+
aliases?: {
|
|
84
|
+
[x: string]: {
|
|
85
|
+
huri: string;
|
|
86
|
+
name?: string | undefined;
|
|
87
|
+
};
|
|
88
|
+
} | undefined;
|
|
89
|
+
networks?: {
|
|
90
|
+
schema: "network.xyo.network";
|
|
91
|
+
name?: string | undefined;
|
|
92
|
+
nodes?: {
|
|
93
|
+
schema: "network.xyo.network.node";
|
|
94
|
+
docs?: string | undefined;
|
|
95
|
+
name?: string | undefined;
|
|
96
|
+
slug: string;
|
|
97
|
+
type: _xyo_network_network.NetworkNodeType;
|
|
98
|
+
uri: string;
|
|
99
|
+
web?: string | undefined;
|
|
100
|
+
}[] | undefined;
|
|
101
|
+
slug: string;
|
|
102
|
+
}[] | undefined;
|
|
103
|
+
}>> | undefined>;
|
|
104
|
+
static discoverRootFile(domain: string, proxy?: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
105
|
+
schema: "network.xyo.domain";
|
|
106
|
+
additional?: string[] | undefined;
|
|
107
|
+
aliases?: {
|
|
108
|
+
[x: string]: {
|
|
109
|
+
huri: string;
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
};
|
|
112
|
+
} | undefined;
|
|
113
|
+
networks?: {
|
|
114
|
+
schema: "network.xyo.network";
|
|
115
|
+
name?: string | undefined;
|
|
116
|
+
nodes?: {
|
|
117
|
+
schema: "network.xyo.network.node";
|
|
118
|
+
docs?: string | undefined;
|
|
119
|
+
name?: string | undefined;
|
|
120
|
+
slug: string;
|
|
121
|
+
type: _xyo_network_network.NetworkNodeType;
|
|
122
|
+
uri: string;
|
|
123
|
+
web?: string | undefined;
|
|
124
|
+
}[] | undefined;
|
|
125
|
+
slug: string;
|
|
126
|
+
}[] | undefined;
|
|
127
|
+
}>> | undefined>;
|
|
128
|
+
static discoverRootFileDirect(domain: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
129
|
+
schema: "network.xyo.domain";
|
|
130
|
+
additional?: string[] | undefined;
|
|
131
|
+
aliases?: {
|
|
132
|
+
[x: string]: {
|
|
133
|
+
huri: string;
|
|
134
|
+
name?: string | undefined;
|
|
135
|
+
};
|
|
136
|
+
} | undefined;
|
|
137
|
+
networks?: {
|
|
138
|
+
schema: "network.xyo.network";
|
|
139
|
+
name?: string | undefined;
|
|
140
|
+
nodes?: {
|
|
141
|
+
schema: "network.xyo.network.node";
|
|
142
|
+
docs?: string | undefined;
|
|
143
|
+
name?: string | undefined;
|
|
144
|
+
slug: string;
|
|
145
|
+
type: _xyo_network_network.NetworkNodeType;
|
|
146
|
+
uri: string;
|
|
147
|
+
web?: string | undefined;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
slug: string;
|
|
150
|
+
}[] | undefined;
|
|
151
|
+
}>> | undefined>;
|
|
152
|
+
static discoverRootFileWithProxy(domain: string, proxy?: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
153
|
+
schema: "network.xyo.domain";
|
|
154
|
+
additional?: string[] | undefined;
|
|
155
|
+
aliases?: {
|
|
156
|
+
[x: string]: {
|
|
157
|
+
huri: string;
|
|
158
|
+
name?: string | undefined;
|
|
159
|
+
};
|
|
160
|
+
} | undefined;
|
|
161
|
+
networks?: {
|
|
162
|
+
schema: "network.xyo.network";
|
|
163
|
+
name?: string | undefined;
|
|
164
|
+
nodes?: {
|
|
165
|
+
schema: "network.xyo.network.node";
|
|
166
|
+
docs?: string | undefined;
|
|
167
|
+
name?: string | undefined;
|
|
168
|
+
slug: string;
|
|
169
|
+
type: _xyo_network_network.NetworkNodeType;
|
|
170
|
+
uri: string;
|
|
171
|
+
web?: string | undefined;
|
|
172
|
+
}[] | undefined;
|
|
173
|
+
slug: string;
|
|
174
|
+
}[] | undefined;
|
|
175
|
+
}>> | undefined>;
|
|
176
|
+
fetch(networkSlug?: Hash): Promise<void>;
|
|
177
|
+
fetchAliases(networkSlug?: Hash): Promise<void>;
|
|
178
|
+
private fetchAlias;
|
|
179
|
+
private findArchivistUri;
|
|
180
|
+
private getNetwork;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export { type Alias, type DomainPayload, DomainPayloadPlugin, DomainPayloadWrapper, DomainSchema, type FetchedAlias, DomainPayloadPlugin as default, domainConfigTemplate };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/domain-payload-plugin",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -33,22 +33,22 @@
|
|
|
33
33
|
"@xylabs/hex": "^4.5.1",
|
|
34
34
|
"@xylabs/object": "^4.5.1",
|
|
35
35
|
"@xylabs/platform": "^4.5.1",
|
|
36
|
-
"@xyo-network/api-models": "^3.
|
|
37
|
-
"@xyo-network/dns": "^3.
|
|
38
|
-
"@xyo-network/huri": "^3.
|
|
39
|
-
"@xyo-network/network": "^3.
|
|
40
|
-
"@xyo-network/payload-builder": "^3.
|
|
41
|
-
"@xyo-network/payload-model": "^3.
|
|
42
|
-
"@xyo-network/payload-plugin": "^3.
|
|
43
|
-
"@xyo-network/payload-wrapper": "^3.
|
|
36
|
+
"@xyo-network/api-models": "^3.8.1",
|
|
37
|
+
"@xyo-network/dns": "^3.8.1",
|
|
38
|
+
"@xyo-network/huri": "^3.8.1",
|
|
39
|
+
"@xyo-network/network": "^3.8.1",
|
|
40
|
+
"@xyo-network/payload-builder": "^3.8.1",
|
|
41
|
+
"@xyo-network/payload-model": "^3.8.1",
|
|
42
|
+
"@xyo-network/payload-plugin": "^3.8.1",
|
|
43
|
+
"@xyo-network/payload-wrapper": "^3.8.1",
|
|
44
44
|
"axios": "^1.7.9"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
48
|
-
"@xylabs/tsconfig": "^
|
|
47
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.22",
|
|
48
|
+
"@xylabs/tsconfig": "^5.0.22",
|
|
49
49
|
"@xylabs/vitest-extended": "^4.5.1",
|
|
50
50
|
"typescript": "^5.7.3",
|
|
51
|
-
"vitest": "^3.0.
|
|
51
|
+
"vitest": "^3.0.5"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { NetworkPayload } from '@xyo-network/network';
|
|
2
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
import type { DomainSchema } from './Schema.ts';
|
|
4
|
-
export interface Alias {
|
|
5
|
-
/** @field huri to the aliased payload */
|
|
6
|
-
huri: string;
|
|
7
|
-
/** @field canonical name (ex. network.xyo.example) */
|
|
8
|
-
name?: string;
|
|
9
|
-
}
|
|
10
|
-
export type DomainPayload = Payload<{
|
|
11
|
-
/** @field Additional config files [huri] [out] */
|
|
12
|
-
additional?: string[];
|
|
13
|
-
/** @field Values associated with this domain [out] */
|
|
14
|
-
aliases?: Record<string, Alias>;
|
|
15
|
-
/** @field Known networks [out] */
|
|
16
|
-
networks?: NetworkPayload[];
|
|
17
|
-
schema: DomainSchema;
|
|
18
|
-
}>;
|
|
19
|
-
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,WAAW,KAAK;IACpB,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC;IAClC,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;IAC/B,kCAAkC;IAClC,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAA;IAC3B,MAAM,EAAE,YAAY,CAAA;CACrB,CAAC,CAAA"}
|
package/dist/neutral/Plugin.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const DomainPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
2
|
-
schema: "network.xyo.domain";
|
|
3
|
-
additional?: string[] | undefined;
|
|
4
|
-
aliases?: {
|
|
5
|
-
[x: string]: {
|
|
6
|
-
huri: string;
|
|
7
|
-
name?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
} | undefined;
|
|
10
|
-
networks?: {
|
|
11
|
-
schema: "network.xyo.network";
|
|
12
|
-
name?: string | undefined;
|
|
13
|
-
nodes?: {
|
|
14
|
-
schema: "network.xyo.network.node";
|
|
15
|
-
docs?: string | undefined;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
slug: string;
|
|
18
|
-
type: import("@xyo-network/network").NetworkNodeType;
|
|
19
|
-
uri: string;
|
|
20
|
-
web?: string | undefined;
|
|
21
|
-
}[] | undefined;
|
|
22
|
-
slug: string;
|
|
23
|
-
}[] | undefined;
|
|
24
|
-
}>>;
|
|
25
|
-
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;GAK5B,CAAA"}
|
package/dist/neutral/Schema.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,EAAG,oBAA6B,CAAA;AACzD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../src/Template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAGjD,eAAO,MAAM,oBAAoB,QAAO,aAmBtC,CAAA"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import type { FetchedPayload } from '@xyo-network/huri';
|
|
3
|
-
import { PayloadWrapper } from '@xyo-network/payload-wrapper';
|
|
4
|
-
import type { Alias, DomainPayload } from './Payload.ts';
|
|
5
|
-
export interface FetchedAlias extends FetchedPayload {
|
|
6
|
-
alias: Alias;
|
|
7
|
-
}
|
|
8
|
-
export declare class DomainPayloadWrapper<T extends DomainPayload = DomainPayload> extends PayloadWrapper<T> {
|
|
9
|
-
aliases?: FetchedAlias[] | null;
|
|
10
|
-
static discover(reverseDomainName: string, proxy?: string): Promise<DomainPayloadWrapper<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
11
|
-
schema: "network.xyo.domain";
|
|
12
|
-
additional?: string[] | undefined;
|
|
13
|
-
aliases?: {
|
|
14
|
-
[x: string]: {
|
|
15
|
-
huri: string;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
} | undefined;
|
|
19
|
-
networks?: {
|
|
20
|
-
schema: "network.xyo.network";
|
|
21
|
-
name?: string | undefined;
|
|
22
|
-
nodes?: {
|
|
23
|
-
schema: "network.xyo.network.node";
|
|
24
|
-
docs?: string | undefined;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
slug: string;
|
|
27
|
-
type: import("@xyo-network/network").NetworkNodeType;
|
|
28
|
-
uri: string;
|
|
29
|
-
web?: string | undefined;
|
|
30
|
-
}[] | undefined;
|
|
31
|
-
slug: string;
|
|
32
|
-
}[] | undefined;
|
|
33
|
-
}>> | undefined>;
|
|
34
|
-
static discoverDNSEntry(domain: string): Promise<DomainPayloadWrapper<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
35
|
-
schema: "network.xyo.domain";
|
|
36
|
-
additional?: string[] | undefined;
|
|
37
|
-
aliases?: {
|
|
38
|
-
[x: string]: {
|
|
39
|
-
huri: string;
|
|
40
|
-
name?: string | undefined;
|
|
41
|
-
};
|
|
42
|
-
} | undefined;
|
|
43
|
-
networks?: {
|
|
44
|
-
schema: "network.xyo.network";
|
|
45
|
-
name?: string | undefined;
|
|
46
|
-
nodes?: {
|
|
47
|
-
schema: "network.xyo.network.node";
|
|
48
|
-
docs?: string | undefined;
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
slug: string;
|
|
51
|
-
type: import("@xyo-network/network").NetworkNodeType;
|
|
52
|
-
uri: string;
|
|
53
|
-
web?: string | undefined;
|
|
54
|
-
}[] | undefined;
|
|
55
|
-
slug: string;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
}>> | undefined>;
|
|
58
|
-
static discoverRootFile(domain: string, proxy?: string): Promise<DomainPayloadWrapper<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
59
|
-
schema: "network.xyo.domain";
|
|
60
|
-
additional?: string[] | undefined;
|
|
61
|
-
aliases?: {
|
|
62
|
-
[x: string]: {
|
|
63
|
-
huri: string;
|
|
64
|
-
name?: string | undefined;
|
|
65
|
-
};
|
|
66
|
-
} | undefined;
|
|
67
|
-
networks?: {
|
|
68
|
-
schema: "network.xyo.network";
|
|
69
|
-
name?: string | undefined;
|
|
70
|
-
nodes?: {
|
|
71
|
-
schema: "network.xyo.network.node";
|
|
72
|
-
docs?: string | undefined;
|
|
73
|
-
name?: string | undefined;
|
|
74
|
-
slug: string;
|
|
75
|
-
type: import("@xyo-network/network").NetworkNodeType;
|
|
76
|
-
uri: string;
|
|
77
|
-
web?: string | undefined;
|
|
78
|
-
}[] | undefined;
|
|
79
|
-
slug: string;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
}>> | undefined>;
|
|
82
|
-
static discoverRootFileDirect(domain: string): Promise<DomainPayloadWrapper<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
83
|
-
schema: "network.xyo.domain";
|
|
84
|
-
additional?: string[] | undefined;
|
|
85
|
-
aliases?: {
|
|
86
|
-
[x: string]: {
|
|
87
|
-
huri: string;
|
|
88
|
-
name?: string | undefined;
|
|
89
|
-
};
|
|
90
|
-
} | undefined;
|
|
91
|
-
networks?: {
|
|
92
|
-
schema: "network.xyo.network";
|
|
93
|
-
name?: string | undefined;
|
|
94
|
-
nodes?: {
|
|
95
|
-
schema: "network.xyo.network.node";
|
|
96
|
-
docs?: string | undefined;
|
|
97
|
-
name?: string | undefined;
|
|
98
|
-
slug: string;
|
|
99
|
-
type: import("@xyo-network/network").NetworkNodeType;
|
|
100
|
-
uri: string;
|
|
101
|
-
web?: string | undefined;
|
|
102
|
-
}[] | undefined;
|
|
103
|
-
slug: string;
|
|
104
|
-
}[] | undefined;
|
|
105
|
-
}>> | undefined>;
|
|
106
|
-
static discoverRootFileWithProxy(domain: string, proxy?: string): Promise<DomainPayloadWrapper<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
107
|
-
schema: "network.xyo.domain";
|
|
108
|
-
additional?: string[] | undefined;
|
|
109
|
-
aliases?: {
|
|
110
|
-
[x: string]: {
|
|
111
|
-
huri: string;
|
|
112
|
-
name?: string | undefined;
|
|
113
|
-
};
|
|
114
|
-
} | undefined;
|
|
115
|
-
networks?: {
|
|
116
|
-
schema: "network.xyo.network";
|
|
117
|
-
name?: string | undefined;
|
|
118
|
-
nodes?: {
|
|
119
|
-
schema: "network.xyo.network.node";
|
|
120
|
-
docs?: string | undefined;
|
|
121
|
-
name?: string | undefined;
|
|
122
|
-
slug: string;
|
|
123
|
-
type: import("@xyo-network/network").NetworkNodeType;
|
|
124
|
-
uri: string;
|
|
125
|
-
web?: string | undefined;
|
|
126
|
-
}[] | undefined;
|
|
127
|
-
slug: string;
|
|
128
|
-
}[] | undefined;
|
|
129
|
-
}>> | undefined>;
|
|
130
|
-
fetch(networkSlug?: Hash): Promise<void>;
|
|
131
|
-
fetchAliases(networkSlug?: Hash): Promise<void>;
|
|
132
|
-
private fetchAlias;
|
|
133
|
-
private findArchivistUri;
|
|
134
|
-
private getNetwork;
|
|
135
|
-
}
|
|
136
|
-
//# sourceMappingURL=Wrapper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/Wrapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAKvC,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,mBAAmB,CAAA;AAIpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAG7D,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAExD,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD,KAAK,EAAE,KAAK,CAAA;CACb;AAED,qBAAa,oBAAoB,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IAClG,OAAO,CAAC,EAAE,YAAY,EAAE,GAAG,IAAI,CAAA;WAElB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;WAWlD,gBAAgB,CAAC,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;WAe/B,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;WAI/C,sBAAsB,CAAC,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;WASrC,yBAAyB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,SAA6C;;;;;;;;;;;;;;;;;;;;;;;;IAWnG,KAAK,CAAC,WAAW,CAAC,EAAE,IAAI;IAIxB,YAAY,CAAC,WAAW,CAAC,EAAE,IAAI;YAgBvB,UAAU;YAUV,gBAAgB;YAIhB,UAAU;CAGzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,mBAAmB,IAAI,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACjF,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|