Skip to content

Commit

Permalink
output - dist/docs update output
Browse files Browse the repository at this point in the history
  • Loading branch information
brianvoe committed Jan 8, 2025
1 parent 9995738 commit 63eda3a
Show file tree
Hide file tree
Showing 6 changed files with 423 additions and 603 deletions.
56 changes: 21 additions & 35 deletions dist/gimmehttp.cjs.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions dist/gimmehttp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ export declare class Builder {
private indentChar;
private lineJoin;
private currentDepth;
private jsonConfig;
constructor(options?: BuilderOptions);
getIndent(): string;
getJoin(): string;
line(line?: string): void;
append(line: string): void;
json(json: any, isSub?: boolean): void;
indent(): void;
outdent(): void;
output(): string;
Expand All @@ -16,6 +18,7 @@ export declare class Builder {
declare interface BuilderOptions {
indent?: string;
join?: string;
json?: JSON_2;
}

export declare function ClearRegistry(): void;
Expand Down Expand Up @@ -53,6 +56,15 @@ export declare function IsJsonRequest(method: string, headers?: {
[key: string]: string;
}): boolean;

declare interface JSON_2 {
objOpen: string;
objClose: string;
arrOpen: string;
arrClose: string;
separator: string;
endComma?: boolean;
}

export declare function Languages(): string[];

export declare type Method = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
Expand Down
Loading

0 comments on commit 63eda3a

Please sign in to comment.