Skip to content

Instantly share code, notes, and snippets.

@scott-joe
Last active August 29, 2015 14:18

Revisions

  1. Scott Williams revised this gist Apr 6, 2015. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions filter-doc.json
    Original file line number Diff line number Diff line change
    @@ -15,10 +15,12 @@
    },
    "do": {
    "label": ["which labels to apply"],
    "read": false,
    "archive": false,
    "read": true,
    "archive": true,
    "important": false,
    "smartLabel": null
    "star": false,
    "delete": false,
    "category": null
    }
    }
    ]
  2. Scott Williams revised this gist Apr 6, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion filter-doc.json
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@
    "filter-groups": [{
    "operator": "one of: AND, OR",
    "target": "one of: from, to, subject, body",
    "ingredients": ["`operator` is added between each of these indicies"]
    "keywords": ["`operator` is added between each of these indicies"]
    }]
    },
    "do": {
  3. Scott Williams renamed this gist Apr 6, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. Scott Williams renamed this gist Apr 6, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. Scott Williams created this gist Apr 6, 2015.
    24 changes: 24 additions & 0 deletions gistfile1.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    [
    {
    "name": "Email Filter Datastore",
    "author": {
    "name": "Scott Williams",
    "email": "[email protected]"
    },
    "filters": {
    "operator": "one of: AND, OR. Is added between each filter group",
    "filter-groups": [{
    "operator": "one of: AND, OR",
    "target": "one of: from, to, subject, body",
    "ingredients": ["`operator` is added between each of these indicies"]
    }]
    },
    "do": {
    "label": ["which labels to apply"],
    "read": false,
    "archive": false,
    "important": false,
    "smartLabel": null
    }
    }
    ]