export const getAdminTransactions = async (
paginationArg: TPaginationArgs = { limit: 10, page: 1 },
filters?: Record<string, any>,
): Promise<TGetListTransactions> => {
const { limit, page } = paginationArg;
const filtersToStr = getFilterPath(filters);
try {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Newsletter</title> | |
<style> | |
* { | |
padding: 0; | |
margin: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Meilleurs Services Informatiques - Tech Solutions</title> | |
<link | |
rel="stylesheet" | |
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Link from 'next/link'; | |
import Image from 'next/image'; | |
import { Title } from '@/components/ui/text'; | |
import { Button } from '@/components/ui/button'; | |
import { PiHouseLineBold } from 'react-icons/pi'; | |
import SocialItems from '@/components/ui/social-shares'; | |
import NotFoundImg from '@public/not-found.png'; | |
export default function NotFound() { |
export function enumToKeyValueArray<E extends Record<string, string | number>>(
enumObj: E
): KeyValueEntry<keyof E, E[keyof E]>[] {
return Object.entries(enumObj).map(([key, value]) => ({
value: key as keyof E,
label: value as E[keyof E],
}));
}
[
{"code": "AFG", "pays": "Afghanistan"},
{"code": "ALB", "pays": "Albanie"},
{"code": "DZA", "pays": "Algérie"},
{"code": "AND", "pays": "Andorre"},
{"code": "AGO", "pays": "Angola"},
{"code": "ATG", "pays": "Antigua-et-Barbuda"},
{"code": "ARG", "pays": "Argentine"},
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please enter a MongoDB connection string (Default: mongodb://localhost/): | |
Current Mongosh Log ID: 6639e4bc72218249cf12686a | |
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.8.1 | |
Using MongoDB: 7.0.9 | |
Using Mongosh: 1.8.1 | |
hospital> db.patients.insertMany([ { "name": "kouame", "age": 27, "history": [{ disease: "cold" }] }, { "name": "yao", "age": 24, "history": [{ disease: "headach" }] }, { "name": "jean", "age": 45, "history": [{ disease: "cold" }] }]) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Foodio</title> | |
<link rel="stylesheet" href="style.css"> | |
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap" rel="stylesheet"> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @swagger | |
* /auth/login: | |
* post: | |
* summary: Authentification de l'utilisateur | |
* description: Authentifie l'utilisateur avec les informations de connexion fournies. | |
* requestBody: | |
* required: true | |
* content: | |
* application/json: |
NewerOlder