@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 = 160;
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 = 160;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-workbench/shared",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "工作台与模块共享的纯代码与契约类型:类型、纯逻辑、哑组件、平台解析。宿主侧的东西从 /host 进(不影响浏览器产物)。",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -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 = 160;
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(