Separate command descriptors from invocations
This commit is contained in:
parent
79e5121120
commit
80dae63a57
44 changed files with 438 additions and 86 deletions
|
|
@ -323,7 +323,7 @@ EveCommandIntent createEveCommandIntent(
|
|||
) {
|
||||
return EveCommandIntent(
|
||||
type: 'surface-command',
|
||||
schema: 'gamecult.eve.command.v1',
|
||||
schema: 'gamecult.eve.command_invocation.v1',
|
||||
providerId: state.providerId,
|
||||
surfaceId: state.surfaceId,
|
||||
command: command,
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ void main() {
|
|||
await tester.pump();
|
||||
|
||||
expect(intents, hasLength(1));
|
||||
expect(intents.single.schema, 'gamecult.eve.command.v1');
|
||||
expect(intents.single.schema, 'gamecult.eve.command_invocation.v1');
|
||||
expect(intents.single.providerId, 'aetheria');
|
||||
expect(intents.single.surfaceId, 'aetheria.daemon.game');
|
||||
expect(intents.single.command, 'aetheria.daemon.commands');
|
||||
|
|
|
|||
Loading…
Reference in a new issue