@xyo-network/react-typedoc 2.40.19 → 2.40.20
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/README.md +1 -1
- package/dist/cjs/ReflectionLookup.d.ts +1 -1
- package/dist/cjs/ReflectionLookup.d.ts.map +1 -1
- package/dist/cjs/ReflectionViewer/ReflectionViewerProps.d.ts +1 -1
- package/dist/cjs/ReflectionViewer/ReflectionViewerProps.d.ts.map +1 -1
- package/dist/cjs/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts +1 -1
- package/dist/cjs/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts.map +1 -1
- package/dist/cjs/SomeReflection.d.ts +3 -3
- package/dist/cjs/SomeReflection.d.ts.map +1 -1
- package/dist/cjs/resolveChildren.d.ts +1 -1
- package/dist/cjs/resolveChildren.d.ts.map +1 -1
- package/dist/docs.json +169 -169
- package/dist/esm/ReflectionLookup.d.ts +1 -1
- package/dist/esm/ReflectionLookup.d.ts.map +1 -1
- package/dist/esm/ReflectionViewer/ReflectionViewerProps.d.ts +1 -1
- package/dist/esm/ReflectionViewer/ReflectionViewerProps.d.ts.map +1 -1
- package/dist/esm/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts +1 -1
- package/dist/esm/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts.map +1 -1
- package/dist/esm/SomeReflection.d.ts +3 -3
- package/dist/esm/SomeReflection.d.ts.map +1 -1
- package/dist/esm/resolveChildren.d.ts +1 -1
- package/dist/esm/resolveChildren.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DeclarationReflection } from 'typedoc';
|
|
2
|
-
export
|
|
2
|
+
export type ReflectionLookup<T extends DeclarationReflection = DeclarationReflection> = Record<string, T>;
|
|
3
3
|
//# sourceMappingURL=ReflectionLookup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReflectionLookup.d.ts","sourceRoot":"","sources":["../../src/ReflectionLookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAE/C,
|
|
1
|
+
{"version":3,"file":"ReflectionLookup.d.ts","sourceRoot":"","sources":["../../src/ReflectionLookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAE/C,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
|
3
3
|
import { ReactElement } from 'react';
|
|
4
4
|
import { Reflection } from 'typedoc';
|
|
5
5
|
import { ReflectionLookup } from '../ReflectionLookup';
|
|
6
|
-
export
|
|
6
|
+
export type FlagFilter = 'isPublic' | 'isPrivate' | 'isProtected';
|
|
7
7
|
export interface ReflectionViewerProps<T extends Reflection = Reflection> extends FlexBoxProps {
|
|
8
8
|
reflection: T;
|
|
9
9
|
nameViewer?: ReactElement | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReflectionViewerProps.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionViewerProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,
|
|
1
|
+
{"version":3,"file":"ReflectionViewerProps.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionViewerProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,CAAA;AAEjE,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,CAAE,SAAQ,YAAY;IAC5F,UAAU,EAAE,CAAC,CAAA;IACb,UAAU,CAAC,EAAE,YAAY,GAAG,IAAI,CAAA;IAChC,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { SomeType, Type } from 'typedoc';
|
|
3
3
|
import { ReflectionViewerProps } from '../ReflectionViewerProps';
|
|
4
|
-
export
|
|
4
|
+
export type TypeBuilder = (type: SomeType | Type, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder?: TypeBuilder) => ReactNode;
|
|
5
5
|
//# sourceMappingURL=TypeBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeBuilder.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/TypeBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,
|
|
1
|
+
{"version":3,"file":"TypeBuilder.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/TypeBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,EAAE,WAAW,CAAC,EAAE,WAAW,KAAK,SAAS,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ParameterReflection, Reflection, SomeType } from 'typedoc';
|
|
2
|
-
export
|
|
2
|
+
export type WithSomeType<T> = T & {
|
|
3
3
|
type?: SomeType;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type WithSomeParameters<T> = T & {
|
|
6
6
|
parameters?: ParameterReflection[];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type SomeReflection = WithSomeParameters<WithSomeType<Reflection>>;
|
|
9
9
|
//# sourceMappingURL=SomeReflection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SomeReflection.d.ts","sourceRoot":"","sources":["../../src/SomeReflection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEnE,
|
|
1
|
+
{"version":3,"file":"SomeReflection.d.ts","sourceRoot":"","sources":["../../src/SomeReflection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEnE,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAA;AAErD,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAAE,CAAA;AAE9E,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Reflection } from 'typedoc';
|
|
2
2
|
import { ReflectionLookup } from './ReflectionLookup';
|
|
3
3
|
import { SomeReflection } from './SomeReflection';
|
|
4
|
-
|
|
4
|
+
type ReflectionWithChildren = {
|
|
5
5
|
children: Reflection[];
|
|
6
6
|
};
|
|
7
7
|
export declare const resolveChildren: <T extends SomeReflection>(reflection: ReflectionWithChildren, lookup?: ReflectionLookup) => T[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveChildren.d.ts","sourceRoot":"","sources":["../../src/resolveChildren.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,
|
|
1
|
+
{"version":3,"file":"resolveChildren.d.ts","sourceRoot":"","sources":["../../src/resolveChildren.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,KAAK,sBAAsB,GAAG;IAAE,QAAQ,EAAE,UAAU,EAAE,CAAA;CAAE,CAAA;AAExD,eAAO,MAAM,eAAe,yCAA0C,sBAAsB,WAAU,gBAAgB,QAgBrH,CAAA"}
|