@tinywork/glass 0.0.52 → 0.0.53

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -43,6 +43,10 @@ export type DocSchema = {
43
43
  hash?: string;
44
44
  /** 无hash时,用updatedAt */
45
45
  updatedAt?: string;
46
+ /** 用来glass生成时的文件名,同pathname下时区分不同接口用 */
47
+ filename?: string;
48
+ /** 是否支持app编辑 */
49
+ readonly?: boolean;
46
50
  prefix?: string;
47
51
  };
48
52
  export type DocFullSchema = DocSchema & {
@@ -66,6 +70,8 @@ export type GroupSchema = {
66
70
  hash?: string;
67
71
  /** 无hash时,用updatedAt */
68
72
  updatedAt?: string;
73
+ /** 是否支持app编辑 */
74
+ readonly?: boolean;
69
75
  };
70
76
  export type Project = {
71
77
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [