@typespec/html-program-viewer 0.67.0-dev.3 → 0.67.0-dev.5
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/emitter/index.js +2 -10
- package/dist/{manifest-IEQ_iGDm.js → manifest-CrFWPTea.js} +1 -1
- package/dist/react/index.js +634 -598
- package/dist/react/type-config.d.ts +2 -2
- package/dist/react/type-config.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/emitter.d.ts +0 -20
- package/dist/emitter.d.ts.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
|
@@ -11,9 +11,9 @@ type TypeGraphConfig = {
|
|
|
11
11
|
export declare const CommonPropsConfig: {
|
|
12
12
|
namespace: string;
|
|
13
13
|
};
|
|
14
|
-
declare const HiddenProps: readonly ["entityKind", "kind", "name", "node", "symbol", "templateNode", "templateArguments", "templateMapper", "instantiationParameters", "decorators", "
|
|
14
|
+
declare const HiddenProps: readonly ["entityKind", "kind", "name", "node", "symbol", "templateNode", "templateArguments", "templateMapper", "instantiationParameters", "decorators", "projector", "isFinished"];
|
|
15
15
|
type HiddenPropsType = (typeof HiddenProps)[number];
|
|
16
|
-
export declare const HiddenPropsSet: Set<"symbol" | "kind" | "entityKind" | "name" | "node" | "templateNode" | "templateArguments" | "templateMapper" | "instantiationParameters" | "decorators" | "
|
|
16
|
+
export declare const HiddenPropsSet: Set<"symbol" | "kind" | "entityKind" | "name" | "node" | "templateNode" | "templateArguments" | "templateMapper" | "instantiationParameters" | "decorators" | "projector" | "isFinished">;
|
|
17
17
|
export declare function getPropertyRendering<T extends Type, K extends keyof T>(type: T, key: K): EntityPropertyConfig;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=type-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-config.d.ts","sourceRoot":"","sources":["../../src/react/type-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAElF,eAAO,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"type-config.d.ts","sourceRoot":"","sources":["../../src/react/type-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAElF,eAAO,MAAM,UAAU,EAAE,eAgGxB,CAAC;AAEF,KAAK,aAAa,CAAC,CAAC,SAAS,IAAI,IAAI,OAAO,CAC1C,MAAM,CAAC,EACP,eAAe,GAAG,MAAM,OAAO,iBAAiB,CACjD,CAAC;AACF,KAAK,UAAU,CAAC,CAAC,SAAS,IAAI,IAAI,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,oBAAoB,CAAC,GAAG,IAAI,CAAC;AACxF,KAAK,eAAe,GAAG;KACpB,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,iBAAiB;;CAE7B,CAAC;AAEF,QAAA,MAAM,WAAW,sLAaP,CAAC;AACX,KAAK,eAAe,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,eAAO,MAAM,cAAc,2LAAuB,CAAC;AAEnD,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,IAAI,EAAE,CAAC,SAAS,MAAM,CAAC,EACpE,IAAI,EAAE,CAAC,EACP,GAAG,EAAE,CAAC,GACL,oBAAoB,CAItB"}
|
package/package.json
CHANGED
package/dist/emitter.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EmitContext, JSONSchemaType, Program } from '@typespec/compiler';
|
|
2
|
-
export interface HtmlProgramViewerOptions {
|
|
3
|
-
/**
|
|
4
|
-
* Override compiler output-dir
|
|
5
|
-
*/
|
|
6
|
-
"output-dir"?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function renderProgram(program: Program): string;
|
|
9
|
-
export declare const libDef: {
|
|
10
|
-
readonly name: "@typespec/html-program-viewer";
|
|
11
|
-
readonly diagnostics: {};
|
|
12
|
-
readonly emitter: {
|
|
13
|
-
readonly options: JSONSchemaType<HtmlProgramViewerOptions>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const $lib: import('@typespec/compiler').TypeSpecLibrary<{
|
|
17
|
-
[code: string]: import('@typespec/compiler').DiagnosticMessages;
|
|
18
|
-
}, HtmlProgramViewerOptions, never>;
|
|
19
|
-
export declare function $onEmit(context: EmitContext<HtmlProgramViewerOptions>): Promise<void>;
|
|
20
|
-
//# sourceMappingURL=emitter.d.ts.map
|
package/dist/emitter.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../src/emitter.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,OAAO,EACb,MAAM,oBAAoB,CAAC;AAO5B,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAWD,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,UAQ7C;AAED,eAAO,MAAM,MAAM;;;;0BAIkB,cAAc,CAAC,wBAAwB,CAAC;;CAEnE,CAAC;AAEX,eAAO,MAAM,IAAI;;mCAAgC,CAAC;AAElD,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,wBAAwB,CAAC,iBAgB3E"}
|
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|