# SaveDocumentInfo

## Content

# Type Alias: SaveDocumentInfo

```ts
type SaveDocumentInfo = object;
```

## Properties

### id?

```ts
optional id?: string;
```

If an existing document is to be overwritten on saving,
the correct id should be specified explicitly

***

### isFirstSave

```ts
isFirstSave: boolean;
```

Indicates that a new document is being saved for the first time

***

### name

```ts
name: string;
```

The correct name must be specified explicitly

***

### success?

```ts
optional success?: boolean;
```

undefined in onBefore**** handlers.
Should be defined in onAfter****

***

### type

```ts
type: SupportedDocumentType;
```

Type of the document
