Type Alias WritableFileCommonSettings

WritableFileCommonSettings: {
    cacheControl?: string | null;
    contentDisposition?: string | null;
    contentEncoding?: string | null;
    contentLanguage?: string | null;
    contentType?: string;
}

IMPORT_PATH: "@daiso-tech/core/file-storage/contracts"

Type declaration

  • OptionalcacheControl?: string | null

    Note a default value is always provided. To explicitly unset a field and prevent it from being passed to the underlying adapter, pass in null.

  • OptionalcontentDisposition?: string | null

    Note a default value is always provided. To explicitly unset a field and prevent it from being passed to the underlying adapter, pass in null.

  • OptionalcontentEncoding?: string | null

    Note a default value is always provided. To explicitly unset a field and prevent it from being passed to the underlying adapter, pass in null.

  • OptionalcontentLanguage?: string | null

    Note a default value is always provided. To explicitly unset a field and prevent it from being passed to the underlying adapter, pass in null.

  • OptionalcontentType?: string

    You can explicitly set a custom Content-Type. If one is not provided, it will be inferred from the key. For example, a key ending in .txt (such as key-a.txt) will be assigned text/plain. If the key contains a non-standard extension it will default to application/octet-stream.