> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.SourcePatchFile.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface SourcePatchFile

```typescript
interface SourcePatchFile {
    after: string;
    artifacts?: { kind: "files"; ref: string }[];
    before: string;
    expectedVersion?: string;
    path: string;
}
```

Types: [after](#after), [artifacts](#artifacts), [before](#before), [expectedVersion](#expectedversion), [path](#path)

##### Index

### <a id="properties"></a>Properties

[after](#after) [artifacts?](#artifacts) [before](#before) [expectedVersion?](#expectedversion) [path](#path)

## <a id="properties-1"></a>Properties

### <a id="after"></a>after

```typescript
after: string
```

### <a id="artifacts"></a>`Optional`artifacts

```typescript
artifacts?: { kind: "files"; ref: string }[]
```

### <a id="before"></a>before

```typescript
before: string
```

### <a id="expectedversion"></a>`Optional`expectedVersion

```typescript
expectedVersion?: string
```

### <a id="path"></a>path

```typescript
path: string
```
