Socket
Socket
Sign inDemoInstall

@cpany/types

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cpany/types - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

12

dist/index.d.ts
import type { IAuthor, IHandle } from './handle';
import type { IContest } from './contest';
import type { ISubmission } from './submission';
export * from './enum';

@@ -39,6 +38,11 @@ export * from './handle';

handles: Array<Omit<RouteKey<IHandle>, 'submissions'>>;
contests: Array<IContestOverview & {
author: IAuthor;
contests: Array<{
type: string;
t: number;
}>;
submissions: Array<ISubmission>;
submissions: Array<{
type: string;
t: number;
v: number;
}>;
}
{
"name": "@cpany/types",
"version": "0.0.13",
"version": "0.0.14",
"description": "CPany types package",

@@ -5,0 +5,0 @@ "repository": {

import type { IAuthor, IHandle } from './handle';
import type { IContest } from './contest';
import type { ISubmission } from './submission';

@@ -50,4 +49,8 @@ export * from './enum';

handles: Array<Omit<RouteKey<IHandle>, 'submissions'>>;
contests: Array<IContestOverview & { author: IAuthor }>;
submissions: Array<ISubmission>;
// t: short for participantTime
contests: Array<{ type: string; t: number }>;
// t: short for creationTime
// v: short for Verdict, v = 0 => wrong, v = 1 => ok, v = -1 => duplicate ok
submissions: Array<{ type: string; t: number; v: number }>;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc