@player-tools/devtools-profiler-web-plugin 0.7.1-next.0 → 0.7.1-next.1

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@player-tools/devtools-profiler-web-plugin",
3
- "version": "0.7.1-next.0",
3
+ "version": "0.7.1-next.1",
4
4
  "main": "dist/cjs/index.cjs",
5
5
  "dependencies": {
6
- "@player-tools/devtools-types": "0.7.1-next.0",
7
- "@player-tools/devtools-desktop-plugins-common": "0.7.1-next.0",
8
- "@player-tools/dsl": "0.7.1-next.0",
9
- "@player-tools/cli": "0.7.1-next.0",
6
+ "@player-tools/devtools-types": "0.7.1-next.1",
7
+ "@player-tools/devtools-desktop-plugins-common": "0.7.1-next.1",
8
+ "@player-tools/dsl": "0.7.1-next.1",
9
+ "@player-tools/cli": "0.7.1-next.1",
10
10
  "@player-ui/common-types-plugin": "0.7.3",
11
11
  "@player-ui/react": "0.7.3",
12
12
  "@devtools-ui/plugin": "0.3.0",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  id: string;
4
3
  views: import("react").JSX.Element[];
@@ -13,10 +12,7 @@ declare const _default: {
13
12
  rootNode: import("@player-ui/types").Schema.DataType<Record<string, unknown>>;
14
13
  profiling: import("@player-ui/types").Schema.DataType<boolean>;
15
14
  displayFlameGraph: import("@player-ui/types").Schema.DataType<boolean>;
16
- durations: [import("@player-tools/dsl").DSLSchema<Omit<import("@player-ui/types").Schema.DataType<unknown>, "type" | "validation"> & {
17
- type: string | number;
18
- validation?: import("@player-ui/types").Validation.Reference[] | undefined;
19
- }>];
15
+ durations: [import("@player-tools/dsl").DSLSchema];
20
16
  };
21
17
  data: {
22
18
  rootNode: {
@@ -5,19 +5,13 @@ export declare const schema: {
5
5
  rootNode: Schema.DataType<Record<string, unknown>>;
6
6
  profiling: Schema.DataType<boolean>;
7
7
  displayFlameGraph: Schema.DataType<boolean>;
8
- durations: [DSLSchema<Omit<Schema.DataType<unknown>, "type" | "validation"> & {
9
- type: string | number;
10
- validation?: import("@player-ui/types").Validation.Reference[] | undefined;
11
- }>];
8
+ durations: [DSLSchema];
12
9
  };
13
10
  export declare const bindings: import("@player-tools/dsl").MakeBindingRefable<{
14
11
  playerConfig: Schema.DataType<Record<string, unknown>>;
15
12
  rootNode: Schema.DataType<Record<string, unknown>>;
16
13
  profiling: Schema.DataType<boolean>;
17
14
  displayFlameGraph: Schema.DataType<boolean>;
18
- durations: [DSLSchema<Omit<Schema.DataType<unknown>, "type" | "validation"> & {
19
- type: string | number;
20
- validation?: import("@player-ui/types").Validation.Reference[] | undefined;
21
- }>];
15
+ durations: [DSLSchema];
22
16
  }>;
23
17
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export declare const views: import("react").JSX.Element[];
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -4,8 +4,8 @@ export declare const profiler: () => {
4
4
  startTimer: (hookName: string) => void;
5
5
  endTimer: ({ hookName, parentNode, children, }: {
6
6
  hookName: string;
7
- parentNode?: ProfilerNode | undefined;
8
- children?: ProfilerNode[] | undefined;
7
+ parentNode?: ProfilerNode;
8
+ children?: ProfilerNode[];
9
9
  }) => ProfilerNode;
10
10
  stopProfiler: () => {
11
11
  rootNode: ProfilerNode;
package/types/types.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ProfilerNode = {
3
2
  /** hook name */
4
3
  name: string;