Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

permanentDelete through SDK

オープン
#1,932 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
api

調査の方向性

Start with the JavaScript SDK's support for the Microsoft Graph driveItem operations and compare the existing delete usage with the linked driveitem-permanentdelete API documentation. Confirm how the permanent-delete operation should be exposed through the SDK and verify that callers can invoke it for a OneDrive file.

索引モデルが issue の本文から書いたものです。

説明

status:waiting-for-triage type:feature
Is your feature request related to a problem? Please describe the problem.

We are using the SDK in a project where we regularly need to delete files that were temporarily uploaded to OneDrive.

To do this, we use the delete function as provided by the npm package (3.0.7):

async function deleteFile(file) {
  await client
    .api(`/sites/${SITE_ID}/drive/root:/${file.id}.${file.extension}`)
    .delete();
}

However, we now noticed that the deleted files end up in the recycle bin of the site, instead of being permanently deleted. This is confirmed by the MS Graph docs: https://learn.microsoft.com/en-us/graph/api/driveitem-delete

Describe the solution you'd like.

What we really need seems to be driveitem-permanentdelete.

I couldn't find a function in the package that supports this. Is there one? If no, it there a possibility to add it?

Thanks in advance!

Additional context?

No response

主要言語
TypeScript
スター
833
フォーク
240
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoftgraph/msgraph-sdk-javascript のほかの issue

microsoftgraph/msgraph-sdk-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。