);
diff --git a/src/app/setup-new-configuration/layout.tsx b/src/app/setup-new-configuration/layout.tsx
index 48fd414..1483b91 100644
--- a/src/app/setup-new-configuration/layout.tsx
+++ b/src/app/setup-new-configuration/layout.tsx
@@ -1,13 +1,17 @@
'use client';
import * as React from 'react';
+import SideNavbar from '@/components/navbar/SideNavbar';
import TopNavbar from '@/components/navbar/TopNavbar';
export default function Layout({ children }: { children: React.ReactNode }) {
return (
-
-
- {children}
+
);
}
diff --git a/src/app/setup-new-configuration/page.tsx b/src/app/setup-new-configuration/page.tsx
index 21d35bc..47cb9c3 100644
--- a/src/app/setup-new-configuration/page.tsx
+++ b/src/app/setup-new-configuration/page.tsx
@@ -28,8 +28,8 @@ export type SurveyDataType = {
onboardingTime: string;
};
-const SetupNewSurvey = ({ visible }: { visible: boolean }) => {
- const [isOpen, setIsOpen] = useState(visible);
+const SetupNewSurvey = () => {
+ const [isOpen, setIsOpen] = useState(false);
const [isSuccessPopUpOpen, setIsSuccessPopUpOpen] = useState(false);
const [isNewForm, setIsNewForm] = useState(false);
diff --git a/src/app/wpcas/layout.tsx b/src/app/wpcas/layout.tsx
new file mode 100644
index 0000000..c506b34
--- /dev/null
+++ b/src/app/wpcas/layout.tsx
@@ -0,0 +1,13 @@
+'use client';
+import * as React from 'react';
+
+import SideNavbar from '@/components/navbar/SideNavbar';
+
+export default function Layout({ children }: { children: React.ReactNode }) {
+ return (
+
+ );
+}
diff --git a/src/app/wpcas/page.tsx b/src/app/wpcas/page.tsx
index 6334574..b8279ff 100644
--- a/src/app/wpcas/page.tsx
+++ b/src/app/wpcas/page.tsx
@@ -61,7 +61,7 @@ const Wpcas = () => {
}, []);
return (
-
+
{loading && (
diff --git a/src/components/forms/DatePicker.tsx b/src/components/forms/DatePicker.tsx
deleted file mode 100644
index 82d212c..0000000
--- a/src/components/forms/DatePicker.tsx
+++ /dev/null
@@ -1,98 +0,0 @@
-import clsx from 'clsx';
-import get from 'lodash.get';
-import ReactDatePicker, { ReactDatePickerProps } from 'react-datepicker';
-import { Controller, RegisterOptions, useFormContext } from 'react-hook-form';
-import { HiOutlineCalendar } from 'react-icons/hi';
-
-import 'react-datepicker/dist/react-datepicker.css';
-
-type DatePickerProps = {
- validation?: RegisterOptions;
- label: string;
- id: string;
- placeholder?: string;
- defaultYear?: number;
- defaultMonth?: number;
- defaultValue?: string;
- helperText?: string;
- readOnly?: boolean;
-} & Omit
;
-
-export default function DatePicker({
- validation,
- label,
- id,
- placeholder,
- defaultYear,
- defaultMonth,
- defaultValue,
- helperText,
- readOnly = false,
- ...rest
-}: DatePickerProps) {
- const {
- formState: { errors },
- control,
- } = useFormContext();
- const error = get(errors, id);
-
- // If there is a year default, then change the year to the props
- const defaultDate = new Date();
- if (defaultYear) defaultDate.setFullYear(defaultYear);
- if (defaultMonth) defaultDate.setMonth(defaultMonth);
-
- return (
-
-
- {label}
-
-
-
(
- <>
-
-
-
-
-
- {helperText !== '' && (
-
{helperText}
- )}
- {error && (
-
- {error.message?.toString()}
-
- )}
-
- >
- )}
- />
-
- );
-}
diff --git a/src/components/forms/DropzoneInput.tsx b/src/components/forms/DropzoneInput.tsx
deleted file mode 100644
index 1bde92d..0000000
--- a/src/components/forms/DropzoneInput.tsx
+++ /dev/null
@@ -1,224 +0,0 @@
-import clsx from 'clsx';
-import get from 'lodash.get';
-import * as React from 'react';
-import { Accept, FileRejection, useDropzone } from 'react-dropzone';
-import { Controller, useFormContext } from 'react-hook-form';
-
-import FilePreview from '@/components/forms/FilePreview';
-
-import { FileWithPreview } from '@/types/dropzone';
-
-type DropzoneInputProps = {
- accept?: Accept;
- helperText?: string;
- id: string;
- label: string;
- maxFiles?: number;
- readOnly?: boolean;
- validation?: Record;
-};
-
-export default function DropzoneInput({
- accept,
- helperText = '',
- id,
- label,
- maxFiles = 1,
- validation,
- readOnly,
-}: DropzoneInputProps) {
- const {
- control,
- getValues,
- setValue,
- setError,
- clearErrors,
- formState: { errors },
- } = useFormContext();
- const error = get(errors, id);
-
- //#region //*=========== Error Focus ===========
- const dropzoneRef = React.useRef(null);
-
- React.useEffect(() => {
- error && dropzoneRef.current?.focus();
- }, [error]);
- //#endregion //*======== Error Focus ===========
-
- const [files, setFiles] = React.useState(
- getValues(id) || []
- );
-
- const onDrop = React.useCallback(
- (acceptedFiles: T[], rejectedFiles: FileRejection[]) => {
- if (rejectedFiles && rejectedFiles.length > 0) {
- setValue(id, files ? [...files] : null);
- setError(id, {
- type: 'manual',
- message: rejectedFiles && rejectedFiles[0].errors[0].message,
- });
- } else {
- const acceptedFilesPreview = acceptedFiles.map((file: T) =>
- Object.assign(file, {
- preview: URL.createObjectURL(file),
- })
- );
-
- setFiles(
- files
- ? [...files, ...acceptedFilesPreview].slice(0, maxFiles)
- : acceptedFilesPreview
- );
-
- setValue(
- id,
- files
- ? [...files, ...acceptedFiles].slice(0, maxFiles)
- : acceptedFiles,
- {
- shouldValidate: true,
- }
- );
- clearErrors(id);
- }
- },
- [clearErrors, files, id, maxFiles, setError, setValue]
- );
-
- React.useEffect(() => {
- return () => {
- () => {
- files.forEach((file) => URL.revokeObjectURL(file.preview));
- };
- };
- }, [files]);
-
- const deleteFile = (
- e: React.MouseEvent,
- file: FileWithPreview
- ) => {
- e.preventDefault();
- const newFiles = [...files];
-
- newFiles.splice(newFiles.indexOf(file), 1);
-
- if (newFiles.length > 0) {
- setFiles(newFiles);
- setValue(id, newFiles, {
- shouldValidate: true,
- shouldDirty: true,
- shouldTouch: true,
- });
- } else {
- setFiles([]);
- setValue(id, null, {
- shouldValidate: true,
- shouldDirty: true,
- shouldTouch: true,
- });
- }
- };
-
- const { getRootProps, getInputProps } = useDropzone({
- onDrop,
- accept,
- maxFiles,
- maxSize: 1000000,
- });
-
- return (
-
-
- {label}
-
-
- {readOnly && !(files?.length > 0) ? (
-
- No file uploaded
-
- ) : files?.length >= maxFiles ? (
-
- {files.map((file, index) => (
-
- ))}
-
- ) : (
-
(
- <>
-
-
-
-
-
-
-
-
- Drag and drop file here, or click to choose file
-
-
{`${
- maxFiles - (files?.length || 0)
- } file(s) remaining`}
-
-
-
-
-
- {helperText !== '' && (
-
{helperText}
- )}
- {error && (
-
- {error.message?.toString()}
-
- )}
-
- {!readOnly && !!files?.length && (
-
- {files.map((file, index) => (
-
- ))}
-
- )}
- >
- )}
- />
- )}
-
- );
-}
diff --git a/src/components/forms/ErrorMessage.tsx b/src/components/forms/ErrorMessage.tsx
deleted file mode 100644
index 7b77d20..0000000
--- a/src/components/forms/ErrorMessage.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from 'react';
-import { get, useFormState } from 'react-hook-form';
-
-import clsxm from '@/lib/clsxm';
-
-type ErrorMessageProps = {
- id: string;
-} & React.ComponentPropsWithoutRef<'p'>;
-
-export default function ErrorMessage({
- id,
- className,
- ...rest
-}: ErrorMessageProps) {
- const { errors } = useFormState();
- const error = get(errors, id);
-
- return (
-
- {error.message?.toString()}
-
- );
-}
diff --git a/src/components/forms/FilePreview.tsx b/src/components/forms/FilePreview.tsx
deleted file mode 100644
index 95e47af..0000000
--- a/src/components/forms/FilePreview.tsx
+++ /dev/null
@@ -1,133 +0,0 @@
-import * as React from 'react';
-import {
- HiOutlineExternalLink,
- HiOutlineEye,
- HiOutlinePaperClip,
- HiOutlinePhotograph,
- HiX,
-} from 'react-icons/hi';
-import Lightbox from 'react-image-lightbox';
-
-import 'react-image-lightbox/style.css';
-
-import UnstyledLink from '@/components/links/UnstyledLink';
-
-import { FileWithPreview } from '@/types/dropzone';
-
-type FilePreviewProps = {
- file: FileWithPreview;
-} & (
- | {
- deleteFile?: (
- e: React.MouseEvent,
- file: FileWithPreview
- ) => void;
- readOnly?: true;
- }
- | {
- deleteFile: (
- e: React.MouseEvent,
- file: FileWithPreview
- ) => void;
- readOnly?: false;
- }
-);
-
-export default function FilePreview({
- deleteFile,
- file,
- readOnly,
-}: FilePreviewProps): React.ReactElement {
- const [index, setIndex] = React.useState(0);
- const [isOpen, setIsOpen] = React.useState(false);
-
- const images = [file.preview];
-
- const handleDelete = (e: React.MouseEvent) => {
- e.stopPropagation();
- deleteFile?.(e, file);
- };
-
- const imagesType = ['image/png', 'image/jpg', 'image/jpeg'];
-
- return imagesType.includes(file.type) ? (
- <>
-
-
-
- {file.name}
-
-
- setIsOpen(true)}
- className='focus:ring-primary-500 inline-block rounded text-xl font-medium text-gray-500 hover:text-gray-700 focus:outline-none focus:ring'
- >
-
-
- {!readOnly && (
-
-
-
- )}
-
-
- {isOpen && (
- setIsOpen(false)}
- onMovePrevRequest={() =>
- setIndex(
- (prevIndex) => (prevIndex + images.length - 1) % images.length
- )
- }
- onMoveNextRequest={() =>
- setIndex((prevIndex) => (prevIndex + 1) % images.length)
- }
- />
- )}
- >
- ) : (
-
-
-
- {file.name}
-
-
-
-
-
- {!readOnly && (
- deleteFile?.(e, file)}
- >
-
-
- )}
-
-
- );
-}
diff --git a/src/components/forms/Input.tsx b/src/components/forms/Input.tsx
deleted file mode 100644
index d5a5991..0000000
--- a/src/components/forms/Input.tsx
+++ /dev/null
@@ -1,88 +0,0 @@
-import clsx from 'clsx';
-import * as React from 'react';
-import { RegisterOptions, useFormContext } from 'react-hook-form';
-import { HiExclamationCircle } from 'react-icons/hi';
-
-export type InputProps = {
- /** Input label */
- label: string;
- /**
- * id to be initialized with React Hook Form,
- * must be the same with the pre-defined types.
- */
- id: string;
- /** Input placeholder */
- placeholder?: string;
- /** Small text below input, useful for additional information */
- helperText?: string;
- /**
- * Input type
- * @example text, email, password
- */
- type?: React.HTMLInputTypeAttribute;
- /** Disables the input and shows defaultValue (can be set from React Hook Form) */
- readOnly?: boolean;
- /** Disable error style (not disabling error validation) */
- hideError?: boolean;
- /** Manual validation using RHF, it is encouraged to use yup resolver instead */
- validation?: RegisterOptions;
-} & React.ComponentPropsWithoutRef<'input'>;
-
-export default function Input({
- label,
- placeholder = '',
- helperText,
- id,
- type = 'text',
- readOnly = false,
- hideError = false,
- validation,
- ...rest
-}: InputProps) {
- const {
- register,
- formState: { errors },
- } = useFormContext();
-
- return (
-
-
- {label}
-
-
-
-
- {!hideError && errors[id] && (
-
-
-
- )}
-
-
- {helperText &&
{helperText}
}
- {!hideError && errors[id] && (
-
- {errors[id]?.message as unknown as string}
-
- )}
-
-
- );
-}
diff --git a/src/components/forms/PasswordInput.tsx b/src/components/forms/PasswordInput.tsx
deleted file mode 100644
index 3823ee2..0000000
--- a/src/components/forms/PasswordInput.tsx
+++ /dev/null
@@ -1,95 +0,0 @@
-import clsx from 'clsx';
-import { useState } from 'react';
-import { RegisterOptions, useFormContext } from 'react-hook-form';
-import { HiEye, HiEyeOff } from 'react-icons/hi';
-
-export type PasswordInputProps = {
- /** Input label */
- label: string;
- /**
- * id to be initialized with React Hook Form,
- * must be the same with the pre-defined types.
- */
- id: string;
- /** Input placeholder */
- placeholder?: string;
- /** Small text below input, useful for additional information */
- helperText?: string;
- /**
- * Input type
- * @example text, email, password
- */
- type?: React.HTMLInputTypeAttribute;
- /** Disables the input and shows defaultValue (can be set from React Hook Form) */
- readOnly?: boolean;
- /** Disable error style (not disabling error validation) */
- hideError?: boolean;
- /** Manual validation using RHF, it is encouraged to use yup resolver instead */
- validation?: RegisterOptions;
-} & React.ComponentPropsWithoutRef<'input'>;
-
-export default function PasswordInput({
- label,
- placeholder = '',
- helperText,
- id,
- readOnly = false,
- validation,
- ...rest
-}: PasswordInputProps) {
- const {
- register,
- formState: { errors },
- } = useFormContext();
-
- const [showPassword, setShowPassword] = useState(false);
- const togglePassword = () => setShowPassword((prev) => !prev);
-
- return (
-
-
- {label}
-
-
-
-
-
- {showPassword ? (
-
- ) : (
-
- )}
-
-
-
- {helperText &&
{helperText}
}
- {errors[id] && (
-
- {errors[id]?.message as unknown as string}
-
- )}
-
-
- );
-}
diff --git a/src/components/forms/SelectInput.tsx b/src/components/forms/SelectInput.tsx
deleted file mode 100644
index a5f5463..0000000
--- a/src/components/forms/SelectInput.tsx
+++ /dev/null
@@ -1,98 +0,0 @@
-import clsx from 'clsx';
-import * as React from 'react';
-import { RegisterOptions, useFormContext } from 'react-hook-form';
-import { HiExclamationCircle } from 'react-icons/hi';
-
-export type SelectInputProps = {
- label: string;
- id: string;
- placeholder?: string;
- helperText?: string;
- type?: string;
- readOnly?: boolean;
- validation?: RegisterOptions;
- children: React.ReactNode;
-} & React.ComponentPropsWithoutRef<'select'>;
-
-export default function SelectInput({
- label,
- helperText,
- id,
- placeholder,
- readOnly = false,
- children,
- validation,
- ...rest
-}: SelectInputProps) {
- const {
- register,
- formState: { errors },
- watch,
- } = useFormContext();
-
- const value = watch(id);
-
- // Add disabled and selected attribute to option, will be used if readonly
- const readOnlyChildren = React.Children.map(
- children,
- (child) => {
- if (React.isValidElement(child)) {
- return React.cloneElement(
- child as React.ReactElement,
- {
- disabled: child.props.value !== rest?.defaultValue,
- }
- );
- }
- }
- );
-
- return (
-
-
- {label}
-
-
-
- {placeholder && (
-
- {placeholder}
-
- )}
- {readOnly ? readOnlyChildren : children}
-
-
- {errors[id] && (
-
-
-
- )}
-
-
- {helperText &&
{helperText}
}
- {errors[id] && (
-
- {errors[id]?.message as unknown as string}
-
- )}
-
-
- );
-}
diff --git a/src/components/forms/TextArea.tsx b/src/components/forms/TextArea.tsx
deleted file mode 100644
index 71ef336..0000000
--- a/src/components/forms/TextArea.tsx
+++ /dev/null
@@ -1,72 +0,0 @@
-import clsx from 'clsx';
-import get from 'lodash.get';
-import { RegisterOptions, useFormContext } from 'react-hook-form';
-import { HiExclamationCircle } from 'react-icons/hi';
-
-export type TextAreaProps = {
- label: string;
- id: string;
- placeholder?: string;
- helperText?: string;
- readOnly?: boolean;
- hideError?: boolean;
- validation?: RegisterOptions;
-} & React.ComponentPropsWithoutRef<'textarea'>;
-
-export default function TextArea({
- label,
- placeholder = '',
- helperText,
- id,
- readOnly = false,
- hideError = false,
- validation,
- ...rest
-}: TextAreaProps) {
- const {
- register,
- formState: { errors },
- } = useFormContext();
- const error = get(errors, id);
-
- return (
-
-
- {label}
-
-
-
- {!hideError && error && (
-
-
-
- )}
-
-
- {helperText &&
{helperText}
}
- {!hideError && error && (
-
- {error.message?.toString()}
-
- )}
-
-
- );
-}
diff --git a/src/components/questionBank/QuestionUploadAndDownload.tsx b/src/components/questionBank/QuestionUploadAndDownload.tsx
index a59be8d..c4617ab 100644
--- a/src/components/questionBank/QuestionUploadAndDownload.tsx
+++ b/src/components/questionBank/QuestionUploadAndDownload.tsx
@@ -1,5 +1,6 @@
'use client';
+import { wpcasBackendUrl } from '@root/config';
import axios from 'axios';
import React, { MutableRefObject, useRef, useState } from 'react';
@@ -26,10 +27,7 @@ const QuestionUploadAndDownload = () => {
formData.append('file', file);
// Make a POST request to backend
- await axios.post(
- 'http://localhost:3000/api/question-bank/upload',
- formData
- );
+ await axios.post(`${wpcasBackendUrl}/api/question-bank/upload`, formData);
setShowSuccessPopUp(true);
} catch (error) {
diff --git a/src/components/uiComponents/SavedQuestion.tsx b/src/components/uiComponents/SavedQuestion.tsx
deleted file mode 100644
index 414b9f7..0000000
--- a/src/components/uiComponents/SavedQuestion.tsx
+++ /dev/null
@@ -1,97 +0,0 @@
-import { useState } from 'react';
-
-import Popup from '@/components/questionBank/PopUp';
-import { DEPARTMENT_OPTIONS } from '@/components/SelectOptions';
-import SelectTag from '@/components/uiComponents/SelectTag';
-import { Question } from '@/components/wpcasOverView/Questions';
-
-import Delete from '../../../public/svg/delete.svg';
-
-DEPARTMENT_OPTIONS;
-interface SavedQuestionProps {
- questionData: Question;
- handleDeleteLevel: () => void;
-}
-
-const SavedQuestion = ({
- questionData,
- handleDeleteLevel,
-}: SavedQuestionProps) => {
- const [option, setOption] = useState('');
- const { question } = questionData;
- const [questionValue, setQuestionValue] = useState(question);
- const [isEditable, setIsEditable] = useState(false);
- const [showPopUp, setShowPopUp] = useState(false);
-
- const handleDeletePopUp = () => {
- handleDeleteLevel();
- setShowPopUp(false);
- };
- return (
-
-
-
}
- popUpClosingFunction={handleDeletePopUp}
- visible={showPopUp}
- topHeading='Are you sure ?'
- subHeading='Do you want to delete this competency level? '
- LeftButtonText='No'
- rightButtonText='Yes'
- leftButtonDestination='/create-question-bank'
- rightButtonDestination='/create-question-bank'
- />
-
-
- Select Level
-
-
- setOption(option)}
- width='704px'
- placeholder='Department'
- paddingY='2px'
- isDisabled={true}
- />
-
- setShowPopUp(true)}
- />
-
-
-
-
-
-
- Question
-
-
-
- setQuestionValue(e.target.value)}
- placeholder='Entry Level'
- disabled={!isEditable}
- />
- setIsEditable(true)}
- >
- ✎
-
-
-
-
-
-
- );
-};
-export default SavedQuestion;
diff --git a/src/components/wpcasOverView/LevelAndQuestion.tsx b/src/components/wpcasOverView/LevelAndQuestion.tsx
deleted file mode 100644
index d546e15..0000000
--- a/src/components/wpcasOverView/LevelAndQuestion.tsx
+++ /dev/null
@@ -1,61 +0,0 @@
-'use client';
-import { DEPARTMENT_OPTIONS } from '@/components/SelectOptions';
-import SavedQuestion from '@/components/uiComponents/SavedQuestion';
-import SelectTag from '@/components/uiComponents/SelectTag';
-SavedQuestion;
-
-type LevelAndQuestionProps = {
- level: string;
- setLevel: (level: string) => void;
- question: string;
- setQuestion: (question: string) => void;
-};
-
-const LevelAndQuestion = ({
- level,
- setLevel,
- question,
- setQuestion,
-}: LevelAndQuestionProps) => {
- // const [isEditable, setIsEditable] = useState(false);
- // const [option, setOption] = useState('');
- return (
-
-
-
-
- Select Level
-
-
{
- if (typeof option === 'string') {
- setLevel(option);
- }
- }}
- width='710px'
- placeholder='Department'
- paddingY='2px'
- />
-
-
-
-
- Question
-
-
-
setQuestion(e.target.value)}
- placeholder='Entry Level'
- />
-
-
-
- );
-};
-export default LevelAndQuestion;
diff --git a/src/pages/sandbox/form.tsx b/src/pages/sandbox/form.tsx
deleted file mode 100644
index bbb58f6..0000000
--- a/src/pages/sandbox/form.tsx
+++ /dev/null
@@ -1,105 +0,0 @@
-import * as React from 'react';
-import { FormProvider, SubmitHandler, useForm } from 'react-hook-form';
-
-import logger from '@/lib/logger';
-
-import Button from '@/components/buttons/Button';
-import DatePicker from '@/components/forms/DatePicker';
-import DropzoneInput from '@/components/forms/DropzoneInput';
-import Input from '@/components/forms/Input';
-import SelectInput from '@/components/forms/SelectInput';
-import TextArea from '@/components/forms/TextArea';
-import Layout from '@/components/layout/Layout';
-import Seo from '@/components/Seo';
-
-import { FileWithPreview } from '@/types/dropzone';
-
-type SandboxForm = {
- name: string;
- gender: 'male' | 'female' | 'none';
- gender2: 'male' | 'female' | 'none';
- photo: FileWithPreview;
- date: Date;
- address: string;
-};
-
-export default function FormSandbox() {
- //#region //*=========== Form ===========
- const methods = useForm({
- mode: 'onTouched',
- });
- const { handleSubmit } = methods;
- //#endregion //*======== Form ===========
-
- //#region //*=========== Form Submit ===========
- const onSubmit: SubmitHandler = (data) => {
- logger({ data }, 'rhf.tsx line 33');
-
- // !STARTERCONF Remove console log, use logger instead
- // eslint-disable-next-line no-console
- console.log({ data });
- return;
- };
- //#endregion //*======== Form Submit ===========
-
- return (
-
-
-
-
-
- );
-}
diff --git a/src/services/accountVerficationServices.tsx b/src/services/accountVerficationServices.tsx
index d2c24c7..28bf58a 100644
--- a/src/services/accountVerficationServices.tsx
+++ b/src/services/accountVerficationServices.tsx
@@ -1,5 +1,6 @@
import { courseManagerBackendUrl } from '@root/config';
import axios from 'axios';
+
// course manager
export const getAllProviders = async () => {
const data = await axios.get(
diff --git a/src/services/bultTemplate.ts b/src/services/bultTemplate.ts
index 7a18811..f15d245 100644
--- a/src/services/bultTemplate.ts
+++ b/src/services/bultTemplate.ts
@@ -1,3 +1,4 @@
+import { wpcasBackendUrl } from '@root/config';
import axios from 'axios';
import { toast } from 'react-toastify';
@@ -9,7 +10,7 @@ type CompetencyItem = {
export const downloadTemplate = async () => {
try {
const response = await axios.get(
- 'http://localhost:3000/api/question-bank/template'
+ `${wpcasBackendUrl}/api/question-bank/template`
);
const templateData = response?.data?.data;
@@ -49,15 +50,11 @@ export const uploadTemplate = async (
formData.append('file', file);
// Make a POST request to backend
- await axios.post(
- 'http://localhost:3000/api/question-bank/upload',
- formData,
- {
- headers: {
- 'Content-Type': 'multipart/form-data', // Set the content type to multipart/form-data
- },
- }
- );
+ await axios.post(`${wpcasBackendUrl}/api/question-bank/upload`, formData, {
+ headers: {
+ 'Content-Type': 'multipart/form-data', // Set the content type to multipart/form-data
+ },
+ });
setShowSuccessPopUp(true);
} catch (error) {
diff --git a/src/services/configurationServices.ts b/src/services/configurationServices.ts
index 2a60b03..df60d5e 100644
--- a/src/services/configurationServices.ts
+++ b/src/services/configurationServices.ts
@@ -1,24 +1,25 @@
+import { wpcasBackendUrl } from '@root/config';
import axios from 'axios';
export const getConfigurationList = async () => {
- const data = await axios.get('http://localhost:3000/api/survey-config');
+ const data = await axios.get(`${wpcasBackendUrl}/api/survey-config`);
return data.data.data;
};
export const downloadUserList = async () => {
- const data = await axios.get('http://localhost:3000/api/user-metadata');
+ const data = await axios.get(`${wpcasBackendUrl}/api/user-metadata`);
return data.data.data;
};
export const downloadAssessesList = async () => {
const data = await axios.get(
- 'http://localhost:3000/api/survey-config/user-mapping-sample'
+ `${wpcasBackendUrl}/api/survey-config/user-mapping-sample`
);
return data.data.data;
};
export const createSurveyConfig = async (payload: FormData) => {
- await axios.post(`http://localhost:3000/api/survey-config`, payload, {
+ await axios.post(`${wpcasBackendUrl}/api/survey-config`, payload, {
headers: {
'Content-Type': 'multipart/form-data', // Set the content type to multipart/form-data
},
@@ -27,7 +28,7 @@ export const createSurveyConfig = async (payload: FormData) => {
export const updateSurveyConfig = async (id: string, payload: FormData) => {
await axios.patch(
- `http://localhost:3000/api/survey-config/update/${id}`,
+ `${wpcasBackendUrl}/api/survey-config/update/${id}`,
payload,
{
headers: {
@@ -38,6 +39,6 @@ export const updateSurveyConfig = async (id: string, payload: FormData) => {
};
export const getUserList = async () => {
- const data = await axios.get('http://localhost:3000/api/survey/home-screen');
+ const data = await axios.get(`${wpcasBackendUrl}/api/survey/home-screen`);
return data.data.data;
};
diff --git a/src/services/getCompetency.ts b/src/services/getCompetency.ts
index 20a5eb8..a3069d3 100644
--- a/src/services/getCompetency.ts
+++ b/src/services/getCompetency.ts
@@ -1,3 +1,4 @@
+import { wpcasBackendUrl } from '@root/config';
import axios from 'axios';
import { toast } from 'react-toastify';
@@ -18,7 +19,7 @@ type QuestionType = {
export const getCompetency = async () => {
try {
const response = await axios.get(
- 'http://localhost:3000/api/admin-competency/names'
+ `${wpcasBackendUrl}/api/admin-competency/names`
);
const mappedData = response?.data?.data?.map(
@@ -38,10 +39,10 @@ export const getAllLevels = async (
) => {
try {
const questionsResponse = await axios.get(
- `http://localhost:3000/api/question-bank?competencyId=${currentCompetencyId}`
+ `${wpcasBackendUrl}/api/question-bank?competencyId=${currentCompetencyId}`
);
const levelsResponse = await axios.get(
- `http://localhost:3000/api/admin-competency/${currentCompetencyId}`
+ `${wpcasBackendUrl}/api/admin-competency/${currentCompetencyId}`
);
const questions = questionsResponse?.data?.data;
@@ -112,7 +113,7 @@ export const updateItemOnServer = async (
// Only include deleteQuestions if it's not empty
if (finalObj.deleteQuestions?.length === 0) {
await axios.post(
- 'http://localhost:3000/api/question-bank/updateMultipleQuestions',
+ `${wpcasBackendUrl}/api/question-bank/updateMultipleQuestions`,
{
createQuestions: finalObj.createQuestions,
updateQuestions: finalObj.updateQuestions,
@@ -120,7 +121,7 @@ export const updateItemOnServer = async (
);
} else {
await axios.post(
- 'http://localhost:3000/api/question-bank/updateMultipleQuestions',
+ `${wpcasBackendUrl}/api/question-bank/updateMultipleQuestions`,
finalObj
);
}
diff --git a/src/services/userWalletSevices.ts b/src/services/userWalletSevices.ts
index 88b1b39..dbcfd0a 100644
--- a/src/services/userWalletSevices.ts
+++ b/src/services/userWalletSevices.ts
@@ -1,9 +1,9 @@
-import { marketplaceBackendUrl } from '@root/config';
+import { marketBackendUrl } from '@root/config';
import axios from 'axios';
export const getUserWalletDetails = async (adminId: string) => {
const data = await axios.get(
- `${marketplaceBackendUrl}/api/admin/${adminId}/consumers`
+ `${marketBackendUrl}/api/admin/${adminId}/consumers`
);
return data.data.data;
};
@@ -19,7 +19,7 @@ export const addCreditToUser = async (
adminId: string
) => {
const data = await axios.post(
- `${marketplaceBackendUrl}/api/admin/${adminId}/addCredits`,
+ `${marketBackendUrl}/api/admin/${adminId}/addCredits`,
payload
);
return data.data.data;
@@ -31,7 +31,7 @@ export const removeCreditFromUser = async (
adminId: string
) => {
const data = await axios.post(
- `${marketplaceBackendUrl}/api/admin/${adminId}/reduceCredits`,
+ `${marketBackendUrl}/api/admin/${adminId}/reduceCredits`,
payload
);
return data.data.data;
@@ -42,7 +42,7 @@ export const getTransactionHistory = async (
consumerId: string
) => {
const data = await axios.get(
- `${marketplaceBackendUrl}/api/admin/${adminId}/userWallets/transactions/${consumerId}`
+ `${marketBackendUrl}/api/admin/${adminId}/userWallets/transactions/${consumerId}`
);
return data.data.data;
};
diff --git a/src/types/dropzone.ts b/src/types/dropzone.ts
deleted file mode 100644
index aece44b..0000000
--- a/src/types/dropzone.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { FileWithPath } from 'react-dropzone';
-
-export type FileWithPreview = FileWithPath & { preview: string };
diff --git a/yarn.lock b/yarn.lock
index fe4a581..e714c09 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1065,17 +1065,18 @@
"resolved" "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
"version" "0.2.3"
-"@commitlint/cli@^16.3.0":
- "integrity" "sha512-P+kvONlfsuTMnxSwWE1H+ZcPMY3STFaHb2kAacsqoIkNx66O0T7sTpBxpxkMrFPyhkJiLJnJWMhk4bbvYD3BMA=="
- "resolved" "https://registry.npmjs.org/@commitlint/cli/-/cli-16.3.0.tgz"
- "version" "16.3.0"
- dependencies:
- "@commitlint/format" "^16.2.1"
- "@commitlint/lint" "^16.2.4"
- "@commitlint/load" "^16.3.0"
- "@commitlint/read" "^16.2.1"
- "@commitlint/types" "^16.2.1"
- "lodash" "^4.17.19"
+"@commitlint/cli@^18.4.3":
+ "integrity" "sha512-zop98yfB3A6NveYAZ3P1Mb6bIXuCeWgnUfVNkH4yhIMQpQfzFwseadazOuSn0OOfTt0lWuFauehpm9GcqM5lww=="
+ "resolved" "https://registry.npmjs.org/@commitlint/cli/-/cli-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/format" "^18.4.3"
+ "@commitlint/lint" "^18.4.3"
+ "@commitlint/load" "^18.4.3"
+ "@commitlint/read" "^18.4.3"
+ "@commitlint/types" "^18.4.3"
+ "execa" "^5.0.0"
+ "lodash.isfunction" "^3.0.9"
"resolve-from" "5.0.0"
"resolve-global" "1.0.0"
"yargs" "^17.0.0"
@@ -1087,135 +1088,141 @@
dependencies:
"conventional-changelog-conventionalcommits" "^4.3.1"
-"@commitlint/config-validator@^16.2.1":
- "integrity" "sha512-hogSe0WGg7CKmp4IfNbdNES3Rq3UEI4XRPB8JL4EPgo/ORq5nrGTVzxJh78omibNuB8Ho4501Czb1Er1MoDWpw=="
- "resolved" "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-16.2.1.tgz"
- "version" "16.2.1"
- dependencies:
- "@commitlint/types" "^16.2.1"
- "ajv" "^6.12.6"
-
-"@commitlint/ensure@^16.2.1":
- "integrity" "sha512-/h+lBTgf1r5fhbDNHOViLuej38i3rZqTQnBTk+xEg+ehOwQDXUuissQ5GsYXXqI5uGy+261ew++sT4EA3uBJ+A=="
- "resolved" "https://registry.npmjs.org/@commitlint/ensure/-/ensure-16.2.1.tgz"
- "version" "16.2.1"
- dependencies:
- "@commitlint/types" "^16.2.1"
- "lodash" "^4.17.19"
-
-"@commitlint/execute-rule@^16.2.1":
- "integrity" "sha512-oSls82fmUTLM6cl5V3epdVo4gHhbmBFvCvQGHBRdQ50H/690Uq1Dyd7hXMuKITCIdcnr9umyDkr8r5C6HZDF3g=="
- "resolved" "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-16.2.1.tgz"
- "version" "16.2.1"
+"@commitlint/config-validator@^18.4.3":
+ "integrity" "sha512-FPZZmTJBARPCyef9ohRC9EANiQEKSWIdatx5OlgeHKu878dWwpyeFauVkhzuBRJFcCA4Uvz/FDtlDKs008IHcA=="
+ "resolved" "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/types" "^18.4.3"
+ "ajv" "^8.11.0"
+
+"@commitlint/ensure@^18.4.3":
+ "integrity" "sha512-MI4fwD9TWDVn4plF5+7JUyLLbkOdzIRBmVeNlk4dcGlkrVA+/l5GLcpN66q9LkFsFv6G2X31y89ApA3hqnqIFg=="
+ "resolved" "https://registry.npmjs.org/@commitlint/ensure/-/ensure-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/types" "^18.4.3"
+ "lodash.camelcase" "^4.3.0"
+ "lodash.kebabcase" "^4.1.1"
+ "lodash.snakecase" "^4.1.1"
+ "lodash.startcase" "^4.4.0"
+ "lodash.upperfirst" "^4.3.1"
+
+"@commitlint/execute-rule@^18.4.3":
+ "integrity" "sha512-t7FM4c+BdX9WWZCPrrbV5+0SWLgT3kCq7e7/GhHCreYifg3V8qyvO127HF796vyFql75n4TFF+5v1asOOWkV1Q=="
+ "resolved" "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-18.4.3.tgz"
+ "version" "18.4.3"
+
+"@commitlint/format@^18.4.3":
+ "integrity" "sha512-8b+ItXYHxAhRAXFfYki5PpbuMMOmXYuzLxib65z2XTqki59YDQJGpJ/wB1kEE5MQDgSTQWtKUrA8n9zS/1uIDQ=="
+ "resolved" "https://registry.npmjs.org/@commitlint/format/-/format-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/types" "^18.4.3"
+ "chalk" "^4.1.0"
-"@commitlint/format@^16.2.1":
- "integrity" "sha512-Yyio9bdHWmNDRlEJrxHKglamIk3d6hC0NkEUW6Ti6ipEh2g0BAhy8Od6t4vLhdZRa1I2n+gY13foy+tUgk0i1Q=="
- "resolved" "https://registry.npmjs.org/@commitlint/format/-/format-16.2.1.tgz"
- "version" "16.2.1"
- dependencies:
- "@commitlint/types" "^16.2.1"
- "chalk" "^4.0.0"
+"@commitlint/is-ignored@^18.4.3":
+ "integrity" "sha512-ZseOY9UfuAI32h9w342Km4AIaTieeFskm2ZKdrG7r31+c6zGBzuny9KQhwI9puc0J3GkUquEgKJblCl7pMnjwg=="
+ "resolved" "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/types" "^18.4.3"
+ "semver" "7.5.4"
+
+"@commitlint/lint@^18.4.3":
+ "integrity" "sha512-18u3MRgEXNbnYkMOWoncvq6QB8/90m9TbERKgdPqVvS+zQ/MsuRhdvHYCIXGXZxUb0YI4DV2PC4bPneBV/fYuA=="
+ "resolved" "https://registry.npmjs.org/@commitlint/lint/-/lint-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/is-ignored" "^18.4.3"
+ "@commitlint/parse" "^18.4.3"
+ "@commitlint/rules" "^18.4.3"
+ "@commitlint/types" "^18.4.3"
+
+"@commitlint/load@^18.4.3":
+ "integrity" "sha512-v6j2WhvRQJrcJaj5D+EyES2WKTxPpxENmNpNG3Ww8MZGik3jWRXtph0QTzia5ZJyPh2ib5aC/6BIDymkUUM58Q=="
+ "resolved" "https://registry.npmjs.org/@commitlint/load/-/load-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/config-validator" "^18.4.3"
+ "@commitlint/execute-rule" "^18.4.3"
+ "@commitlint/resolve-extends" "^18.4.3"
+ "@commitlint/types" "^18.4.3"
+ "@types/node" "^18.11.9"
+ "chalk" "^4.1.0"
+ "cosmiconfig" "^8.3.6"
+ "cosmiconfig-typescript-loader" "^5.0.0"
+ "lodash.isplainobject" "^4.0.6"
+ "lodash.merge" "^4.6.2"
+ "lodash.uniq" "^4.5.0"
+ "resolve-from" "^5.0.0"
-"@commitlint/is-ignored@^16.2.4":
- "integrity" "sha512-Lxdq9aOAYCOOOjKi58ulbwK/oBiiKz+7Sq0+/SpFIEFwhHkIVugvDvWjh2VRBXmRC/x5lNcjDcYEwS/uYUvlYQ=="
- "resolved" "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-16.2.4.tgz"
- "version" "16.2.4"
- dependencies:
- "@commitlint/types" "^16.2.1"
- "semver" "7.3.7"
+"@commitlint/message@^18.4.3":
+ "integrity" "sha512-ddJ7AztWUIoEMAXoewx45lKEYEOeOlBVWjk8hDMUGpprkuvWULpaXczqdjwVtjrKT3JhhN+gMs8pm5G3vB2how=="
+ "resolved" "https://registry.npmjs.org/@commitlint/message/-/message-18.4.3.tgz"
+ "version" "18.4.3"
+
+"@commitlint/parse@^18.4.3":
+ "integrity" "sha512-eoH7CXM9L+/Me96KVcfJ27EIIbA5P9sqw3DqjJhRYuhaULIsPHFs5S5GBDCqT0vKZQDx0DgxhMpW6AQbnKrFtA=="
+ "resolved" "https://registry.npmjs.org/@commitlint/parse/-/parse-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/types" "^18.4.3"
+ "conventional-changelog-angular" "^7.0.0"
+ "conventional-commits-parser" "^5.0.0"
+
+"@commitlint/read@^18.4.3":
+ "integrity" "sha512-H4HGxaYA6OBCimZAtghL+B+SWu8ep4X7BwgmedmqWZRHxRLcX2q0bWBtUm5FsMbluxbOfrJwOs/Z0ah4roP/GQ=="
+ "resolved" "https://registry.npmjs.org/@commitlint/read/-/read-18.4.3.tgz"
+ "version" "18.4.3"
+ dependencies:
+ "@commitlint/top-level" "^18.4.3"
+ "@commitlint/types" "^18.4.3"
+ "fs-extra" "^11.0.0"
+ "git-raw-commits" "^2.0.11"
+ "minimist" "^1.2.6"
-"@commitlint/lint@^16.2.4":
- "integrity" "sha512-AUDuwOxb2eGqsXbTMON3imUGkc1jRdtXrbbohiLSCSk3jFVXgJLTMaEcr39pR00N8nE9uZ+V2sYaiILByZVmxQ=="
- "resolved" "https://registry.npmjs.org/@commitlint/lint/-/lint-16.2.4.tgz"
- "version" "16.2.4"
+"@commitlint/resolve-extends@^18.4.3":
+ "integrity" "sha512-30sk04LZWf8+SDgJrbJCjM90gTg2LxsD9cykCFeFu+JFHvBFq5ugzp2eO/DJGylAdVaqxej3c7eTSE64hR/lnw=="
+ "resolved" "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-18.4.3.tgz"
+ "version" "18.4.3"
dependencies:
- "@commitlint/is-ignored" "^16.2.4"
- "@commitlint/parse" "^16.2.1"
- "@commitlint/rules" "^16.2.4"
- "@commitlint/types" "^16.2.1"
-
-"@commitlint/load@^16.3.0":
- "integrity" "sha512-3tykjV/iwbkv2FU9DG+NZ/JqmP0Nm3b7aDwgCNQhhKV5P74JAuByULkafnhn+zsFGypG1qMtI5u+BZoa9APm0A=="
- "resolved" "https://registry.npmjs.org/@commitlint/load/-/load-16.3.0.tgz"
- "version" "16.3.0"
- dependencies:
- "@commitlint/config-validator" "^16.2.1"
- "@commitlint/execute-rule" "^16.2.1"
- "@commitlint/resolve-extends" "^16.2.1"
- "@commitlint/types" "^16.2.1"
- "@types/node" ">=12"
- "chalk" "^4.0.0"
- "cosmiconfig" "^7.0.0"
- "cosmiconfig-typescript-loader" "^2.0.0"
- "lodash" "^4.17.19"
- "resolve-from" "^5.0.0"
- "typescript" "^4.4.3"
-
-"@commitlint/message@^16.2.1":
- "integrity" "sha512-2eWX/47rftViYg7a3axYDdrgwKv32mxbycBJT6OQY/MJM7SUfYNYYvbMFOQFaA4xIVZt7t2Alyqslbl6blVwWw=="
- "resolved" "https://registry.npmjs.org/@commitlint/message/-/message-16.2.1.tgz"
- "version" "16.2.1"
-
-"@commitlint/parse@^16.2.1":
- "integrity" "sha512-2NP2dDQNL378VZYioLrgGVZhWdnJO4nAxQl5LXwYb08nEcN+cgxHN1dJV8OLJ5uxlGJtDeR8UZZ1mnQ1gSAD/g=="
- "resolved" "https://registry.npmjs.org/@commitlint/parse/-/parse-16.2.1.tgz"
- "version" "16.2.1"
- dependencies:
- "@commitlint/types" "^16.2.1"
- "conventional-changelog-angular" "^5.0.11"
- "conventional-commits-parser" "^3.2.2"
-
-"@commitlint/read@^16.2.1":
- "integrity" "sha512-tViXGuaxLTrw2r7PiYMQOFA2fueZxnnt0lkOWqKyxT+n2XdEMGYcI9ID5ndJKXnfPGPppD0w/IItKsIXlZ+alw=="
- "resolved" "https://registry.npmjs.org/@commitlint/read/-/read-16.2.1.tgz"
- "version" "16.2.1"
- dependencies:
- "@commitlint/top-level" "^16.2.1"
- "@commitlint/types" "^16.2.1"
- "fs-extra" "^10.0.0"
- "git-raw-commits" "^2.0.0"
-
-"@commitlint/resolve-extends@^16.2.1":
- "integrity" "sha512-NbbCMPKTFf2J805kwfP9EO+vV+XvnaHRcBy6ud5dF35dxMsvdJqke54W3XazXF1ZAxC4a3LBy4i/GNVBAthsEg=="
- "resolved" "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-16.2.1.tgz"
- "version" "16.2.1"
- dependencies:
- "@commitlint/config-validator" "^16.2.1"
- "@commitlint/types" "^16.2.1"
+ "@commitlint/config-validator" "^18.4.3"
+ "@commitlint/types" "^18.4.3"
"import-fresh" "^3.0.0"
- "lodash" "^4.17.19"
+ "lodash.mergewith" "^4.6.2"
"resolve-from" "^5.0.0"
"resolve-global" "^1.0.0"
-"@commitlint/rules@^16.2.4":
- "integrity" "sha512-rK5rNBIN2ZQNQK+I6trRPK3dWa0MtaTN4xnwOma1qxa4d5wQMQJtScwTZjTJeallFxhOgbNOgr48AMHkdounVg=="
- "resolved" "https://registry.npmjs.org/@commitlint/rules/-/rules-16.2.4.tgz"
- "version" "16.2.4"
+"@commitlint/rules@^18.4.3":
+ "integrity" "sha512-8KIeukDf45BiY+Lul1T0imSNXF0sMrlLG6JpLLKolkmYVQ6PxxoNOriwyZ3UTFFpaVbPy0rcITaV7U9JCAfDTA=="
+ "resolved" "https://registry.npmjs.org/@commitlint/rules/-/rules-18.4.3.tgz"
+ "version" "18.4.3"
dependencies:
- "@commitlint/ensure" "^16.2.1"
- "@commitlint/message" "^16.2.1"
- "@commitlint/to-lines" "^16.2.1"
- "@commitlint/types" "^16.2.1"
+ "@commitlint/ensure" "^18.4.3"
+ "@commitlint/message" "^18.4.3"
+ "@commitlint/to-lines" "^18.4.3"
+ "@commitlint/types" "^18.4.3"
"execa" "^5.0.0"
-"@commitlint/to-lines@^16.2.1":
- "integrity" "sha512-9/VjpYj5j1QeY3eiog1zQWY6axsdWAc0AonUUfyZ7B0MVcRI0R56YsHAfzF6uK/g/WwPZaoe4Lb1QCyDVnpVaQ=="
- "resolved" "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-16.2.1.tgz"
- "version" "16.2.1"
+"@commitlint/to-lines@^18.4.3":
+ "integrity" "sha512-fy1TAleik4Zfru1RJ8ZU6cOSvgSVhUellxd3WZV1D5RwHZETt1sZdcA4mQN2y3VcIZsUNKkW0Mq8CM9/L9harQ=="
+ "resolved" "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-18.4.3.tgz"
+ "version" "18.4.3"
-"@commitlint/top-level@^16.2.1":
- "integrity" "sha512-lS6GSieHW9y6ePL73ied71Z9bOKyK+Ib9hTkRsB8oZFAyQZcyRwq2w6nIa6Fngir1QW51oKzzaXfJL94qwImyw=="
- "resolved" "https://registry.npmjs.org/@commitlint/top-level/-/top-level-16.2.1.tgz"
- "version" "16.2.1"
+"@commitlint/top-level@^18.4.3":
+ "integrity" "sha512-E6fJPBLPFL5R8+XUNSYkj4HekIOuGMyJo3mIx2PkYc3clel+pcWQ7TConqXxNWW4x1ugigiIY2RGot55qUq1hw=="
+ "resolved" "https://registry.npmjs.org/@commitlint/top-level/-/top-level-18.4.3.tgz"
+ "version" "18.4.3"
dependencies:
"find-up" "^5.0.0"
-"@commitlint/types@^16.2.1":
- "integrity" "sha512-7/z7pA7BM0i8XvMSBynO7xsB3mVQPUZbVn6zMIlp/a091XJ3qAXRXc+HwLYhiIdzzS5fuxxNIHZMGHVD4HJxdA=="
- "resolved" "https://registry.npmjs.org/@commitlint/types/-/types-16.2.1.tgz"
- "version" "16.2.1"
+"@commitlint/types@^18.4.3":
+ "integrity" "sha512-cvzx+vtY/I2hVBZHCLrpoh+sA0hfuzHwDc+BAFPimYLjJkpHnghQM+z8W/KyLGkygJh3BtI3xXXq+dKjnSWEmA=="
+ "resolved" "https://registry.npmjs.org/@commitlint/types/-/types-18.4.3.tgz"
+ "version" "18.4.3"
dependencies:
- "chalk" "^4.0.0"
+ "chalk" "^4.1.0"
"@corex/deepmerge@^2.6.148":
"integrity" "sha512-6QMz0/2h5C3ua51iAnXMPWFbb1QOU1UvSM4bKBw5mzdT+WtLgjbETBBIQZ+Sh9WvEcGwlAt/DEdRpIC3XlDBMA=="
@@ -1965,19 +1972,21 @@
"version" "4.14.199"
"@types/minimist@^1.2.0":
- "integrity" "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg=="
- "resolved" "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.1.tgz"
- "version" "1.2.1"
+ "integrity" "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag=="
+ "resolved" "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz"
+ "version" "1.2.5"
-"@types/node@*", "@types/node@>=12":
- "integrity" "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w=="
- "resolved" "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz"
- "version" "17.0.25"
+"@types/node@*", "@types/node@^18.11.9":
+ "integrity" "sha512-k5fggr14DwAytoA/t8rPrIz++lXK7/DqckthCmoZOKNsEbJkId4Z//BqgApXBUGrGddrigYa1oqheo/7YmW4rg=="
+ "resolved" "https://registry.npmjs.org/@types/node/-/node-18.19.3.tgz"
+ "version" "18.19.3"
+ dependencies:
+ "undici-types" "~5.26.4"
"@types/normalize-package-data@^2.4.0":
- "integrity" "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA=="
- "resolved" "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz"
- "version" "2.4.0"
+ "integrity" "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA=="
+ "resolved" "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz"
+ "version" "2.4.4"
"@types/parse-json@^4.0.0":
"integrity" "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="
@@ -2211,7 +2220,7 @@
"clean-stack" "^2.0.0"
"indent-string" "^4.0.0"
-"ajv@^6.10.0", "ajv@^6.12.4", "ajv@^6.12.6":
+"ajv@^6.10.0", "ajv@^6.12.4":
"integrity" "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g=="
"resolved" "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz"
"version" "6.12.6"
@@ -2221,6 +2230,16 @@
"json-schema-traverse" "^0.4.1"
"uri-js" "^4.2.2"
+"ajv@^8.11.0":
+ "integrity" "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA=="
+ "resolved" "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz"
+ "version" "8.12.0"
+ dependencies:
+ "fast-deep-equal" "^3.1.1"
+ "json-schema-traverse" "^1.0.0"
+ "require-from-string" "^2.0.2"
+ "uri-js" "^4.2.2"
+
"ansi-escapes@^4.2.1", "ansi-escapes@^4.3.0":
"integrity" "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ=="
"resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz"
@@ -2357,7 +2376,7 @@
"es-shim-unscopables" "^1.0.0"
"arrify@^1.0.1":
- "integrity" "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA=="
+ "integrity" "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA=="
"resolved" "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz"
"version" "1.0.1"
@@ -2891,13 +2910,12 @@
"resolved" "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz"
"version" "1.0.5"
-"conventional-changelog-angular@^5.0.11":
- "integrity" "sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw=="
- "resolved" "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz"
- "version" "5.0.12"
+"conventional-changelog-angular@^7.0.0":
+ "integrity" "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ=="
+ "resolved" "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz"
+ "version" "7.0.0"
dependencies:
"compare-func" "^2.0.0"
- "q" "^1.5.1"
"conventional-changelog-conventionalcommits@^4.3.1":
"integrity" "sha512-sj9tj3z5cnHaSJCYObA9nISf7eq/YjscLPoq6nmew4SiOjxqL2KRpK20fjnjVbpNDjJ2HR3MoVcWKXwbVvzS0A=="
@@ -2908,17 +2926,15 @@
"lodash" "^4.17.15"
"q" "^1.5.1"
-"conventional-commits-parser@^3.2.2":
- "integrity" "sha512-Jr9KAKgqAkwXMRHjxDwO/zOCDKod1XdAESHAGuJX38iZ7ZzVti/tvVoysO0suMsdAObp9NQ2rHSsSbnAqZ5f5g=="
- "resolved" "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.2.tgz"
- "version" "3.2.2"
+"conventional-commits-parser@^5.0.0":
+ "integrity" "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA=="
+ "resolved" "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz"
+ "version" "5.0.0"
dependencies:
- "is-text-path" "^1.0.1"
- "JSONStream" "^1.0.4"
- "lodash" "^4.17.15"
- "meow" "^8.0.0"
- "split2" "^3.0.0"
- "through2" "^4.0.0"
+ "is-text-path" "^2.0.0"
+ "JSONStream" "^1.3.5"
+ "meow" "^12.0.1"
+ "split2" "^4.0.0"
"convert-source-map@^1.4.0", "convert-source-map@^1.5.0", "convert-source-map@^1.6.0", "convert-source-map@^1.7.0":
"integrity" "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA=="
@@ -2957,15 +2973,14 @@
"object-assign" "^4"
"vary" "^1"
-"cosmiconfig-typescript-loader@^2.0.0":
- "integrity" "sha512-2NlGul/E3vTQEANqPziqkA01vfiuUU8vT0jZAuUIjEW8u3eCcnCQWLggapCjhbF76s7KQF0fM0kXSKmzaDaG1g=="
- "resolved" "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-2.0.0.tgz"
- "version" "2.0.0"
+"cosmiconfig-typescript-loader@^5.0.0":
+ "integrity" "sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA=="
+ "resolved" "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-5.0.0.tgz"
+ "version" "5.0.0"
dependencies:
- "cosmiconfig" "^7"
- "ts-node" "^10.7.0"
+ "jiti" "^1.19.1"
-"cosmiconfig@^7", "cosmiconfig@^7.0.0":
+"cosmiconfig@^7.0.0":
"integrity" "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ=="
"resolved" "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz"
"version" "7.0.1"
@@ -2986,6 +3001,16 @@
"parse-json" "^5.0.0"
"path-type" "^4.0.0"
+"cosmiconfig@^8.3.6", "cosmiconfig@>=8.2":
+ "integrity" "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA=="
+ "resolved" "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz"
+ "version" "8.3.6"
+ dependencies:
+ "import-fresh" "^3.3.0"
+ "js-yaml" "^4.1.0"
+ "parse-json" "^5.2.0"
+ "path-type" "^4.0.0"
+
"crc-32@~1.2.0", "crc-32@~1.2.1":
"integrity" "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="
"resolved" "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz"
@@ -3138,15 +3163,15 @@
"ms" "2.0.0"
"decamelize-keys@^1.1.0":
- "integrity" "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk= sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg=="
- "resolved" "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz"
- "version" "1.1.0"
+ "integrity" "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg=="
+ "resolved" "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz"
+ "version" "1.1.1"
dependencies:
"decamelize" "^1.1.0"
"map-obj" "^1.0.0"
"decamelize@^1.1.0":
- "integrity" "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA=="
+ "integrity" "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA=="
"resolved" "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz"
"version" "1.2.0"
@@ -3934,10 +3959,10 @@
"resolved" "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz"
"version" "0.5.2"
-"fs-extra@^10.0.0":
- "integrity" "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ=="
- "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz"
- "version" "10.0.0"
+"fs-extra@^11.0.0":
+ "integrity" "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw=="
+ "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz"
+ "version" "11.2.0"
dependencies:
"graceful-fs" "^4.2.0"
"jsonfile" "^6.0.1"
@@ -4010,10 +4035,10 @@
"resolved" "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.2.0.tgz"
"version" "4.2.0"
-"git-raw-commits@^2.0.0":
- "integrity" "sha512-sHhX5lsbG9SOO6yXdlwgEMQ/ljIn7qMpAbJZCGfXX2fq5T8M5SrDnpYk9/4HswTildcIqatsWa91vty6VhWSaQ=="
- "resolved" "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.10.tgz"
- "version" "2.0.10"
+"git-raw-commits@^2.0.11":
+ "integrity" "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A=="
+ "resolved" "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz"
+ "version" "2.0.11"
dependencies:
"dargs" "^7.0.0"
"lodash" "^4.17.15"
@@ -4072,7 +4097,7 @@
"path-is-absolute" "^1.0.0"
"global-dirs@^0.1.1":
- "integrity" "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg=="
+ "integrity" "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg=="
"resolved" "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz"
"version" "0.1.1"
dependencies:
@@ -4192,9 +4217,9 @@
"version" "2.8.9"
"hosted-git-info@^4.0.1":
- "integrity" "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg=="
- "resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz"
- "version" "4.0.2"
+ "integrity" "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA=="
+ "resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz"
+ "version" "4.1.0"
dependencies:
"lru-cache" "^6.0.0"
@@ -4260,7 +4285,7 @@
"resolved" "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz"
"version" "5.2.0"
-"import-fresh@^3.0.0", "import-fresh@^3.2.1":
+"import-fresh@^3.0.0", "import-fresh@^3.2.1", "import-fresh@^3.3.0":
"integrity" "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw=="
"resolved" "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz"
"version" "3.3.0"
@@ -4347,7 +4372,7 @@
"resolved" "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz"
"version" "1.2.7"
-"is-core-module@^2.10.0", "is-core-module@^2.11.0", "is-core-module@^2.2.0", "is-core-module@^2.8.1":
+"is-core-module@^2.10.0", "is-core-module@^2.11.0", "is-core-module@^2.2.0", "is-core-module@^2.5.0", "is-core-module@^2.8.1":
"integrity" "sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ=="
"resolved" "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.0.tgz"
"version" "2.12.0"
@@ -4417,7 +4442,7 @@
"version" "3.0.3"
"is-plain-obj@^1.1.0":
- "integrity" "sha1-caUMhCnfync8kqOQpKA7OfzVHT4= sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg=="
+ "integrity" "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg=="
"resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz"
"version" "1.1.0"
@@ -4465,12 +4490,12 @@
dependencies:
"has-symbols" "^1.0.2"
-"is-text-path@^1.0.1":
- "integrity" "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4= sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w=="
- "resolved" "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz"
- "version" "1.0.1"
+"is-text-path@^2.0.0":
+ "integrity" "sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw=="
+ "resolved" "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz"
+ "version" "2.0.0"
dependencies:
- "text-extensions" "^1.0.0"
+ "text-extensions" "^2.0.0"
"is-typedarray@^1.0.0":
"integrity" "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
@@ -4948,10 +4973,10 @@
"import-local" "^3.0.2"
"jest-cli" "^27.5.1"
-"jiti@^1.18.2":
- "integrity" "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg=="
- "resolved" "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz"
- "version" "1.18.2"
+"jiti@^1.18.2", "jiti@^1.19.1":
+ "integrity" "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q=="
+ "resolved" "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz"
+ "version" "1.21.0"
"jju@^1.1.0":
"integrity" "sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA=="
@@ -5038,6 +5063,11 @@
"resolved" "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz"
"version" "0.4.1"
+"json-schema-traverse@^1.0.0":
+ "integrity" "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
+ "resolved" "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz"
+ "version" "1.0.0"
+
"json-server@^0.17.4":
"integrity" "sha512-bGBb0WtFuAKbgI7JV3A864irWnMZSvBYRJbohaOuatHwKSRFUfqtQlrYMrB6WbalXy/cJabyjlb7JkHli6dYjQ=="
"resolved" "https://registry.npmjs.org/json-server/-/json-server-0.17.4.tgz"
@@ -5090,11 +5120,11 @@
"graceful-fs" "^4.1.6"
"jsonparse@^1.2.0":
- "integrity" "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg=="
+ "integrity" "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg=="
"resolved" "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz"
"version" "1.3.1"
-"JSONStream@^1.0.4":
+"JSONStream@^1.3.5":
"integrity" "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ=="
"resolved" "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz"
"version" "1.3.5"
@@ -5229,17 +5259,62 @@
"resolved" "https://registry.npmjs.org/lodash-id/-/lodash-id-0.14.1.tgz"
"version" "0.14.1"
+"lodash.camelcase@^4.3.0":
+ "integrity" "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA=="
+ "resolved" "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz"
+ "version" "4.3.0"
+
"lodash.debounce@^4.0.8":
"integrity" "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow=="
"resolved" "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz"
"version" "4.0.8"
+"lodash.isfunction@^3.0.9":
+ "integrity" "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw=="
+ "resolved" "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz"
+ "version" "3.0.9"
+
+"lodash.isplainobject@^4.0.6":
+ "integrity" "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="
+ "resolved" "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz"
+ "version" "4.0.6"
+
+"lodash.kebabcase@^4.1.1":
+ "integrity" "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g=="
+ "resolved" "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz"
+ "version" "4.1.1"
+
"lodash.merge@^4.6.2":
"integrity" "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
"resolved" "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz"
"version" "4.6.2"
-"lodash@^4.17.15", "lodash@^4.17.19", "lodash@^4.17.21", "lodash@^4.7.0", "lodash@4":
+"lodash.mergewith@^4.6.2":
+ "integrity" "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ=="
+ "resolved" "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz"
+ "version" "4.6.2"
+
+"lodash.snakecase@^4.1.1":
+ "integrity" "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
+ "resolved" "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz"
+ "version" "4.1.1"
+
+"lodash.startcase@^4.4.0":
+ "integrity" "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg=="
+ "resolved" "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz"
+ "version" "4.4.0"
+
+"lodash.uniq@^4.5.0":
+ "integrity" "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ=="
+ "resolved" "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz"
+ "version" "4.5.0"
+
+"lodash.upperfirst@^4.3.1":
+ "integrity" "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg=="
+ "resolved" "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz"
+ "version" "4.3.1"
+
+"lodash@^4.17.15", "lodash@^4.17.21", "lodash@^4.7.0", "lodash@4":
"integrity" "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
"resolved" "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz"
"version" "4.17.21"
@@ -5323,14 +5398,14 @@
"tmpl" "1.0.5"
"map-obj@^1.0.0":
- "integrity" "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg=="
+ "integrity" "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg=="
"resolved" "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz"
"version" "1.0.1"
"map-obj@^4.0.0":
- "integrity" "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ=="
- "resolved" "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz"
- "version" "4.2.1"
+ "integrity" "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ=="
+ "resolved" "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz"
+ "version" "4.3.0"
"mdn-data@2.0.28":
"integrity" "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g=="
@@ -5352,6 +5427,11 @@
"resolved" "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz"
"version" "6.0.0"
+"meow@^12.0.1":
+ "integrity" "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw=="
+ "resolved" "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz"
+ "version" "12.1.1"
+
"meow@^8.0.0":
"integrity" "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q=="
"resolved" "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz"
@@ -5581,12 +5661,12 @@
"validate-npm-package-license" "^3.0.1"
"normalize-package-data@^3.0.0":
- "integrity" "sha512-6CdZocmfGaKnIHPVFhJJZ3GuR8SsLKvDANFp47Jmy51aKIr8akjAWTSxtpI+MBgBFdSMRyo4hMpDlT6dTffgZg=="
- "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.2.tgz"
- "version" "3.0.2"
+ "integrity" "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA=="
+ "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz"
+ "version" "3.0.3"
dependencies:
"hosted-git-info" "^4.0.1"
- "resolve" "^1.20.0"
+ "is-core-module" "^2.5.0"
"semver" "^7.3.4"
"validate-npm-package-license" "^3.0.1"
@@ -6234,9 +6314,9 @@
"type-fest" "^0.6.0"
"readable-stream@^3.0.0", "readable-stream@3":
- "integrity" "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA=="
- "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz"
- "version" "3.6.0"
+ "integrity" "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA=="
+ "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz"
+ "version" "3.6.2"
dependencies:
"inherits" "^2.0.3"
"string_decoder" "^1.1.1"
@@ -6319,6 +6399,11 @@
"resolved" "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz"
"version" "2.1.1"
+"require-from-string@^2.0.2":
+ "integrity" "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="
+ "resolved" "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz"
+ "version" "2.0.2"
+
"resolve-cwd@^3.0.0":
"integrity" "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg=="
"resolved" "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz"
@@ -6467,17 +6552,17 @@
"resolved" "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"
"version" "6.3.1"
-"semver@^7.3.2", "semver@^7.3.4", "semver@^7.3.7", "semver@7.3.7":
- "integrity" "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g=="
- "resolved" "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz"
- "version" "7.3.7"
+"semver@^7.3.2", "semver@^7.3.4", "semver@^7.3.7", "semver@7.5.4":
+ "integrity" "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA=="
+ "resolved" "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz"
+ "version" "7.5.4"
dependencies:
"lru-cache" "^6.0.0"
"semver@2 || 3 || 4 || 5":
- "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz"
- "version" "5.7.1"
+ "integrity" "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g=="
+ "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz"
+ "version" "5.7.2"
"send@0.18.0":
"integrity" "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg=="
@@ -6622,9 +6707,9 @@
"version" "0.7.3"
"spdx-correct@^3.0.0":
- "integrity" "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w=="
- "resolved" "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz"
- "version" "3.1.1"
+ "integrity" "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA=="
+ "resolved" "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz"
+ "version" "3.2.0"
dependencies:
"spdx-expression-parse" "^3.0.0"
"spdx-license-ids" "^3.0.0"
@@ -6643,9 +6728,9 @@
"spdx-license-ids" "^3.0.0"
"spdx-license-ids@^3.0.0":
- "integrity" "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ=="
- "resolved" "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz"
- "version" "3.0.7"
+ "integrity" "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw=="
+ "resolved" "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz"
+ "version" "3.0.16"
"split2@^3.0.0":
"integrity" "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg=="
@@ -6654,6 +6739,11 @@
dependencies:
"readable-stream" "^3.0.0"
+"split2@^4.0.0":
+ "integrity" "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg=="
+ "resolved" "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz"
+ "version" "4.2.0"
+
"sprintf-js@~1.0.2":
"integrity" "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
"resolved" "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz"
@@ -6959,10 +7049,10 @@
"glob" "^7.1.4"
"minimatch" "^3.0.4"
-"text-extensions@^1.0.0":
- "integrity" "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ=="
- "resolved" "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz"
- "version" "1.9.0"
+"text-extensions@^2.0.0":
+ "integrity" "sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g=="
+ "resolved" "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz"
+ "version" "2.4.0"
"text-table@^0.2.0":
"integrity" "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="
@@ -7047,16 +7137,16 @@
"punycode" "^2.1.1"
"trim-newlines@^3.0.0":
- "integrity" "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA=="
- "resolved" "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz"
- "version" "3.0.0"
+ "integrity" "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw=="
+ "resolved" "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz"
+ "version" "3.0.1"
"ts-interface-checker@^0.1.9":
"integrity" "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA=="
"resolved" "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz"
"version" "0.1.13"
-"ts-node@^10.7.0", "ts-node@>=9.0.0":
+"ts-node@>=9.0.0":
"integrity" "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A=="
"resolved" "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz"
"version" "10.7.0"
@@ -7161,7 +7251,7 @@
dependencies:
"is-typedarray" "^1.0.0"
-"typescript@^4.4.3", "typescript@^4.9.5", "typescript@>=2.7", "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", "typescript@>=3", "typescript@>=3.3.1":
+"typescript@^4.9.5", "typescript@>=2.7", "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", "typescript@>=3.3.1", "typescript@>=4", "typescript@>=4.9.5":
"integrity" "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g=="
"resolved" "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz"
"version" "4.9.5"
@@ -7176,6 +7266,11 @@
"has-symbols" "^1.0.3"
"which-boxed-primitive" "^1.0.2"
+"undici-types@~5.26.4":
+ "integrity" "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
+ "resolved" "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz"
+ "version" "5.26.5"
+
"unicode-canonical-property-names-ecmascript@^2.0.0":
"integrity" "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ=="
"resolved" "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz"
@@ -7205,9 +7300,9 @@
"version" "0.1.2"
"universalify@^2.0.0":
- "integrity" "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="
- "resolved" "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"
- "version" "2.0.0"
+ "integrity" "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw=="
+ "resolved" "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz"
+ "version" "2.0.1"
"unpipe@~1.0.0", "unpipe@1.0.0":
"integrity" "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="