Skip to content

Commit

Permalink
feat: added modelID to PrototypeModel in base-types (RUN-26) (#547)
Browse files Browse the repository at this point in the history
### Brief description. What is this change?

Adds model ID to the PrototypeModel spec so general-runtime can access it when pulling a Version object. The ID is optional, and prototype is listed as a generic object for schema validation, so no updates to the ORM should be necessary.

This successfully builds and all tests pass.

### Related PRs

<!-- List related PRs against other branches -->

- https://github.com/voiceflow/XXXXXXXXX/pull/123

### Checklist

- [*] Breaking changes have been communicated, including:
    - New required environment variables
    - Renaming of interfaces (API routes, request/response interface, etc)
  • Loading branch information
Supremolink81 committed Oct 1, 2024
1 parent a23f557 commit 87eac81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/base-types/src/models/base/prototype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import type { Slot } from './slot';
export interface PrototypeModel {
slots: Slot[];
intents: Intent[];
modelID?: string;
}

0 comments on commit 87eac81

Please sign in to comment.