# encore.dev/validate

## Type Aliases

### EndsWith

```ts
type EndsWith<S> = {
  [___validate]?: {
     endsWith: S;
  };
};
```

#### Type Parameters

##### S

`S` *extends* `string`

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  endsWith: S;
};
```

###### endsWith

`endsWith: S`

***

### IsEmail

```ts
type IsEmail = {
  [___validate]?: {
     isEmail: true;
  };
};
```

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  isEmail: true;
};
```

###### isEmail

`isEmail: true`

***

### IsURL

```ts
type IsURL = {
  [___validate]?: {
     isURL: true;
  };
};
```

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  isURL: true;
};
```

###### isURL

`isURL: true`

***

### MatchesRegexp

```ts
type MatchesRegexp<S> = {
  [___validate]?: {
     matchesRegexp: S;
  };
};
```

#### Type Parameters

##### S

`S` *extends* `string`

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  matchesRegexp: S;
};
```

###### matchesRegexp

`matchesRegexp: S`

***

### Max

```ts
type Max<N> = {
  [___validate]?: {
     maxValue: N;
  };
};
```

#### Type Parameters

##### N

`N` *extends* `number`

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  maxValue: N;
};
```

###### maxValue

`maxValue: N`

***

### MaxLen

```ts
type MaxLen<N> = {
  [___validate]?: {
     maxLen: N;
  };
};
```

#### Type Parameters

##### N

`N` *extends* `number`

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  maxLen: N;
};
```

###### maxLen

`maxLen: N`

***

### Min

```ts
type Min<N> = {
  [___validate]?: {
     minValue: N;
  };
};
```

#### Type Parameters

##### N

`N` *extends* `number`

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  minValue: N;
};
```

###### minValue

`minValue: N`

***

### MinLen

```ts
type MinLen<N> = {
  [___validate]?: {
     minLen: N;
  };
};
```

#### Type Parameters

##### N

`N` *extends* `number`

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  minLen: N;
};
```

###### minLen

`minLen: N`

***

### StartsWith

```ts
type StartsWith<S> = {
  [___validate]?: {
     startsWith: S;
  };
};
```

#### Type Parameters

##### S

`S` *extends* `string`

#### Properties

##### \[\_\_\_validate\]?

```ts
optional [___validate]?: {
  startsWith: S;
};
```

###### startsWith

`startsWith: S`
