@supacloud/app 0.2.0 → 0.5.0
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/context.d.ts +41 -0
- package/dist/decorators.d.ts +119 -5
- package/dist/forms.d.ts +122 -0
- package/dist/forward_ref.d.ts +16 -0
- package/dist/http_client.d.ts +53 -0
- package/dist/http_context.d.ts +16 -0
- package/dist/http_headers.d.ts +19 -0
- package/dist/http_params.d.ts +23 -0
- package/dist/index.d.ts +43 -5
- package/dist/index.js +2650 -15
- package/dist/inject.d.ts +81 -0
- package/dist/input_transform.d.ts +18 -0
- package/dist/interceptor.d.ts +33 -0
- package/dist/location.d.ts +15 -0
- package/dist/pipe.d.ts +45 -0
- package/dist/platform.d.ts +33 -0
- package/dist/provider.d.ts +32 -2
- package/dist/resource.d.ts +40 -0
- package/dist/route_match.d.ts +14 -0
- package/dist/route_pipeline.d.ts +74 -0
- package/dist/route_provider.d.ts +39 -0
- package/dist/signal.d.ts +48 -0
- package/dist/testing.d.ts +43 -0
- package/dist/title_strategy.d.ts +18 -0
- package/dist/token.d.ts +3 -0
- package/dist/transfer_state.d.ts +52 -0
- package/dist/url_tree.d.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Angular-inspired UrlTree and UrlSerializer for structured URL manipulation.
|
|
3
|
+
* Modeled after Angular's @angular/router UrlTree and DefaultUrlSerializer API.
|
|
4
|
+
*/
|
|
5
|
+
export interface UrlSegment {
|
|
6
|
+
path: string;
|
|
7
|
+
parameters: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
export declare class UrlSegmentGroup {
|
|
10
|
+
segments: UrlSegment[];
|
|
11
|
+
children: Record<string, UrlSegmentGroup>;
|
|
12
|
+
parent: UrlSegmentGroup | null;
|
|
13
|
+
constructor(segments: UrlSegment[], children?: Record<string, UrlSegmentGroup>);
|
|
14
|
+
hasChildren(): boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare class UrlTree {
|
|
17
|
+
root: UrlSegmentGroup;
|
|
18
|
+
queryParams: Record<string, string>;
|
|
19
|
+
fragment: string | null;
|
|
20
|
+
constructor(root: UrlSegmentGroup, queryParams?: Record<string, string>, fragment?: string | null);
|
|
21
|
+
get queryParamMap(): Map<string, string>;
|
|
22
|
+
toString(): string;
|
|
23
|
+
}
|
|
24
|
+
export declare abstract class UrlSerializer {
|
|
25
|
+
abstract parse(url: string): UrlTree;
|
|
26
|
+
abstract serialize(tree: UrlTree): string;
|
|
27
|
+
}
|
|
28
|
+
export declare class DefaultUrlSerializer implements UrlSerializer {
|
|
29
|
+
parse(url: string): UrlTree;
|
|
30
|
+
serialize(tree: UrlTree): string;
|
|
31
|
+
}
|
package/package.json
CHANGED