package metadata

func listInternalFieldTypes() []*FieldType {
	return []*FieldType{
		&FieldType{
			Name:        "_bool",
			DatamanType: Bool,
		},
		&FieldType{
			Name:        "_datetime",
			DatamanType: DateTime,
		},
		&FieldType{
			Name:        "_document",
			DatamanType: Document,
		},
		&FieldType{
			Name:        "_int",
			DatamanType: Int,
		},
		&FieldType{
			Name:        "_string",
			DatamanType: String,
		},
		&FieldType{
			Name:        "_text",
			DatamanType: Text,
		},

		/*
			// TODO: move out to database?
			&FieldType{
				Name:        "age",
				DatamanType: Int,
				Constraints: []*ConstraintInstance{
					&ConstraintInstance{
						Type: LessThan,
						Args: map[string]interface{}{"value": 200},
					},
				},
			},

			&FieldType{
				Name:        "phone number",
				DatamanType: String,
				Constraints: []*ConstraintInstance{
					&ConstraintInstance{
						Type: LessThanEqual,
						Args: map[string]interface{}{"value": 10},
					},
				},
			},
		*/
	}
}

package metadata

func listInternalFieldTypes() []*FieldType {
	return []*FieldType{
		&FieldType{
			Name:        "_bool",
			DatamanType: Bool,
		},
		&FieldType{
			Name:        "_datetime",
			DatamanType: DateTime,
		},
		&FieldType{
			Name:        "_document",
			DatamanType: Document,
		},
		&FieldType{
			Name:        "_int",
			DatamanType: Int,
		},
		&FieldType{
			Name:        "_string",
			DatamanType: String,
		},
		&FieldType{
			Name:        "_text",
			DatamanType: Text,
		},
	}
}

Remove unused examples (pulled from DB now)
Remove unused examples (pulled from DB now)
