Update all model classes to Electron API 39.2

This commit is contained in:
softworkz
2025-11-22 02:16:10 +01:00
parent 1d554fda60
commit 6761119241
114 changed files with 1527 additions and 499 deletions

View File

@@ -1,15 +1,17 @@
namespace ElectronNET.API.Entities
{
/// <summary>
/// Interface to use Electrons PostData Object
/// Represents a postData item for loadURL/webContents.loadURL options.
/// Valid types per Electron docs: 'rawData' and 'file'.
/// </summary>
/// <remarks>Up-to-date with Electron API 39.2</remarks>
public interface IPostData
{
/// <summary>
/// One of the following:
/// rawData - <see cref="UploadRawData"/> The data is available as a Buffer, in the rawData field.
/// file - <see cref="UploadFile"/> The object represents a file. The filePath, offset, length and modificationTime fields will be used to describe the file.
/// blob - <see cref="Blob"/> The object represents a Blob. The blobUUID field will be used to describe the Blob.
/// rawData - <see cref="UploadRawData"/>.
/// file - <see cref="UploadFile"/>.
/// Based on Electron postData definitions.
/// </summary>
public string Type { get; }
}