Fix types

This commit is contained in:
Arnaud 2024-11-01 20:14:33 +01:00
parent 8a4ee9855f
commit 6eaa2e05d6
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
3 changed files with 9 additions and 9 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@codex-storage/sdk-js",
"version": "0.0.14",
"version": "0.0.15",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@codex-storage/sdk-js",
"version": "0.0.14",
"version": "0.0.15",
"license": "MIT",
"dependencies": {
"valibot": "^0.32.0"

View File

@ -1,6 +1,6 @@
{
"name": "@codex-storage/sdk-js",
"version": "0.0.14",
"version": "0.0.15",
"description": "Codex SDK to interact with the Codex decentralized storage network.",
"repository": {
"type": "git",

View File

@ -32,19 +32,19 @@ export type CodexManifest = {
treeCid: string;
/**
* Name of the name (not implemeted yet)
* Name of the name
*/
filename: string;
filename: string | null;
/**
* Mimetype (not implemeted yet)
* Mimetype
*/
mimetype: string;
mimetype: string | null;
/**
* Date of upload (not implemented at)
* Date of upload
*/
uploadedAt: string;
uploadedAt: number;
};
export type CodexDataContent = {