New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@edifice.io/client

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edifice.io/client - npm Package Compare versions

Comparing version

to
2.0.5-develop.20250127164045

dist/resources/services/HomeworksResourceService.d.ts

2

dist/apps/timeline/interfaces.d.ts

@@ -56,3 +56,3 @@ export declare abstract class ITimelineFactory {

readonly title?: string;
readonly contents?: Object;
readonly contents?: object;
readonly startDate?: string;

@@ -59,0 +59,0 @@ readonly endDate?: string;

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

import { IOdeServices } from '../services/OdeServices';
import { IHttpParams, IHttpResponse } from '../transport/interfaces';
import { IOdeServices } from '../services/OdeServices';
export declare class CacheService {

@@ -4,0 +4,0 @@ private context;

@@ -45,3 +45,2 @@ import { App, USER_PREFS } from '../globals';

};
readonly School: {};
readonly User: {

@@ -134,3 +133,3 @@ /** User's preferences.*/

/** Get the help path, which can be dedicated to 1D or 2D. */
getHelpPath(): Promise<String>;
getHelpPath(): Promise<string>;
}

@@ -137,0 +136,0 @@ export interface IThemeDesc {

@@ -33,3 +33,3 @@ import { ITheme, IThemeConf, IThemeDesc, IThemeOverrides, IThemeConfOverriding } from './interfaces';

listSkins(): Promise<IThemeConfOverriding[]>;
getHelpPath(): Promise<String>;
getHelpPath(): Promise<string>;
}

@@ -28,2 +28,3 @@ export declare const ERROR_CODE: {

readonly EXPLORER: "explorer";
readonly HOMEWORKS: "homeworks";
readonly VIDEO: "video";

@@ -34,2 +35,3 @@ readonly MINDMAP: "mindmap";

readonly WIKI: "wiki";
readonly TIMELINEGENERATOR: "timelinegenerator";
};

@@ -36,0 +38,0 @@ export type App = (typeof APP)[keyof typeof APP] | string;

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

import { App } from '../globals';
import { IOdeServices } from '../services/OdeServices';
import { AddBundleCallback, IIdiom } from './interfaces';
import { IOdeServices } from '../services/OdeServices';
import { App } from '../globals';
export declare const defaultDiacriticsRemovalMap: {

@@ -5,0 +5,0 @@ base: string;

@@ -387,2 +387,8 @@ import { App, ID, ILinkedResource, ResourceType, RightRole, RightStringified } from '..';

}
export interface HomeworksCreate extends CreateParameters {
repeats?: any[];
}
export interface HomeworksUpdate extends UpdateParameters {
repeats?: any[];
}
export interface ScrapbookUpdate extends UpdateParameters {

@@ -392,1 +398,3 @@ }

}
export interface TimelineGeneratorUpdate extends UpdateParameters {
}

@@ -56,5 +56,5 @@ import { App } from '../globals';

*/
checkEmail(email: String): Promise<void>;
checkEmail(email: string): Promise<void>;
/** Send a 6-digits code to the server to try validating the pending email address. */
tryEmailValidation(code: String): Promise<IEmailValidationState>;
tryEmailValidation(code: string): Promise<IEmailValidationState>;
/** Verify if the logged-in user has a valid phone number. */

@@ -66,9 +66,9 @@ getMobileValidationInfos(): Promise<IMobileValidationInfos>;

*/
checkMobile(mobile: String): Promise<void>;
checkMobile(mobile: string): Promise<void>;
/** Send a 6-digits code to the server to try validating the pending phone number. */
tryMobileValidation(code: String): Promise<IMobileValidationState>;
tryMobileValidation(code: string): Promise<IMobileValidationState>;
/** Start an MFA for the logged-in user, unless already pending or done. */
getMfaInfos(): Promise<IMfaInfos>;
/** Send a 6-digits code to the server to validate a pending MFA. */
tryMfaCode(code: String): Promise<IMfaCodeState>;
tryMfaCode(code: string): Promise<IMfaCodeState>;
}

@@ -75,0 +75,0 @@ export type Hobby = {

@@ -27,9 +27,9 @@ import { IEmailValidationInfos, IEmailValidationState, IMfaCodeState, IMfaInfos, IMobileValidationInfos, IMobileValidationState, IQuotaAndUsage, ISession, IUserDescription, IUserInfo, UserProfile } from './interfaces';

getEmailValidationInfos(): Promise<IEmailValidationInfos>;
checkEmail(email: String): Promise<void>;
tryEmailValidation(code: String): Promise<IEmailValidationState>;
checkEmail(email: string): Promise<void>;
tryEmailValidation(code: string): Promise<IEmailValidationState>;
getMobileValidationInfos(): Promise<IMobileValidationInfos>;
checkMobile(mobile: String): Promise<void>;
tryMobileValidation(code: String): Promise<IMobileValidationState>;
checkMobile(mobile: string): Promise<void>;
tryMobileValidation(code: string): Promise<IMobileValidationState>;
getMfaInfos(): Promise<IMfaInfos>;
tryMfaCode(code: String): Promise<IMfaCodeState>;
tryMfaCode(code: string): Promise<IMfaCodeState>;
}
{
"name": "@edifice.io/client",
"version": "2.0.4",
"version": "2.0.5-develop.20250127164045",
"description": "Edifice TypeScript Client",
"keywords": [
"typescript",
"client",
"edifice",
"frontend"
],
"homepage": "https://github.com/edificeio/edifice-frontend-framework/tree/main/packages/client#readme",

@@ -33,3 +39,3 @@ "bugs": {

"core-js": "^3.35.1",
"@edifice.io/utilities": "2.0.4"
"@edifice.io/utilities": "2.0.5-develop.20250127164045"
},

@@ -45,3 +51,4 @@ "devDependencies": {

"vite": "^5.4.11",
"vite-plugin-dts": "^4.1.0"
"vite-plugin-dts": "^4.1.0",
"@edifice.io/config": "2.0.5-develop.20250127164045"
},

@@ -51,6 +58,9 @@ "scripts": {

"docs": "npx rimraf ./docs/ && npx typedoc src/ts/index.ts --excludePrivate --disableSources --plugin typedoc-plugin-markdown",
"fix": "eslint --fix --report-unused-disable-directives --max-warnings 0",
"format": "pnpm run format:write && pnpm run format:check",
"format:check": "npx prettier --check \"src/ts/**/*.ts\"",
"format:write": "npx prettier --write \"src/ts/**/*.ts\""
"format:write": "npx prettier --write \"src/ts/**/*.ts\"",
"lint": "eslint",
"test": "vitest"
}
}

Sorry, the diff of this file is not supported yet

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