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.1.10 to 0.1.11

37

dist/index.d.ts

@@ -212,2 +212,37 @@ declare enum Verdict {

}
interface UserDiffLog {
name: string;
newSubmissions: Array<{
platform: string;
id: number;
verdict: Verdict;
creationTime: number;
pid: number | string;
name: string;
}>;
newContests: Array<{
platform: string;
name: string;
participantTime: number;
}>;
}
interface DiffLog {
user?: UserDiffLog[];
contest?: Array<{
platform: string;
name: string;
startTime: number;
duration: number;
participant: string[];
}>;
}
interface FetchLog {
/**
* CLI version running fetch
*/
version: string;
updateTime: number;
ref?: string;
history?: DiffLog;
}
declare type Key<T> = T & {

@@ -244,2 +279,2 @@ key: string;

export { AppOption, CPanyOption, CompressHandleList, IAuthor, ICPanyPluginConfig, IContest, IContestOverview, IContestProblem, IContestStanding, IContestSubmission, IHandle, IProblem, IRouteUser, ISubmission, IUser, IUserOverview, Key, LogLevel, ParticipantType, ResolvedCPanyOption, ResolvedCPanyUserOption, RouteKey, Verdict, isAtCoder, isCodeforces, isHdu, isLuogu, isNowCoder, isPintia };
export { AppOption, CPanyOption, CompressHandleList, DiffLog, FetchLog, IAuthor, ICPanyPluginConfig, IContest, IContestOverview, IContestProblem, IContestStanding, IContestSubmission, IHandle, IProblem, IRouteUser, ISubmission, IUser, IUserOverview, Key, LogLevel, ParticipantType, ResolvedCPanyOption, ResolvedCPanyUserOption, RouteKey, UserDiffLog, Verdict, isAtCoder, isCodeforces, isHdu, isLuogu, isNowCoder, isPintia };

2

package.json
{
"name": "@cpany/types",
"version": "0.1.10",
"version": "0.1.11",
"description": "CPany types package",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,3 +0,4 @@

import { IHandle, IAuthor } from './handle';
import { IContest } from './contest';
import type { IHandle, IAuthor } from './handle';
import type { IContest } from './contest';
import type { Verdict } from './enum';

@@ -111,2 +112,46 @@ export interface IUser {

export interface UserDiffLog {
name: string;
newSubmissions: Array<{
platform: string;
id: number;
verdict: Verdict;
creationTime: number;
pid: number | string;
name: string;
}>;
newContests: Array<{
platform: string;
name: string;
participantTime: number;
}>;
}
export interface DiffLog {
user?: UserDiffLog[];
contest?: Array<{
platform: string;
name: string;
startTime: number;
duration: number;
participant: string[];
}>;
}
export interface FetchLog {
/**
* CLI version running fetch
*/
version: string;
updateTime: number;
ref?: string;
history?: DiffLog;
}
export type Key<T> = T & { key: string };

@@ -113,0 +158,0 @@

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