@neutron.co.id/operasional-interfaces 1.10.0 → 1.11.1

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # Vortex XXX's Interfaces
1
+ # Neutron Operasional Interfaces
2
2
 
3
- This repository contains interface library boilerplate of Vortex.
3
+ This repository contains interface library of Neutron Operasional.
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("stop" | "close" | "start" | "scanned")[], "stop" | "close" | "start" | "scanned", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ stop: (...args: any[]) => void;
3
+ close: (...args: any[]) => void;
4
+ start: (...args: any[]) => void;
5
+ scanned: (...args: any[]) => void;
6
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
7
  onClose?: ((...args: any[]) => any) | undefined;
3
8
  onStop?: ((...args: any[]) => any) | undefined;
4
9
  onStart?: ((...args: any[]) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { MaybeProp } from '../../../types';
1
+ import { MaybeProp } from '../../../../../@package/types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  modelValue: {
4
4
  type: MaybeProp<string>;
@@ -12,7 +12,9 @@ declare const _default: import("vue").DefineComponent<{
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:modelValue": (...args: any[]) => void;
17
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
18
  modelValue: {
17
19
  type: MaybeProp<string>;
18
20
  default: undefined;
@@ -1,6 +1,5 @@
1
- import type { NBase } from '@neon.id/types';
2
1
  import { type PropType } from 'vue';
3
- import { MaybeProp } from '../../../types';
2
+ import { MaybeProp } from '../../../../../@package/types';
4
3
  export interface UpdateUserPayload {
5
4
  userId: string;
6
5
  roleIds: string[];
@@ -19,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
19
18
  default: null;
20
19
  };
21
20
  roles: {
22
- type: PropType<NBase.ItemAttribute[]>;
21
+ type: PropType<any[]>;
23
22
  default: () => never[];
24
23
  };
25
24
  errors: {
@@ -27,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
27
26
  default: () => {};
28
27
  };
29
28
  onChoose: {
30
- type: PropType<(userId: string) => Promise<any>>;
29
+ type: PropType<(userId: string) => Promise<any | undefined>>;
31
30
  default: null;
32
31
  };
33
32
  onRegister: {
@@ -62,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
62
61
  default: null;
63
62
  };
64
63
  roles: {
65
- type: PropType<NBase.ItemAttribute[]>;
64
+ type: PropType<any[]>;
66
65
  default: () => never[];
67
66
  };
68
67
  errors: {
@@ -70,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
70
69
  default: () => {};
71
70
  };
72
71
  onChoose: {
73
- type: PropType<(userId: string) => Promise<any>>;
72
+ type: PropType<(userId: string) => Promise<any | undefined>>;
74
73
  default: null;
75
74
  };
76
75
  onRegister: {
@@ -93,11 +92,11 @@ declare const _default: import("vue").DefineComponent<{
93
92
  "onNo-conflict"?: (() => any) | undefined;
94
93
  }, {
95
94
  user: import("@neutron.co.id/personalia-models").User | null;
96
- roles: NBase.ItemAttribute[];
95
+ roles: any[];
97
96
  profile: any;
98
97
  errors: Record<string, string>;
99
98
  conflict: any;
100
- onChoose: (userId: string) => Promise<any>;
99
+ onChoose: (userId: string) => Promise<any | undefined>;
101
100
  onRegister: (payload: any) => Promise<string | undefined>;
102
101
  onConnect: (userId: string) => Promise<any>;
103
102
  onDisconnect: (payload: UpdateUserPayload) => Promise<any>;
@@ -1,2 +1,2 @@
1
- export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "lastProgress" | "responsibilityType" | "result" | "score" | "staffSupervises" | "staffWorks" | "title" | "virtualStaffWorks">;
1
+ export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "score" | "lastProgress" | "responsibilityType" | "result" | "staffSupervises" | "staffWorks" | "title" | "virtualStaffWorks">;
2
2
  export type TResponsibilityModel = typeof ResponsibilityModel;
@@ -1,4 +1,4 @@
1
- import { Schema } from '../../types';
1
+ import { Schema } from '../../../../@package/types';
2
2
  import { ComputedRef, Ref } from 'vue';
3
3
  export interface Input {
4
4
  }