@algoux/standard-ranklist-renderer-component-core 0.6.2 → 0.6.3

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 CHANGED
@@ -16,6 +16,7 @@ npm i -S @algoux/standard-ranklist-renderer-component-core
16
16
  - `srkSupportedVersions`
17
17
  - `StaticRanklist`
18
18
  - `UserClickPayload`
19
+ - `ProblemClickPayload`
19
20
  - `SolutionClickPayload`
20
21
 
21
22
  ## Usage
@@ -23,4 +24,4 @@ npm i -S @algoux/standard-ranklist-renderer-component-core
23
24
  ```ts
24
25
  import { caniuse } from '@algoux/standard-ranklist-renderer-component-core';
25
26
  import { convertToStaticRanklist } from '@algoux/standard-ranklist-utils';
26
- ```
27
+ ```
package/dist/types.d.ts CHANGED
@@ -20,6 +20,11 @@ export interface UserClickPayload {
20
20
  rowIndex: number;
21
21
  ranklist: StaticRanklist;
22
22
  }
23
+ export interface ProblemClickPayload {
24
+ problem: srk.Problem;
25
+ problemIndex: number;
26
+ ranklist: StaticRanklist;
27
+ }
23
28
  export interface SolutionClickPayload {
24
29
  user: srk.User;
25
30
  row: StaticRanklistRow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algoux/standard-ranklist-renderer-component-core",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Core helpers and shared types for Standard Ranklist Renderer Component",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/algoux/standard-ranklist-renderer-component",