Skip to Content

The SieveScriptBody type of the TypeScript SDK, which sieve.getScript take or answer.

type SieveScriptBody = {
  active: boolean
  name: string
  script: string
  updatedAt: number
}

Fields

FieldTypeDescription
activebooleanTrue if this script is currently active
namestringScript name
scriptstringSieve script source code text
updatedAtnumberLast updated timestamp in epoch seconds

Used by

MethodWhat it does
sieve.getScriptGet Sieve filter script source

On this page