init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

29
node_modules/fp-ts-local-storage/lib/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,29 @@
/**
* @since 0.2.0
*/
import { IO } from 'fp-ts/lib/IO';
import { Option } from 'fp-ts/lib/Option';
/**
* @since 0.2.0
*/
export declare const clear: IO<void>;
/**
* @since 0.2.0
*/
export declare function getItem(key: string): IO<Option<string>>;
/**
* @since 0.2.0
*/
export declare function key(index: number): IO<Option<string>>;
/**
* @since 0.2.0
*/
export declare const length: IO<number>;
/**
* @since 0.2.0
*/
export declare function removeItem(key: string): IO<void>;
/**
* @since 0.2.0
*/
export declare function setItem(key: string, value: string): IO<void>;

41
node_modules/fp-ts-local-storage/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,41 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Option_1 = require("fp-ts/lib/Option");
var _clear = function () { return localStorage.clear(); };
/**
* @since 0.2.0
*/
exports.clear = _clear;
/**
* @since 0.2.0
*/
function getItem(key) {
return function () { return Option_1.fromNullable(localStorage.getItem(key)); };
}
exports.getItem = getItem;
/**
* @since 0.2.0
*/
function key(index) {
return function () { return Option_1.fromNullable(localStorage.key(index)); };
}
exports.key = key;
var _length = function () { return localStorage.length; };
/**
* @since 0.2.0
*/
exports.length = _length;
/**
* @since 0.2.0
*/
function removeItem(key) {
return function () { return localStorage.removeItem(key); };
}
exports.removeItem = removeItem;
/**
* @since 0.2.0
*/
function setItem(key, value) {
return function () { return localStorage.setItem(key, value); };
}
exports.setItem = setItem;