Skip to Content

The SievePutResult type of the TypeScript SDK, which sieve.putScript take or answer.

type SievePutResult = {
  created: boolean
  name: string
  stored: boolean
}

Fields

FieldTypeDescription
createdbooleanTrue if a new script was created (false if replaced)
namestringScript name
storedbooleanTrue if script was stored successfully

Used by

MethodWhat it does
sieve.putScriptUpload or replace a Sieve filter script

On this page