@dsh-workbench/shared 0.2.9 → 0.2.10
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.
|
@@ -17,7 +17,7 @@ export type ApprovalFacts = ApprovalDetail | {
|
|
|
17
17
|
readonly blocked: string;
|
|
18
18
|
};
|
|
19
19
|
export declare const APPROVAL_NOTE_ARG = "approval_note";
|
|
20
|
-
export declare const APPROVAL_NOTE_LIMIT =
|
|
20
|
+
export declare const APPROVAL_NOTE_LIMIT = 40;
|
|
21
21
|
export declare function withApprovalNote(parameters: Record<string, unknown>, options?: {
|
|
22
22
|
readonly required?: boolean | undefined;
|
|
23
23
|
}): Record<string, unknown>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const APPROVAL_NOTE_ARG = 'approval_note';
|
|
2
|
-
export const APPROVAL_NOTE_LIMIT =
|
|
2
|
+
export const APPROVAL_NOTE_LIMIT = 40;
|
|
3
3
|
const NOTE_SCHEMA = {
|
|
4
4
|
type: 'string',
|
|
5
|
-
description: '
|
|
5
|
+
description: '一句话说明你这次想拿它干什么(要点头时显示在审批屏上;40 字以内)。',
|
|
6
6
|
};
|
|
7
7
|
export function withApprovalNote(parameters, options = {}) {
|
|
8
8
|
const properties = parameters['properties'];
|
package/package.json
CHANGED
|
@@ -18,11 +18,11 @@ export type ApprovalFacts = ApprovalDetail | { readonly blocked: string };
|
|
|
18
18
|
|
|
19
19
|
export const APPROVAL_NOTE_ARG = 'approval_note';
|
|
20
20
|
|
|
21
|
-
export const APPROVAL_NOTE_LIMIT =
|
|
21
|
+
export const APPROVAL_NOTE_LIMIT = 40;
|
|
22
22
|
|
|
23
23
|
const NOTE_SCHEMA: Readonly<Record<string, unknown>> = {
|
|
24
24
|
type: 'string',
|
|
25
|
-
description: '
|
|
25
|
+
description: '一句话说明你这次想拿它干什么(要点头时显示在审批屏上;40 字以内)。',
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
export function withApprovalNote(
|