Add upload attachment ability into sdk

This commit is contained in:
2025-01-10 21:40:59 +08:00
parent d8f51e305b
commit b5765877af
8 changed files with 416 additions and 3 deletions

View File

@ -0,0 +1,24 @@
export interface MaRelease {
id: number
created_at: Date
updated_at: Date
deleted_at?: Date
version: string
type: number
channel: string
assets: Record<string, any>
product_id: number
meta: MaReleaseMeta
}
export interface MaReleaseMeta {
id: number
created_at: Date
updated_at: Date
deleted_at?: Date
title: string
description: string
content: string
attachments: string[]
release_id: number
}