mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-02 17:03:42 -04:00
Correction to filter schema
This commit is contained in:
parent
6bc436aec2
commit
735a7082ee
1 changed files with 35 additions and 6 deletions
|
@ -183,12 +183,41 @@ _.extend UserSchema.properties,
|
||||||
description: 'A saved filter set'
|
description: 'A saved filter set'
|
||||||
required: ['phoneScreenFilter','schoolFilter','locationFilter','roleFilter','seniorityFilter','visa','filterActive']
|
required: ['phoneScreenFilter','schoolFilter','locationFilter','roleFilter','seniorityFilter','visa','filterActive']
|
||||||
}, {
|
}, {
|
||||||
phoneScreenFilter: phoneScreenFilter
|
phoneScreenFilter:
|
||||||
schoolFilter: schoolFilter
|
title: 'Phone screen filter values'
|
||||||
locationFilter: locationFilter
|
type: 'array'
|
||||||
roleFilter: roleFilter
|
items:
|
||||||
seniorityFilter: seniorityFilter
|
type: 'boolean'
|
||||||
visa: visa
|
schoolFilter:
|
||||||
|
title: 'School filter values'
|
||||||
|
type: 'array'
|
||||||
|
items:
|
||||||
|
type: schoolFilter.type
|
||||||
|
enum: schoolFilter.enum
|
||||||
|
locationFilter:
|
||||||
|
title: 'Location filter values'
|
||||||
|
type: 'array'
|
||||||
|
items:
|
||||||
|
type: locationFilter.type
|
||||||
|
enum: locationFilter.enum
|
||||||
|
roleFilter:
|
||||||
|
title: 'Role filter values'
|
||||||
|
type: 'array'
|
||||||
|
items:
|
||||||
|
type: roleFilter.type
|
||||||
|
enum: roleFilter.enum
|
||||||
|
seniorityFilter:
|
||||||
|
title: 'Seniority filter values'
|
||||||
|
type: 'array'
|
||||||
|
items:
|
||||||
|
type: roleFilter.type
|
||||||
|
enum: seniorityFilter.enum
|
||||||
|
visa:
|
||||||
|
title: 'Visa filter values'
|
||||||
|
type: 'array'
|
||||||
|
items:
|
||||||
|
type: visa.type
|
||||||
|
enum: visa.enum
|
||||||
filterActive:
|
filterActive:
|
||||||
title: 'Filter active'
|
title: 'Filter active'
|
||||||
description: 'Whether or not an employer will receive emails based on this filter'
|
description: 'Whether or not an employer will receive emails based on this filter'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue