Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coiisy-react

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coiisy-react - npm Package Compare versions

Comparing version 0.0.10 to 0.0.12

dist/types/app/Board/Board.page.d.ts

6

dist/types/components/form/Button/Button.component.d.ts
import React from "react";
import { IconSize } from "components/Icon/Icon.component";
export type ButtonSize = "small" | "medium" | "large";

@@ -8,12 +7,9 @@ export type ButtonVariant = "primary" | "secondary" | "tertiary" | "tertiary-link" | "custom" | "dark" | "light";

size?: ButtonSize;
state?: ButtonVariant;
variant?: ButtonVariant;
typeOf?: ButtonTypeOf;
hasDarkBg?: boolean;
isFullWidth?: boolean;
iconType?: string;
iconSize?: IconSize;
isLoading?: boolean;
isDisabled?: boolean;
isCompact?: boolean;
classNames?: string;
className?: string;

@@ -20,0 +16,0 @@ }

import { IsignUp, IcreateProfile } from "./types";
import { LoginFormInterface } from "src/components/AuthCheck/hooks/useLoginMethods.types";
import { AxiosResponse } from "axios";
import { FetchResponse } from "../axios";
declare class AuthService {

@@ -9,6 +9,6 @@ version: string;

constructor(baseUrl: string, version?: string);
postSignUp(body: IsignUp): Promise<AxiosResponse<IsignUp, any>>;
postLogin(body: LoginFormInterface): Promise<AxiosResponse<LoginFormInterface, any>>;
postSetPassword(body: IcreateProfile): Promise<AxiosResponse<IcreateProfile, any>>;
postSignUp(body: IsignUp): Promise<FetchResponse>;
postLogin(body: LoginFormInterface): Promise<FetchResponse>;
postSetPassword(body: IcreateProfile): Promise<FetchResponse>;
}
export { AuthService };

@@ -1,3 +0,17 @@

import { AxiosResponse } from "axios";
interface AxiosResponseWithPagination extends AxiosResponse {
export declare const baseURL = "http://localhost:4000/api";
export declare const fetchConfig: {
get: (url: any, options?: {}) => Promise<FetchResponse<unknown>>;
post: (url: any, body: any, options?: {}) => Promise<FetchResponse<unknown>>;
put: (url: any, body: any, options?: {}) => Promise<FetchResponse<unknown>>;
delete: (url: any, options?: {}) => Promise<FetchResponse<unknown>>;
patch: (url: any, body: any, options?: {}) => Promise<FetchResponse<unknown>>;
};
export declare const fetchSecureConfig: {
get: (url: any, options?: {}) => Promise<FetchResponse<unknown>>;
post: (url: any, body: any, options?: {}) => Promise<FetchResponse<unknown>>;
put: (url: any, body: any, options?: {}) => Promise<FetchResponse<unknown>>;
delete: (url: any, options?: {}) => Promise<FetchResponse<unknown>>;
patch: (url: any, body: any, options?: {}) => Promise<FetchResponse<unknown>>;
};
export type FetchResponseWithPagination = {
page: number;

@@ -7,7 +21,12 @@ limit: number;

totalResults: number;
}
export declare const baseURL = "http://localhost:4000/api";
export declare const axiosConfig: import("axios").AxiosInstance;
export declare const axiosSecureConfig: import("axios").AxiosInstance;
export type { AxiosResponseWithPagination };
export type { AxiosResponse };
data: any;
status: number;
statusText: string;
headers: Headers;
};
export type FetchResponse<T = any> = {
data?: T;
status?: number;
statusText?: string;
headers?: Headers;
};
import { IdentifierType, VerifyOtpType } from "./types";
import { AxiosResponse } from "axios";
import { FetchResponse } from "src/services/axios";
declare class IdentifierService {

@@ -8,5 +8,5 @@ version: string;

constructor(baseUrl: string, version?: string);
postSendOtp(body: IdentifierType): Promise<AxiosResponse<IdentifierType, any>>;
postVerifyOtp(body: VerifyOtpType): Promise<AxiosResponse<VerifyOtpType, any>>;
postSendOtp(body: IdentifierType): Promise<FetchResponse>;
postVerifyOtp(body: VerifyOtpType): Promise<FetchResponse>;
}
export { IdentifierService };

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

import { IputJobApplication, IapplyJob, IgetUsers } from "./types";
import { AxiosResponse } from "axios";
import { IputJobApplication, IapplyJob } from "./types";
import { FetchResponse } from "src/services/axios";
declare class OrgService {

@@ -8,8 +8,8 @@ version: string;

constructor(baseUrl: string, version?: string);
getRecord(body: any): Promise<AxiosResponse<IgetUsers, any>>;
getList(params?: any): Promise<AxiosResponse<any, any>>;
patchRecord(body: IputJobApplication): Promise<AxiosResponse<IapplyJob, any>>;
deleteRecord(body: any): Promise<AxiosResponse<IapplyJob, any>>;
postRecord(body: IapplyJob): Promise<AxiosResponse<IapplyJob, any>>;
getRecord(body: any): Promise<FetchResponse>;
getList(params?: any): Promise<FetchResponse>;
patchRecord(body: IputJobApplication): Promise<FetchResponse>;
deleteRecord(body: any): Promise<FetchResponse>;
postRecord(body: IapplyJob): Promise<FetchResponse>;
}
export { OrgService };

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

import { Ilogin, IgetUsers, IcreateProfile } from "./types";
import { AxiosResponse } from "axios";
import { Ilogin, IcreateProfile } from "./types";
import { FetchResponse } from "src/services/axios";
declare class UsersService {

@@ -8,7 +8,7 @@ version: string;

constructor(baseUrl: string, version?: string);
getList(): Promise<AxiosResponse<IgetUsers, any>>;
postLogin(body: Ilogin): Promise<AxiosResponse<Ilogin, any>>;
getUserMappedOrgList(body?: Ilogin): Promise<AxiosResponse<any, any>>;
postSetPassword(body: IcreateProfile): Promise<AxiosResponse<IcreateProfile, any>>;
getList(): Promise<FetchResponse>;
postLogin(body: Ilogin): Promise<FetchResponse>;
getUserMappedOrgList(body?: Ilogin): Promise<FetchResponse>;
postSetPassword(body: IcreateProfile): Promise<FetchResponse>;
}
export { UsersService };

@@ -8,3 +8,3 @@ {

"private": false,
"version": "0.0.10",
"version": "0.0.12",
"type": "module",

@@ -19,4 +19,4 @@ "files": [

"preview": "vite preview",
"build:prod": "rollup -c",
"prepublishOnly": "git add . && git commit --amend --no-edit && rm -rf dist && npm run build:prod",
"rollup": "rollup -c",
"prepublishOnly": "git add . && git commit --amend --no-edit && rm -rf dist && npm run rollup",
"nuke": "rm -rf node_modules && rm -rf dist && npm install"

@@ -26,3 +26,2 @@ },

"@heroicons/react": "^2.1.3",
"axios": "^1.7.2",
"classnames": "^2.3.1",

@@ -29,0 +28,0 @@ "dayjs": "^1.11.11",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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