Separate command descriptors from invocations
This commit is contained in:
parent
79e5121120
commit
80dae63a57
44 changed files with 438 additions and 86 deletions
|
|
@ -33,7 +33,7 @@ export type EveSurfaceStyles =
|
|||
|
||||
export interface EveCommandIntent {
|
||||
type: "surface-command";
|
||||
schema: "gamecult.eve.command.v1";
|
||||
schema: "gamecult.eve.command_invocation.v1";
|
||||
providerId: string;
|
||||
surfaceId: string;
|
||||
command: string;
|
||||
|
|
@ -2200,7 +2200,7 @@ export function createEveCommandIntent(
|
|||
const receiptSchema = firstString(worldInteraction.receiptSchema, props.receiptSchema, action.receiptSchema);
|
||||
const intent: EveCommandIntent = {
|
||||
type: "surface-command",
|
||||
schema: "gamecult.eve.command.v1",
|
||||
schema: "gamecult.eve.command_invocation.v1",
|
||||
providerId,
|
||||
surfaceId,
|
||||
command: commandId || stringProp(action.type, "invoke"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue