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

clockodo

Package Overview
Dependencies
Maintainers
9
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clockodo - npm Package Compare versions

Comparing version

to
23.2.0

4

dist/models/user.d.ts

@@ -75,2 +75,6 @@ /** Special id that is used when no worktime regulation should be applied */

boss: number | null;
/**
* The ids of the co-workers that are allowed to manage the absences of this co-worker
*/
absenceManagersId: Array<number> | null;
};

@@ -77,0 +81,0 @@ export declare enum UserRole {

3

dist/models/user.mocks.d.ts
import { User, WorkTimeEditLock } from "./user.js";
export declare const createUserMocks: ({ count, workTimeEditLockDays, boss, }: {
export declare const createUserMocks: ({ count, workTimeEditLockDays, boss, absenceManagersId, }: {
count?: number | undefined;
workTimeEditLockDays?: WorkTimeEditLock | undefined;
boss?: number | undefined;
absenceManagersId?: number[] | undefined;
}) => User[];
import { faker } from "@faker-js/faker";
import { UserRole, UserLanguage } from "./user.js";
export const createUserMocks = ({ count = 1, workTimeEditLockDays = 0, boss, }) => Array.from({ length: count }, (_, index) => {
export const createUserMocks = ({ count = 1, workTimeEditLockDays = 0, boss, absenceManagersId, }) => Array.from({ length: count }, (_, index) => {
const userId = index;

@@ -29,4 +29,5 @@ return {

boss: boss !== null && boss !== void 0 ? boss : null,
absenceManagersId: absenceManagersId !== null && absenceManagersId !== void 0 ? absenceManagersId : null,
};
});
//# sourceMappingURL=user.mocks.js.map
{
"name": "clockodo",
"version": "23.1.0",
"version": "23.2.0",
"description": "Unofficial JavaScript/TypeScript SDK for Clockodo",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet