@plurid/plurid-react-server 0.0.0-0 → 0.0.0-11
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/distribution/data/constants/general/index.d.ts +34 -0
- package/distribution/data/constants/index.d.ts +1 -29
- package/distribution/data/constants/{stiller.d.ts → stiller/index.d.ts} +1 -1
- package/distribution/data/interfaces/{external.d.ts → external/index.d.ts} +39 -28
- package/distribution/data/interfaces/{internal.d.ts → internal/index.d.ts} +18 -20
- package/distribution/data/templates/index.d.ts +1 -0
- package/distribution/index.d.ts +3 -2
- package/distribution/index.es.js +974 -8790
- package/distribution/index.js +1017 -8815
- package/distribution/objects/ContentGenerator/index.d.ts +4 -2
- package/distribution/objects/LiveServer/index.d.ts +13 -0
- package/distribution/objects/Renderer/index.d.ts +7 -8
- package/distribution/objects/Renderer/{template.d.ts → template/index.d.ts} +1 -1
- package/distribution/objects/Server/index.d.ts +20 -6
- package/distribution/objects/Stiller/{__specs__/index.d.ts → __tests__/index.test.d.ts} +0 -0
- package/distribution/objects/Stiller/index.d.ts +2 -1
- package/distribution/objects/StillsGenerator/index.d.ts +1 -1
- package/distribution/objects/StillsManager/index.d.ts +1 -1
- package/distribution/utilities/pttp/index.d.ts +6 -0
- package/distribution/utilities/{template.d.ts → template/index.d.ts} +3 -2
- package/distribution/utilities/{wrapping.d.ts → wrapping/index.d.ts} +2 -4
- package/package.json +71 -58
- package/distribution/index.es.js.map +0 -1
- package/distribution/index.js.map +0 -1
- package/distribution/index.min.js +0 -2
- package/distribution/index.min.js.map +0 -1
- package/distribution/objects/PluridsResponder/index.d.ts +0 -42
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Parses the elements of a fully-defined pluriversal link.
|
|
3
|
-
*
|
|
4
|
-
* From
|
|
5
|
-
* `https://example.com://a/route://a/space://a/page'`
|
|
6
|
-
* to
|
|
7
|
-
* `['https', 'example.com', 'a/route', 'a/space, 'a/page']`
|
|
8
|
-
* to
|
|
9
|
-
* ```
|
|
10
|
-
* link = {
|
|
11
|
-
* protocol: 'https',
|
|
12
|
-
* origin: 'example.com',
|
|
13
|
-
* route: 'a/route',
|
|
14
|
-
* space: 'a/space',
|
|
15
|
-
* page: 'a/page',
|
|
16
|
-
* };
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* The slash `/` between the routes/spaces/pages works just as in the browser path.
|
|
20
|
-
* In-route slashes, or any other special characters, will be standard encoded.
|
|
21
|
-
*
|
|
22
|
-
* Assumes that there are no queries or fragments,
|
|
23
|
-
* and that the path is complete with protocol, origin, route, space, page.
|
|
24
|
-
*
|
|
25
|
-
* If there is only one space on the route, then it's name is `default`.
|
|
26
|
-
*
|
|
27
|
-
* @param path
|
|
28
|
-
*/
|
|
29
|
-
export declare const parseLink: (path: string) => {
|
|
30
|
-
protocol: string;
|
|
31
|
-
origin: string;
|
|
32
|
-
route: string;
|
|
33
|
-
space: string;
|
|
34
|
-
page: string;
|
|
35
|
-
};
|
|
36
|
-
declare class PluridsResponder {
|
|
37
|
-
private plurids;
|
|
38
|
-
constructor();
|
|
39
|
-
search(url: string): "" | undefined;
|
|
40
|
-
private findPlurids;
|
|
41
|
-
}
|
|
42
|
-
export default PluridsResponder;
|