@contember/engine-actions 2.2.0-alpha.18 → 2.2.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/development/src/graphql/schema/actions.graphql.cjs +7 -3
- package/dist/development/src/graphql/schema/actions.graphql.cjs.map +1 -1
- package/dist/development/src/graphql/schema/actions.graphql.js +7 -3
- package/dist/development/src/graphql/schema/actions.graphql.js.map +1 -1
- package/dist/production/src/graphql/schema/actions.graphql.cjs +7 -3
- package/dist/production/src/graphql/schema/actions.graphql.cjs.map +1 -1
- package/dist/production/src/graphql/schema/actions.graphql.js +7 -3
- package/dist/production/src/graphql/schema/actions.graphql.js.map +1 -1
- package/dist/tests/tsconfig.tsbuildinfo +1 -1
- package/dist/types/graphql/schema/actions.graphql.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -18
- package/src/graphql/schema/actions.graphql.ts +6 -4
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
const schema =
|
|
3
|
+
const graphql = require("graphql");
|
|
4
|
+
const schema = graphql.parse(
|
|
5
|
+
/* GraphQL */
|
|
6
|
+
`
|
|
5
7
|
scalar DateTime
|
|
6
8
|
scalar Json
|
|
7
9
|
scalar UUID
|
|
@@ -114,6 +116,8 @@ const schema = graphqlTag.gql`
|
|
|
114
116
|
ENVIRONMENT
|
|
115
117
|
}
|
|
116
118
|
|
|
117
|
-
|
|
119
|
+
`,
|
|
120
|
+
{ noLocation: true }
|
|
121
|
+
);
|
|
118
122
|
exports.schema = schema;
|
|
119
123
|
//# sourceMappingURL=actions.graphql.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.graphql.cjs","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"actions.graphql.cjs","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import { DocumentNode, parse } from 'graphql'\n\nexport const schema: DocumentNode = parse(\n\t/* GraphQL */ `\n scalar DateTime\n scalar Json\n scalar UUID\n\n schema {\n query: Query\n mutation: Mutation\n }\n\n type Query {\n failedEvents(args: EventArgs): [Event!]!\n eventsToProcess(args: EventArgs): [Event!]!\n eventsInProcessing(args: EventArgs): [Event!]!\n event(id: UUID!): Event\n variables: [Variable!]!\n }\n\n type Mutation {\n processBatch: ProcessBatchResponse!\n retryEvent(id: UUID!): RetryEventResponse!\n stopEvent(id: UUID!): StopEventResponse!\n setVariables(args: SetVariablesArgs!): SetVariablesResponse!\n }\n\n input EventArgs {\n offset: Int\n \"Max 10000\"\n limit: Int\n }\n\n type Event {\n id: UUID!\n transactionId: UUID!\n identityId: UUID\n ipAddress: String\n userAgent: String\n createdAt: DateTime!\n lastStateChange: DateTime!\n resolvedAt: DateTime\n visibleAt: DateTime\n numRetries: Int!\n state: EventState!\n stage: String!\n target: String!\n payload: Json!\n log: Json!\n }\n\n enum EventState {\n created\n retrying\n processing\n succeed\n failed\n stopped\n }\n\n type ProcessBatchResponse {\n ok: Boolean!\n }\n\n type RetryEventResponse {\n ok: Boolean!\n }\n\n type StopEventResponse {\n ok: Boolean!\n }\n\n input SetVariablesArgs {\n variables: [VariableInput!]!\n mode: SetVariablesMode\n }\n\n\t\"\"\"\n\tDefines how it handles original variables.\n\t- MERGE merges with new values (default behaviour)\n\t- SET replaces all variables\n\t- APPEND_ONLY_MISSING appends values if not already exist\n\t\"\"\"\n\tenum SetVariablesMode {\n\t\tMERGE\n\t\tSET\n\t\tAPPEND_ONLY_MISSING\n\t}\n\n input VariableInput {\n name: String!\n value: String!\n }\n\n\ttype SetVariablesResponse {\n\t\tok: Boolean!\n\t}\n\n type Variable {\n name: String!\n \"\"\"Null when the value is not readable, which is every ENVIRONMENT one.\"\"\"\n value: String\n source: VariableSource!\n }\n\n\t\"\"\"\n\tWhere the value comes from.\n\t- DATABASE is stored in the project database, readable and writable with setVariables\n\t- ENVIRONMENT is supplied by the engine environment, overrides a stored value of the same name, and is neither readable nor writable\n\t\"\"\"\n\tenum VariableSource {\n\t\tDATABASE\n\t\tENVIRONMENT\n\t}\n\n`,\n\t{ noLocation: true },\n)\n"],"names":["parse"],"mappings":";;;AAEO,MAAM,SAAuBA,QAAAA;AAAAA;AAAAA,EACrB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkHd,EAAE,YAAY,KAAA;AACf;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const schema =
|
|
1
|
+
import { parse } from "graphql";
|
|
2
|
+
const schema = parse(
|
|
3
|
+
/* GraphQL */
|
|
4
|
+
`
|
|
3
5
|
scalar DateTime
|
|
4
6
|
scalar Json
|
|
5
7
|
scalar UUID
|
|
@@ -112,7 +114,9 @@ const schema = gql`
|
|
|
112
114
|
ENVIRONMENT
|
|
113
115
|
}
|
|
114
116
|
|
|
115
|
-
|
|
117
|
+
`,
|
|
118
|
+
{ noLocation: true }
|
|
119
|
+
);
|
|
116
120
|
export {
|
|
117
121
|
schema
|
|
118
122
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.graphql.js","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"actions.graphql.js","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import { DocumentNode, parse } from 'graphql'\n\nexport const schema: DocumentNode = parse(\n\t/* GraphQL */ `\n scalar DateTime\n scalar Json\n scalar UUID\n\n schema {\n query: Query\n mutation: Mutation\n }\n\n type Query {\n failedEvents(args: EventArgs): [Event!]!\n eventsToProcess(args: EventArgs): [Event!]!\n eventsInProcessing(args: EventArgs): [Event!]!\n event(id: UUID!): Event\n variables: [Variable!]!\n }\n\n type Mutation {\n processBatch: ProcessBatchResponse!\n retryEvent(id: UUID!): RetryEventResponse!\n stopEvent(id: UUID!): StopEventResponse!\n setVariables(args: SetVariablesArgs!): SetVariablesResponse!\n }\n\n input EventArgs {\n offset: Int\n \"Max 10000\"\n limit: Int\n }\n\n type Event {\n id: UUID!\n transactionId: UUID!\n identityId: UUID\n ipAddress: String\n userAgent: String\n createdAt: DateTime!\n lastStateChange: DateTime!\n resolvedAt: DateTime\n visibleAt: DateTime\n numRetries: Int!\n state: EventState!\n stage: String!\n target: String!\n payload: Json!\n log: Json!\n }\n\n enum EventState {\n created\n retrying\n processing\n succeed\n failed\n stopped\n }\n\n type ProcessBatchResponse {\n ok: Boolean!\n }\n\n type RetryEventResponse {\n ok: Boolean!\n }\n\n type StopEventResponse {\n ok: Boolean!\n }\n\n input SetVariablesArgs {\n variables: [VariableInput!]!\n mode: SetVariablesMode\n }\n\n\t\"\"\"\n\tDefines how it handles original variables.\n\t- MERGE merges with new values (default behaviour)\n\t- SET replaces all variables\n\t- APPEND_ONLY_MISSING appends values if not already exist\n\t\"\"\"\n\tenum SetVariablesMode {\n\t\tMERGE\n\t\tSET\n\t\tAPPEND_ONLY_MISSING\n\t}\n\n input VariableInput {\n name: String!\n value: String!\n }\n\n\ttype SetVariablesResponse {\n\t\tok: Boolean!\n\t}\n\n type Variable {\n name: String!\n \"\"\"Null when the value is not readable, which is every ENVIRONMENT one.\"\"\"\n value: String\n source: VariableSource!\n }\n\n\t\"\"\"\n\tWhere the value comes from.\n\t- DATABASE is stored in the project database, readable and writable with setVariables\n\t- ENVIRONMENT is supplied by the engine environment, overrides a stored value of the same name, and is neither readable nor writable\n\t\"\"\"\n\tenum VariableSource {\n\t\tDATABASE\n\t\tENVIRONMENT\n\t}\n\n`,\n\t{ noLocation: true },\n)\n"],"names":[],"mappings":";AAEO,MAAM,SAAuB;AAAA;AAAA,EACrB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkHd,EAAE,YAAY,KAAA;AACf;"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
const schema =
|
|
3
|
+
const graphql = require("graphql");
|
|
4
|
+
const schema = graphql.parse(
|
|
5
|
+
/* GraphQL */
|
|
6
|
+
`
|
|
5
7
|
scalar DateTime
|
|
6
8
|
scalar Json
|
|
7
9
|
scalar UUID
|
|
@@ -114,6 +116,8 @@ const schema = graphqlTag.gql`
|
|
|
114
116
|
ENVIRONMENT
|
|
115
117
|
}
|
|
116
118
|
|
|
117
|
-
|
|
119
|
+
`,
|
|
120
|
+
{ noLocation: true }
|
|
121
|
+
);
|
|
118
122
|
exports.schema = schema;
|
|
119
123
|
//# sourceMappingURL=actions.graphql.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.graphql.cjs","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"actions.graphql.cjs","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import { DocumentNode, parse } from 'graphql'\n\nexport const schema: DocumentNode = parse(\n\t/* GraphQL */ `\n scalar DateTime\n scalar Json\n scalar UUID\n\n schema {\n query: Query\n mutation: Mutation\n }\n\n type Query {\n failedEvents(args: EventArgs): [Event!]!\n eventsToProcess(args: EventArgs): [Event!]!\n eventsInProcessing(args: EventArgs): [Event!]!\n event(id: UUID!): Event\n variables: [Variable!]!\n }\n\n type Mutation {\n processBatch: ProcessBatchResponse!\n retryEvent(id: UUID!): RetryEventResponse!\n stopEvent(id: UUID!): StopEventResponse!\n setVariables(args: SetVariablesArgs!): SetVariablesResponse!\n }\n\n input EventArgs {\n offset: Int\n \"Max 10000\"\n limit: Int\n }\n\n type Event {\n id: UUID!\n transactionId: UUID!\n identityId: UUID\n ipAddress: String\n userAgent: String\n createdAt: DateTime!\n lastStateChange: DateTime!\n resolvedAt: DateTime\n visibleAt: DateTime\n numRetries: Int!\n state: EventState!\n stage: String!\n target: String!\n payload: Json!\n log: Json!\n }\n\n enum EventState {\n created\n retrying\n processing\n succeed\n failed\n stopped\n }\n\n type ProcessBatchResponse {\n ok: Boolean!\n }\n\n type RetryEventResponse {\n ok: Boolean!\n }\n\n type StopEventResponse {\n ok: Boolean!\n }\n\n input SetVariablesArgs {\n variables: [VariableInput!]!\n mode: SetVariablesMode\n }\n\n\t\"\"\"\n\tDefines how it handles original variables.\n\t- MERGE merges with new values (default behaviour)\n\t- SET replaces all variables\n\t- APPEND_ONLY_MISSING appends values if not already exist\n\t\"\"\"\n\tenum SetVariablesMode {\n\t\tMERGE\n\t\tSET\n\t\tAPPEND_ONLY_MISSING\n\t}\n\n input VariableInput {\n name: String!\n value: String!\n }\n\n\ttype SetVariablesResponse {\n\t\tok: Boolean!\n\t}\n\n type Variable {\n name: String!\n \"\"\"Null when the value is not readable, which is every ENVIRONMENT one.\"\"\"\n value: String\n source: VariableSource!\n }\n\n\t\"\"\"\n\tWhere the value comes from.\n\t- DATABASE is stored in the project database, readable and writable with setVariables\n\t- ENVIRONMENT is supplied by the engine environment, overrides a stored value of the same name, and is neither readable nor writable\n\t\"\"\"\n\tenum VariableSource {\n\t\tDATABASE\n\t\tENVIRONMENT\n\t}\n\n`,\n\t{ noLocation: true },\n)\n"],"names":["parse"],"mappings":";;;AAEO,MAAM,SAAuBA,QAAAA;AAAAA;AAAAA,EACrB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkHd,EAAE,YAAY,KAAA;AACf;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const schema =
|
|
1
|
+
import { parse } from "graphql";
|
|
2
|
+
const schema = parse(
|
|
3
|
+
/* GraphQL */
|
|
4
|
+
`
|
|
3
5
|
scalar DateTime
|
|
4
6
|
scalar Json
|
|
5
7
|
scalar UUID
|
|
@@ -112,7 +114,9 @@ const schema = gql`
|
|
|
112
114
|
ENVIRONMENT
|
|
113
115
|
}
|
|
114
116
|
|
|
115
|
-
|
|
117
|
+
`,
|
|
118
|
+
{ noLocation: true }
|
|
119
|
+
);
|
|
116
120
|
export {
|
|
117
121
|
schema
|
|
118
122
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.graphql.js","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"actions.graphql.js","sources":["../../../../../../packages/engine-actions/src/graphql/schema/actions.graphql.ts"],"sourcesContent":["import { DocumentNode, parse } from 'graphql'\n\nexport const schema: DocumentNode = parse(\n\t/* GraphQL */ `\n scalar DateTime\n scalar Json\n scalar UUID\n\n schema {\n query: Query\n mutation: Mutation\n }\n\n type Query {\n failedEvents(args: EventArgs): [Event!]!\n eventsToProcess(args: EventArgs): [Event!]!\n eventsInProcessing(args: EventArgs): [Event!]!\n event(id: UUID!): Event\n variables: [Variable!]!\n }\n\n type Mutation {\n processBatch: ProcessBatchResponse!\n retryEvent(id: UUID!): RetryEventResponse!\n stopEvent(id: UUID!): StopEventResponse!\n setVariables(args: SetVariablesArgs!): SetVariablesResponse!\n }\n\n input EventArgs {\n offset: Int\n \"Max 10000\"\n limit: Int\n }\n\n type Event {\n id: UUID!\n transactionId: UUID!\n identityId: UUID\n ipAddress: String\n userAgent: String\n createdAt: DateTime!\n lastStateChange: DateTime!\n resolvedAt: DateTime\n visibleAt: DateTime\n numRetries: Int!\n state: EventState!\n stage: String!\n target: String!\n payload: Json!\n log: Json!\n }\n\n enum EventState {\n created\n retrying\n processing\n succeed\n failed\n stopped\n }\n\n type ProcessBatchResponse {\n ok: Boolean!\n }\n\n type RetryEventResponse {\n ok: Boolean!\n }\n\n type StopEventResponse {\n ok: Boolean!\n }\n\n input SetVariablesArgs {\n variables: [VariableInput!]!\n mode: SetVariablesMode\n }\n\n\t\"\"\"\n\tDefines how it handles original variables.\n\t- MERGE merges with new values (default behaviour)\n\t- SET replaces all variables\n\t- APPEND_ONLY_MISSING appends values if not already exist\n\t\"\"\"\n\tenum SetVariablesMode {\n\t\tMERGE\n\t\tSET\n\t\tAPPEND_ONLY_MISSING\n\t}\n\n input VariableInput {\n name: String!\n value: String!\n }\n\n\ttype SetVariablesResponse {\n\t\tok: Boolean!\n\t}\n\n type Variable {\n name: String!\n \"\"\"Null when the value is not readable, which is every ENVIRONMENT one.\"\"\"\n value: String\n source: VariableSource!\n }\n\n\t\"\"\"\n\tWhere the value comes from.\n\t- DATABASE is stored in the project database, readable and writable with setVariables\n\t- ENVIRONMENT is supplied by the engine environment, overrides a stored value of the same name, and is neither readable nor writable\n\t\"\"\"\n\tenum VariableSource {\n\t\tDATABASE\n\t\tENVIRONMENT\n\t}\n\n`,\n\t{ noLocation: true },\n)\n"],"names":[],"mappings":";AAEO,MAAM,SAAuB;AAAA;AAAA,EACrB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkHd,EAAE,YAAY,KAAA;AACf;"}
|