@vicinae/api 0.15.4 → 0.15.6

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.
@@ -19,6 +19,33 @@ export interface DmenuRequest {
19
19
  sectionTitle: string;
20
20
  noSection: boolean;
21
21
  }
22
+ export interface LaunchAppRequest {
23
+ appId: string;
24
+ args: string[];
25
+ newInstance: boolean;
26
+ }
27
+ export interface LaunchAppResponse {
28
+ error: string;
29
+ focusedWindowTitle: string;
30
+ }
31
+ export interface ListAppsRequest {
32
+ withActions: boolean;
33
+ }
34
+ export interface AppInfo {
35
+ id: string;
36
+ name: string;
37
+ hidden: boolean;
38
+ path: string;
39
+ description: string;
40
+ program: string;
41
+ isTerminalApp: boolean;
42
+ keywords: string[];
43
+ iconUrl: string;
44
+ isAction: boolean;
45
+ }
46
+ export interface ListAppsResponse {
47
+ apps: AppInfo[];
48
+ }
22
49
  export interface DmenuResponse {
23
50
  output: string;
24
51
  }
@@ -26,17 +53,26 @@ export interface Request {
26
53
  ping?: PingRequest | undefined;
27
54
  url?: UrlRequest | undefined;
28
55
  dmenu?: DmenuRequest | undefined;
56
+ launchApp?: LaunchAppRequest | undefined;
57
+ listApps?: ListAppsRequest | undefined;
29
58
  }
30
59
  export interface Response {
31
60
  ping?: PingResponse | undefined;
32
61
  url?: UrlResponse | undefined;
33
62
  dmenu?: DmenuResponse | undefined;
63
+ launchApp?: LaunchAppResponse | undefined;
64
+ listApps?: ListAppsResponse | undefined;
34
65
  }
35
66
  export declare const UrlResponse: MessageFns<UrlResponse>;
36
67
  export declare const UrlRequest: MessageFns<UrlRequest>;
37
68
  export declare const PingRequest: MessageFns<PingRequest>;
38
69
  export declare const PingResponse: MessageFns<PingResponse>;
39
70
  export declare const DmenuRequest: MessageFns<DmenuRequest>;
71
+ export declare const LaunchAppRequest: MessageFns<LaunchAppRequest>;
72
+ export declare const LaunchAppResponse: MessageFns<LaunchAppResponse>;
73
+ export declare const ListAppsRequest: MessageFns<ListAppsRequest>;
74
+ export declare const AppInfo: MessageFns<AppInfo>;
75
+ export declare const ListAppsResponse: MessageFns<ListAppsResponse>;
40
76
  export declare const DmenuResponse: MessageFns<DmenuResponse>;
41
77
  export declare const Request: MessageFns<Request>;
42
78
  export declare const Response: MessageFns<Response>;
@@ -5,7 +5,7 @@
5
5
  // protoc v6.32.1
6
6
  // source: daemon.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Response = exports.Request = exports.DmenuResponse = exports.DmenuRequest = exports.PingResponse = exports.PingRequest = exports.UrlRequest = exports.UrlResponse = exports.protobufPackage = void 0;
8
+ exports.Response = exports.Request = exports.DmenuResponse = exports.ListAppsResponse = exports.AppInfo = exports.ListAppsRequest = exports.LaunchAppResponse = exports.LaunchAppRequest = exports.DmenuRequest = exports.PingResponse = exports.PingRequest = exports.UrlRequest = exports.UrlResponse = exports.protobufPackage = void 0;
9
9
  /* eslint-disable */
10
10
  const wire_1 = require("@bufbuild/protobuf/wire");
11
11
  exports.protobufPackage = "proto.ext.daemon";
@@ -313,6 +313,458 @@ exports.DmenuRequest = {
313
313
  return message;
314
314
  },
315
315
  };
316
+ function createBaseLaunchAppRequest() {
317
+ return { appId: "", args: [], newInstance: false };
318
+ }
319
+ exports.LaunchAppRequest = {
320
+ encode(message, writer = new wire_1.BinaryWriter()) {
321
+ if (message.appId !== "") {
322
+ writer.uint32(10).string(message.appId);
323
+ }
324
+ for (const v of message.args) {
325
+ writer.uint32(18).string(v);
326
+ }
327
+ if (message.newInstance !== false) {
328
+ writer.uint32(24).bool(message.newInstance);
329
+ }
330
+ return writer;
331
+ },
332
+ decode(input, length) {
333
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
334
+ const end = length === undefined ? reader.len : reader.pos + length;
335
+ const message = createBaseLaunchAppRequest();
336
+ while (reader.pos < end) {
337
+ const tag = reader.uint32();
338
+ switch (tag >>> 3) {
339
+ case 1: {
340
+ if (tag !== 10) {
341
+ break;
342
+ }
343
+ message.appId = reader.string();
344
+ continue;
345
+ }
346
+ case 2: {
347
+ if (tag !== 18) {
348
+ break;
349
+ }
350
+ message.args.push(reader.string());
351
+ continue;
352
+ }
353
+ case 3: {
354
+ if (tag !== 24) {
355
+ break;
356
+ }
357
+ message.newInstance = reader.bool();
358
+ continue;
359
+ }
360
+ }
361
+ if ((tag & 7) === 4 || tag === 0) {
362
+ break;
363
+ }
364
+ reader.skip(tag & 7);
365
+ }
366
+ return message;
367
+ },
368
+ fromJSON(object) {
369
+ return {
370
+ appId: isSet(object.appId) ? globalThis.String(object.appId) : "",
371
+ args: globalThis.Array.isArray(object?.args) ? object.args.map((e) => globalThis.String(e)) : [],
372
+ newInstance: isSet(object.newInstance) ? globalThis.Boolean(object.newInstance) : false,
373
+ };
374
+ },
375
+ toJSON(message) {
376
+ const obj = {};
377
+ if (message.appId !== "") {
378
+ obj.appId = message.appId;
379
+ }
380
+ if (message.args?.length) {
381
+ obj.args = message.args;
382
+ }
383
+ if (message.newInstance !== false) {
384
+ obj.newInstance = message.newInstance;
385
+ }
386
+ return obj;
387
+ },
388
+ create(base) {
389
+ return exports.LaunchAppRequest.fromPartial(base ?? {});
390
+ },
391
+ fromPartial(object) {
392
+ const message = createBaseLaunchAppRequest();
393
+ message.appId = object.appId ?? "";
394
+ message.args = object.args?.map((e) => e) || [];
395
+ message.newInstance = object.newInstance ?? false;
396
+ return message;
397
+ },
398
+ };
399
+ function createBaseLaunchAppResponse() {
400
+ return { error: "", focusedWindowTitle: "" };
401
+ }
402
+ exports.LaunchAppResponse = {
403
+ encode(message, writer = new wire_1.BinaryWriter()) {
404
+ if (message.error !== "") {
405
+ writer.uint32(10).string(message.error);
406
+ }
407
+ if (message.focusedWindowTitle !== "") {
408
+ writer.uint32(18).string(message.focusedWindowTitle);
409
+ }
410
+ return writer;
411
+ },
412
+ decode(input, length) {
413
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
414
+ const end = length === undefined ? reader.len : reader.pos + length;
415
+ const message = createBaseLaunchAppResponse();
416
+ while (reader.pos < end) {
417
+ const tag = reader.uint32();
418
+ switch (tag >>> 3) {
419
+ case 1: {
420
+ if (tag !== 10) {
421
+ break;
422
+ }
423
+ message.error = reader.string();
424
+ continue;
425
+ }
426
+ case 2: {
427
+ if (tag !== 18) {
428
+ break;
429
+ }
430
+ message.focusedWindowTitle = reader.string();
431
+ continue;
432
+ }
433
+ }
434
+ if ((tag & 7) === 4 || tag === 0) {
435
+ break;
436
+ }
437
+ reader.skip(tag & 7);
438
+ }
439
+ return message;
440
+ },
441
+ fromJSON(object) {
442
+ return {
443
+ error: isSet(object.error) ? globalThis.String(object.error) : "",
444
+ focusedWindowTitle: isSet(object.focusedWindowTitle) ? globalThis.String(object.focusedWindowTitle) : "",
445
+ };
446
+ },
447
+ toJSON(message) {
448
+ const obj = {};
449
+ if (message.error !== "") {
450
+ obj.error = message.error;
451
+ }
452
+ if (message.focusedWindowTitle !== "") {
453
+ obj.focusedWindowTitle = message.focusedWindowTitle;
454
+ }
455
+ return obj;
456
+ },
457
+ create(base) {
458
+ return exports.LaunchAppResponse.fromPartial(base ?? {});
459
+ },
460
+ fromPartial(object) {
461
+ const message = createBaseLaunchAppResponse();
462
+ message.error = object.error ?? "";
463
+ message.focusedWindowTitle = object.focusedWindowTitle ?? "";
464
+ return message;
465
+ },
466
+ };
467
+ function createBaseListAppsRequest() {
468
+ return { withActions: false };
469
+ }
470
+ exports.ListAppsRequest = {
471
+ encode(message, writer = new wire_1.BinaryWriter()) {
472
+ if (message.withActions !== false) {
473
+ writer.uint32(8).bool(message.withActions);
474
+ }
475
+ return writer;
476
+ },
477
+ decode(input, length) {
478
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
479
+ const end = length === undefined ? reader.len : reader.pos + length;
480
+ const message = createBaseListAppsRequest();
481
+ while (reader.pos < end) {
482
+ const tag = reader.uint32();
483
+ switch (tag >>> 3) {
484
+ case 1: {
485
+ if (tag !== 8) {
486
+ break;
487
+ }
488
+ message.withActions = reader.bool();
489
+ continue;
490
+ }
491
+ }
492
+ if ((tag & 7) === 4 || tag === 0) {
493
+ break;
494
+ }
495
+ reader.skip(tag & 7);
496
+ }
497
+ return message;
498
+ },
499
+ fromJSON(object) {
500
+ return { withActions: isSet(object.withActions) ? globalThis.Boolean(object.withActions) : false };
501
+ },
502
+ toJSON(message) {
503
+ const obj = {};
504
+ if (message.withActions !== false) {
505
+ obj.withActions = message.withActions;
506
+ }
507
+ return obj;
508
+ },
509
+ create(base) {
510
+ return exports.ListAppsRequest.fromPartial(base ?? {});
511
+ },
512
+ fromPartial(object) {
513
+ const message = createBaseListAppsRequest();
514
+ message.withActions = object.withActions ?? false;
515
+ return message;
516
+ },
517
+ };
518
+ function createBaseAppInfo() {
519
+ return {
520
+ id: "",
521
+ name: "",
522
+ hidden: false,
523
+ path: "",
524
+ description: "",
525
+ program: "",
526
+ isTerminalApp: false,
527
+ keywords: [],
528
+ iconUrl: "",
529
+ isAction: false,
530
+ };
531
+ }
532
+ exports.AppInfo = {
533
+ encode(message, writer = new wire_1.BinaryWriter()) {
534
+ if (message.id !== "") {
535
+ writer.uint32(10).string(message.id);
536
+ }
537
+ if (message.name !== "") {
538
+ writer.uint32(18).string(message.name);
539
+ }
540
+ if (message.hidden !== false) {
541
+ writer.uint32(24).bool(message.hidden);
542
+ }
543
+ if (message.path !== "") {
544
+ writer.uint32(34).string(message.path);
545
+ }
546
+ if (message.description !== "") {
547
+ writer.uint32(42).string(message.description);
548
+ }
549
+ if (message.program !== "") {
550
+ writer.uint32(50).string(message.program);
551
+ }
552
+ if (message.isTerminalApp !== false) {
553
+ writer.uint32(56).bool(message.isTerminalApp);
554
+ }
555
+ for (const v of message.keywords) {
556
+ writer.uint32(66).string(v);
557
+ }
558
+ if (message.iconUrl !== "") {
559
+ writer.uint32(74).string(message.iconUrl);
560
+ }
561
+ if (message.isAction !== false) {
562
+ writer.uint32(80).bool(message.isAction);
563
+ }
564
+ return writer;
565
+ },
566
+ decode(input, length) {
567
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
568
+ const end = length === undefined ? reader.len : reader.pos + length;
569
+ const message = createBaseAppInfo();
570
+ while (reader.pos < end) {
571
+ const tag = reader.uint32();
572
+ switch (tag >>> 3) {
573
+ case 1: {
574
+ if (tag !== 10) {
575
+ break;
576
+ }
577
+ message.id = reader.string();
578
+ continue;
579
+ }
580
+ case 2: {
581
+ if (tag !== 18) {
582
+ break;
583
+ }
584
+ message.name = reader.string();
585
+ continue;
586
+ }
587
+ case 3: {
588
+ if (tag !== 24) {
589
+ break;
590
+ }
591
+ message.hidden = reader.bool();
592
+ continue;
593
+ }
594
+ case 4: {
595
+ if (tag !== 34) {
596
+ break;
597
+ }
598
+ message.path = reader.string();
599
+ continue;
600
+ }
601
+ case 5: {
602
+ if (tag !== 42) {
603
+ break;
604
+ }
605
+ message.description = reader.string();
606
+ continue;
607
+ }
608
+ case 6: {
609
+ if (tag !== 50) {
610
+ break;
611
+ }
612
+ message.program = reader.string();
613
+ continue;
614
+ }
615
+ case 7: {
616
+ if (tag !== 56) {
617
+ break;
618
+ }
619
+ message.isTerminalApp = reader.bool();
620
+ continue;
621
+ }
622
+ case 8: {
623
+ if (tag !== 66) {
624
+ break;
625
+ }
626
+ message.keywords.push(reader.string());
627
+ continue;
628
+ }
629
+ case 9: {
630
+ if (tag !== 74) {
631
+ break;
632
+ }
633
+ message.iconUrl = reader.string();
634
+ continue;
635
+ }
636
+ case 10: {
637
+ if (tag !== 80) {
638
+ break;
639
+ }
640
+ message.isAction = reader.bool();
641
+ continue;
642
+ }
643
+ }
644
+ if ((tag & 7) === 4 || tag === 0) {
645
+ break;
646
+ }
647
+ reader.skip(tag & 7);
648
+ }
649
+ return message;
650
+ },
651
+ fromJSON(object) {
652
+ return {
653
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
654
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
655
+ hidden: isSet(object.hidden) ? globalThis.Boolean(object.hidden) : false,
656
+ path: isSet(object.path) ? globalThis.String(object.path) : "",
657
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
658
+ program: isSet(object.program) ? globalThis.String(object.program) : "",
659
+ isTerminalApp: isSet(object.isTerminalApp) ? globalThis.Boolean(object.isTerminalApp) : false,
660
+ keywords: globalThis.Array.isArray(object?.keywords) ? object.keywords.map((e) => globalThis.String(e)) : [],
661
+ iconUrl: isSet(object.iconUrl) ? globalThis.String(object.iconUrl) : "",
662
+ isAction: isSet(object.isAction) ? globalThis.Boolean(object.isAction) : false,
663
+ };
664
+ },
665
+ toJSON(message) {
666
+ const obj = {};
667
+ if (message.id !== "") {
668
+ obj.id = message.id;
669
+ }
670
+ if (message.name !== "") {
671
+ obj.name = message.name;
672
+ }
673
+ if (message.hidden !== false) {
674
+ obj.hidden = message.hidden;
675
+ }
676
+ if (message.path !== "") {
677
+ obj.path = message.path;
678
+ }
679
+ if (message.description !== "") {
680
+ obj.description = message.description;
681
+ }
682
+ if (message.program !== "") {
683
+ obj.program = message.program;
684
+ }
685
+ if (message.isTerminalApp !== false) {
686
+ obj.isTerminalApp = message.isTerminalApp;
687
+ }
688
+ if (message.keywords?.length) {
689
+ obj.keywords = message.keywords;
690
+ }
691
+ if (message.iconUrl !== "") {
692
+ obj.iconUrl = message.iconUrl;
693
+ }
694
+ if (message.isAction !== false) {
695
+ obj.isAction = message.isAction;
696
+ }
697
+ return obj;
698
+ },
699
+ create(base) {
700
+ return exports.AppInfo.fromPartial(base ?? {});
701
+ },
702
+ fromPartial(object) {
703
+ const message = createBaseAppInfo();
704
+ message.id = object.id ?? "";
705
+ message.name = object.name ?? "";
706
+ message.hidden = object.hidden ?? false;
707
+ message.path = object.path ?? "";
708
+ message.description = object.description ?? "";
709
+ message.program = object.program ?? "";
710
+ message.isTerminalApp = object.isTerminalApp ?? false;
711
+ message.keywords = object.keywords?.map((e) => e) || [];
712
+ message.iconUrl = object.iconUrl ?? "";
713
+ message.isAction = object.isAction ?? false;
714
+ return message;
715
+ },
716
+ };
717
+ function createBaseListAppsResponse() {
718
+ return { apps: [] };
719
+ }
720
+ exports.ListAppsResponse = {
721
+ encode(message, writer = new wire_1.BinaryWriter()) {
722
+ for (const v of message.apps) {
723
+ exports.AppInfo.encode(v, writer.uint32(10).fork()).join();
724
+ }
725
+ return writer;
726
+ },
727
+ decode(input, length) {
728
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
729
+ const end = length === undefined ? reader.len : reader.pos + length;
730
+ const message = createBaseListAppsResponse();
731
+ while (reader.pos < end) {
732
+ const tag = reader.uint32();
733
+ switch (tag >>> 3) {
734
+ case 1: {
735
+ if (tag !== 10) {
736
+ break;
737
+ }
738
+ message.apps.push(exports.AppInfo.decode(reader, reader.uint32()));
739
+ continue;
740
+ }
741
+ }
742
+ if ((tag & 7) === 4 || tag === 0) {
743
+ break;
744
+ }
745
+ reader.skip(tag & 7);
746
+ }
747
+ return message;
748
+ },
749
+ fromJSON(object) {
750
+ return { apps: globalThis.Array.isArray(object?.apps) ? object.apps.map((e) => exports.AppInfo.fromJSON(e)) : [] };
751
+ },
752
+ toJSON(message) {
753
+ const obj = {};
754
+ if (message.apps?.length) {
755
+ obj.apps = message.apps.map((e) => exports.AppInfo.toJSON(e));
756
+ }
757
+ return obj;
758
+ },
759
+ create(base) {
760
+ return exports.ListAppsResponse.fromPartial(base ?? {});
761
+ },
762
+ fromPartial(object) {
763
+ const message = createBaseListAppsResponse();
764
+ message.apps = object.apps?.map((e) => exports.AppInfo.fromPartial(e)) || [];
765
+ return message;
766
+ },
767
+ };
316
768
  function createBaseDmenuResponse() {
317
769
  return { output: "" };
318
770
  }
@@ -365,7 +817,7 @@ exports.DmenuResponse = {
365
817
  },
366
818
  };
367
819
  function createBaseRequest() {
368
- return { ping: undefined, url: undefined, dmenu: undefined };
820
+ return { ping: undefined, url: undefined, dmenu: undefined, launchApp: undefined, listApps: undefined };
369
821
  }
370
822
  exports.Request = {
371
823
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -378,6 +830,12 @@ exports.Request = {
378
830
  if (message.dmenu !== undefined) {
379
831
  exports.DmenuRequest.encode(message.dmenu, writer.uint32(26).fork()).join();
380
832
  }
833
+ if (message.launchApp !== undefined) {
834
+ exports.LaunchAppRequest.encode(message.launchApp, writer.uint32(34).fork()).join();
835
+ }
836
+ if (message.listApps !== undefined) {
837
+ exports.ListAppsRequest.encode(message.listApps, writer.uint32(42).fork()).join();
838
+ }
381
839
  return writer;
382
840
  },
383
841
  decode(input, length) {
@@ -408,6 +866,20 @@ exports.Request = {
408
866
  message.dmenu = exports.DmenuRequest.decode(reader, reader.uint32());
409
867
  continue;
410
868
  }
869
+ case 4: {
870
+ if (tag !== 34) {
871
+ break;
872
+ }
873
+ message.launchApp = exports.LaunchAppRequest.decode(reader, reader.uint32());
874
+ continue;
875
+ }
876
+ case 5: {
877
+ if (tag !== 42) {
878
+ break;
879
+ }
880
+ message.listApps = exports.ListAppsRequest.decode(reader, reader.uint32());
881
+ continue;
882
+ }
411
883
  }
412
884
  if ((tag & 7) === 4 || tag === 0) {
413
885
  break;
@@ -421,6 +893,8 @@ exports.Request = {
421
893
  ping: isSet(object.ping) ? exports.PingRequest.fromJSON(object.ping) : undefined,
422
894
  url: isSet(object.url) ? exports.UrlRequest.fromJSON(object.url) : undefined,
423
895
  dmenu: isSet(object.dmenu) ? exports.DmenuRequest.fromJSON(object.dmenu) : undefined,
896
+ launchApp: isSet(object.launchApp) ? exports.LaunchAppRequest.fromJSON(object.launchApp) : undefined,
897
+ listApps: isSet(object.listApps) ? exports.ListAppsRequest.fromJSON(object.listApps) : undefined,
424
898
  };
425
899
  },
426
900
  toJSON(message) {
@@ -434,6 +908,12 @@ exports.Request = {
434
908
  if (message.dmenu !== undefined) {
435
909
  obj.dmenu = exports.DmenuRequest.toJSON(message.dmenu);
436
910
  }
911
+ if (message.launchApp !== undefined) {
912
+ obj.launchApp = exports.LaunchAppRequest.toJSON(message.launchApp);
913
+ }
914
+ if (message.listApps !== undefined) {
915
+ obj.listApps = exports.ListAppsRequest.toJSON(message.listApps);
916
+ }
437
917
  return obj;
438
918
  },
439
919
  create(base) {
@@ -448,11 +928,17 @@ exports.Request = {
448
928
  message.dmenu = (object.dmenu !== undefined && object.dmenu !== null)
449
929
  ? exports.DmenuRequest.fromPartial(object.dmenu)
450
930
  : undefined;
931
+ message.launchApp = (object.launchApp !== undefined && object.launchApp !== null)
932
+ ? exports.LaunchAppRequest.fromPartial(object.launchApp)
933
+ : undefined;
934
+ message.listApps = (object.listApps !== undefined && object.listApps !== null)
935
+ ? exports.ListAppsRequest.fromPartial(object.listApps)
936
+ : undefined;
451
937
  return message;
452
938
  },
453
939
  };
454
940
  function createBaseResponse() {
455
- return { ping: undefined, url: undefined, dmenu: undefined };
941
+ return { ping: undefined, url: undefined, dmenu: undefined, launchApp: undefined, listApps: undefined };
456
942
  }
457
943
  exports.Response = {
458
944
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -465,6 +951,12 @@ exports.Response = {
465
951
  if (message.dmenu !== undefined) {
466
952
  exports.DmenuResponse.encode(message.dmenu, writer.uint32(26).fork()).join();
467
953
  }
954
+ if (message.launchApp !== undefined) {
955
+ exports.LaunchAppResponse.encode(message.launchApp, writer.uint32(34).fork()).join();
956
+ }
957
+ if (message.listApps !== undefined) {
958
+ exports.ListAppsResponse.encode(message.listApps, writer.uint32(42).fork()).join();
959
+ }
468
960
  return writer;
469
961
  },
470
962
  decode(input, length) {
@@ -495,6 +987,20 @@ exports.Response = {
495
987
  message.dmenu = exports.DmenuResponse.decode(reader, reader.uint32());
496
988
  continue;
497
989
  }
990
+ case 4: {
991
+ if (tag !== 34) {
992
+ break;
993
+ }
994
+ message.launchApp = exports.LaunchAppResponse.decode(reader, reader.uint32());
995
+ continue;
996
+ }
997
+ case 5: {
998
+ if (tag !== 42) {
999
+ break;
1000
+ }
1001
+ message.listApps = exports.ListAppsResponse.decode(reader, reader.uint32());
1002
+ continue;
1003
+ }
498
1004
  }
499
1005
  if ((tag & 7) === 4 || tag === 0) {
500
1006
  break;
@@ -508,6 +1014,8 @@ exports.Response = {
508
1014
  ping: isSet(object.ping) ? exports.PingResponse.fromJSON(object.ping) : undefined,
509
1015
  url: isSet(object.url) ? exports.UrlResponse.fromJSON(object.url) : undefined,
510
1016
  dmenu: isSet(object.dmenu) ? exports.DmenuResponse.fromJSON(object.dmenu) : undefined,
1017
+ launchApp: isSet(object.launchApp) ? exports.LaunchAppResponse.fromJSON(object.launchApp) : undefined,
1018
+ listApps: isSet(object.listApps) ? exports.ListAppsResponse.fromJSON(object.listApps) : undefined,
511
1019
  };
512
1020
  },
513
1021
  toJSON(message) {
@@ -521,6 +1029,12 @@ exports.Response = {
521
1029
  if (message.dmenu !== undefined) {
522
1030
  obj.dmenu = exports.DmenuResponse.toJSON(message.dmenu);
523
1031
  }
1032
+ if (message.launchApp !== undefined) {
1033
+ obj.launchApp = exports.LaunchAppResponse.toJSON(message.launchApp);
1034
+ }
1035
+ if (message.listApps !== undefined) {
1036
+ obj.listApps = exports.ListAppsResponse.toJSON(message.listApps);
1037
+ }
524
1038
  return obj;
525
1039
  },
526
1040
  create(base) {
@@ -535,6 +1049,12 @@ exports.Response = {
535
1049
  message.dmenu = (object.dmenu !== undefined && object.dmenu !== null)
536
1050
  ? exports.DmenuResponse.fromPartial(object.dmenu)
537
1051
  : undefined;
1052
+ message.launchApp = (object.launchApp !== undefined && object.launchApp !== null)
1053
+ ? exports.LaunchAppResponse.fromPartial(object.launchApp)
1054
+ : undefined;
1055
+ message.listApps = (object.listApps !== undefined && object.listApps !== null)
1056
+ ? exports.ListAppsResponse.fromPartial(object.listApps)
1057
+ : undefined;
538
1058
  return message;
539
1059
  },
540
1060
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vicinae/api",
3
- "version": "0.15.4",
3
+ "version": "0.15.6",
4
4
  "description": "TypeScript SDK to build Vicinae extensions",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",