ICBucket
ICBucketv1.0
Overview
  • Introduction
  • Quick Start
  • Installation
Guides
  • Configuration
  • Authentication
  • Basic Usage
  • Best Practices
API Reference
  • API Overview
  • API Endpoints
  • API Requests
  • API Responses
Errors
  • Error Codes
  • Error Handling
  • Troubleshooting
Deployment
  • Local Development
  • Production Deployment
Reference
  • Configuration Reference
  • Types Reference
  • Changelog
FAQ
  • Frequently Asked Questions
PricingGitLabNew bucket
  1. ICBucket
  2. Reference
  3. Types Reference

Types Reference

Core TypeScript interfaces and Candid IDL signatures used across the ICBucket ecosystem.

Types Reference

This document provides TypeScript type definitions for objects returned by the ICBucket SDK.

Core Types#

FilePublic#

export interface FilePublic {
  name: string
  path: string
  sizeBytes: number
  contentType: string
  publicUrl: string
  rawUrl: string
  sha256: string
  createdAt: number
  tags?: string[]
}

BucketStats#

export interface BucketStats {
  id: string
  name: string
  capacityBytes: number
  usedBytes: number
  fileCount: number
  tier: "starter" | "pro" | "enterprise"
  expiresAt: number
}

FileListPage#

export interface FileListPage {
  items: FilePublic[]
  page: number
  pageSize: number
  total: number
  totalPages: number
}

Related Pages#

  • Configuration Reference
  • API Endpoints
  • Responses
PreviousConfiguration ReferenceNextChangelog
Edit this page on GitLabUpdated recently

On this page

Core TypesFilePublicBucketStatsFileListPageRelated Pages

Search documentation

Quickly find guides, APIs, and reference docs