-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from Code-Inspect/276-document-the-new-main-f…
…lowr-script document the new main flowr script
- Loading branch information
Showing
12 changed files
with
100 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import { FlowrBaseMessage } from './messages' | ||
|
||
/** | ||
* Sent in case of any error (e.g., if the analysis fails, or the message contains syntax errors). | ||
*/ | ||
export interface FlowrErrorMessage extends FlowrBaseMessage { | ||
type: 'error', | ||
/** if fatal, the connection will be partially closed afterward */ | ||
fatal: boolean, | ||
/** the human-readable reason for the error */ | ||
reason: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
import { VersionInformation } from '../../commands/version' | ||
import { FlowrBaseMessage } from './messages' | ||
|
||
/** | ||
* The hello message is automatically send by the sever upon connection. | ||
*/ | ||
export interface FlowrHelloResponseMessage extends FlowrBaseMessage { | ||
type: 'hello', | ||
/** The hello message never has an id, it is always undefined */ | ||
id: undefined, | ||
/** a unique name assigned to each client it has no semantic meaning and is only used for debugging */ | ||
/** | ||
* A unique name that is assigned to each client. | ||
* It has no semantic meaning and is only used/useful for debugging. | ||
*/ | ||
clientName: string, | ||
/** | ||
* Describes which versions are in use on the server. | ||
* @see VersionInformation | ||
*/ | ||
versions: VersionInformation | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
*/ | ||
|
||
export const MIN_VERSION_PIPE = "4.1.0" | ||
export const MIN_VERSION_LAMBDA = "4.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters