openxiangda 1.0.261 → 1.0.262
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/lib/delivery-v2-package.js +17 -0
- package/openxiangda-skills/references/connector-resources.md +1 -1
- package/openxiangda-skills/references/openxiangda-api.md +9 -1
- package/openxiangda-skills/references/pages/page-sdk.md +2 -1
- package/openxiangda-skills/references/permissions-settings.md +8 -0
- package/openxiangda-skills/references/resource-manifest-cheatsheet.md +5 -2
- package/openxiangda-skills/references/school-contact-relations.md +34 -0
- package/package.json +1 -1
- package/packages/sdk/dist/runtime/index.cjs +34 -34
- package/packages/sdk/dist/runtime/react.cjs +46 -46
- package/packages/sdk/dist/runtime/react.d.mts +13 -0
- package/packages/sdk/dist/runtime/react.d.ts +13 -0
|
@@ -115,6 +115,8 @@ interface AppFunctionOperatorInfo {
|
|
|
115
115
|
email?: string | null;
|
|
116
116
|
tenantId?: string;
|
|
117
117
|
roleCodes?: string[];
|
|
118
|
+
/** Platform identity codes maintained by organization sync. */
|
|
119
|
+
platformRoleCodes?: string[];
|
|
118
120
|
currentRoleCode?: string | null;
|
|
119
121
|
currentRoleName?: string | null;
|
|
120
122
|
hasFullAccess?: boolean;
|
|
@@ -126,10 +128,13 @@ interface AppFunctionOperatorInfo {
|
|
|
126
128
|
interface PagePermissionInfo {
|
|
127
129
|
canView: boolean;
|
|
128
130
|
hasFullAccess: boolean;
|
|
131
|
+
/** Platform identity codes are additive to app role codes. */
|
|
132
|
+
platformRoleCodes?: string[];
|
|
129
133
|
[key: string]: unknown;
|
|
130
134
|
}
|
|
131
135
|
interface AppFunctionPermissionContext {
|
|
132
136
|
roleCodes?: string[];
|
|
137
|
+
platformRoleCodes?: string[];
|
|
133
138
|
currentRoleCode?: string | null;
|
|
134
139
|
currentRoleName?: string | null;
|
|
135
140
|
hasFullAccess?: boolean;
|
|
@@ -1142,6 +1147,7 @@ interface FormPermissionGroup {
|
|
|
1142
1147
|
name: string;
|
|
1143
1148
|
type: "submit" | "view";
|
|
1144
1149
|
roles: string[];
|
|
1150
|
+
platformRoleCodes?: string[];
|
|
1145
1151
|
dataScope?: "all" | "self";
|
|
1146
1152
|
operations?: string[];
|
|
1147
1153
|
actions?: string[];
|
|
@@ -1168,6 +1174,7 @@ interface CreateFormPermissionGroupDto {
|
|
|
1168
1174
|
name: string;
|
|
1169
1175
|
type: "submit" | "view";
|
|
1170
1176
|
roles: string[];
|
|
1177
|
+
platformRoleCodes?: string[];
|
|
1171
1178
|
dataScope?: "all" | "self";
|
|
1172
1179
|
operations?: string[];
|
|
1173
1180
|
actions?: string[];
|
|
@@ -1181,6 +1188,7 @@ interface UpdateFormPermissionGroupDto {
|
|
|
1181
1188
|
name?: string;
|
|
1182
1189
|
type?: "submit" | "view";
|
|
1183
1190
|
roles?: string[];
|
|
1191
|
+
platformRoleCodes?: string[];
|
|
1184
1192
|
dataScope?: "all" | "self";
|
|
1185
1193
|
operations?: string[];
|
|
1186
1194
|
fieldPermissions?: FieldPermissionDto[];
|
|
@@ -1200,6 +1208,7 @@ interface PagePermissionGroup {
|
|
|
1200
1208
|
appType: string;
|
|
1201
1209
|
name: string;
|
|
1202
1210
|
roles: string[];
|
|
1211
|
+
platformRoleCodes?: string[];
|
|
1203
1212
|
menuFormUuids: string[];
|
|
1204
1213
|
createdAt?: string;
|
|
1205
1214
|
updatedAt?: string;
|
|
@@ -1208,12 +1217,14 @@ interface CreatePagePermissionGroupDto {
|
|
|
1208
1217
|
appType: string;
|
|
1209
1218
|
name: string;
|
|
1210
1219
|
roles: string[];
|
|
1220
|
+
platformRoleCodes?: string[];
|
|
1211
1221
|
menuFormUuids: string[];
|
|
1212
1222
|
}
|
|
1213
1223
|
interface UpdatePagePermissionGroupDto {
|
|
1214
1224
|
appType?: string;
|
|
1215
1225
|
name?: string;
|
|
1216
1226
|
roles?: string[];
|
|
1227
|
+
platformRoleCodes?: string[];
|
|
1217
1228
|
menuFormUuids?: string[];
|
|
1218
1229
|
}
|
|
1219
1230
|
interface QueryPagePermissionGroupDto {
|
|
@@ -1226,6 +1237,7 @@ interface UserMenuPermissionsResponse {
|
|
|
1226
1237
|
appType: string;
|
|
1227
1238
|
menuFormUuids: string[];
|
|
1228
1239
|
hasFullAccess: boolean;
|
|
1240
|
+
platformRoleCodes?: string[];
|
|
1229
1241
|
}
|
|
1230
1242
|
type NotificationChannel = "inapp" | "email" | "dingding" | "wechat" | "thirdparty_todo";
|
|
1231
1243
|
interface SendNotificationByTypeParams {
|
|
@@ -2687,6 +2699,7 @@ interface RuntimePagePermissions {
|
|
|
2687
2699
|
appType: string;
|
|
2688
2700
|
hasFullAccess: boolean;
|
|
2689
2701
|
roleCodes: string[];
|
|
2702
|
+
platformRoleCodes?: string[];
|
|
2690
2703
|
roleSource?: string;
|
|
2691
2704
|
menuFormUuids: string[];
|
|
2692
2705
|
menuCodes: string[];
|
|
@@ -115,6 +115,8 @@ interface AppFunctionOperatorInfo {
|
|
|
115
115
|
email?: string | null;
|
|
116
116
|
tenantId?: string;
|
|
117
117
|
roleCodes?: string[];
|
|
118
|
+
/** Platform identity codes maintained by organization sync. */
|
|
119
|
+
platformRoleCodes?: string[];
|
|
118
120
|
currentRoleCode?: string | null;
|
|
119
121
|
currentRoleName?: string | null;
|
|
120
122
|
hasFullAccess?: boolean;
|
|
@@ -126,10 +128,13 @@ interface AppFunctionOperatorInfo {
|
|
|
126
128
|
interface PagePermissionInfo {
|
|
127
129
|
canView: boolean;
|
|
128
130
|
hasFullAccess: boolean;
|
|
131
|
+
/** Platform identity codes are additive to app role codes. */
|
|
132
|
+
platformRoleCodes?: string[];
|
|
129
133
|
[key: string]: unknown;
|
|
130
134
|
}
|
|
131
135
|
interface AppFunctionPermissionContext {
|
|
132
136
|
roleCodes?: string[];
|
|
137
|
+
platformRoleCodes?: string[];
|
|
133
138
|
currentRoleCode?: string | null;
|
|
134
139
|
currentRoleName?: string | null;
|
|
135
140
|
hasFullAccess?: boolean;
|
|
@@ -1142,6 +1147,7 @@ interface FormPermissionGroup {
|
|
|
1142
1147
|
name: string;
|
|
1143
1148
|
type: "submit" | "view";
|
|
1144
1149
|
roles: string[];
|
|
1150
|
+
platformRoleCodes?: string[];
|
|
1145
1151
|
dataScope?: "all" | "self";
|
|
1146
1152
|
operations?: string[];
|
|
1147
1153
|
actions?: string[];
|
|
@@ -1168,6 +1174,7 @@ interface CreateFormPermissionGroupDto {
|
|
|
1168
1174
|
name: string;
|
|
1169
1175
|
type: "submit" | "view";
|
|
1170
1176
|
roles: string[];
|
|
1177
|
+
platformRoleCodes?: string[];
|
|
1171
1178
|
dataScope?: "all" | "self";
|
|
1172
1179
|
operations?: string[];
|
|
1173
1180
|
actions?: string[];
|
|
@@ -1181,6 +1188,7 @@ interface UpdateFormPermissionGroupDto {
|
|
|
1181
1188
|
name?: string;
|
|
1182
1189
|
type?: "submit" | "view";
|
|
1183
1190
|
roles?: string[];
|
|
1191
|
+
platformRoleCodes?: string[];
|
|
1184
1192
|
dataScope?: "all" | "self";
|
|
1185
1193
|
operations?: string[];
|
|
1186
1194
|
fieldPermissions?: FieldPermissionDto[];
|
|
@@ -1200,6 +1208,7 @@ interface PagePermissionGroup {
|
|
|
1200
1208
|
appType: string;
|
|
1201
1209
|
name: string;
|
|
1202
1210
|
roles: string[];
|
|
1211
|
+
platformRoleCodes?: string[];
|
|
1203
1212
|
menuFormUuids: string[];
|
|
1204
1213
|
createdAt?: string;
|
|
1205
1214
|
updatedAt?: string;
|
|
@@ -1208,12 +1217,14 @@ interface CreatePagePermissionGroupDto {
|
|
|
1208
1217
|
appType: string;
|
|
1209
1218
|
name: string;
|
|
1210
1219
|
roles: string[];
|
|
1220
|
+
platformRoleCodes?: string[];
|
|
1211
1221
|
menuFormUuids: string[];
|
|
1212
1222
|
}
|
|
1213
1223
|
interface UpdatePagePermissionGroupDto {
|
|
1214
1224
|
appType?: string;
|
|
1215
1225
|
name?: string;
|
|
1216
1226
|
roles?: string[];
|
|
1227
|
+
platformRoleCodes?: string[];
|
|
1217
1228
|
menuFormUuids?: string[];
|
|
1218
1229
|
}
|
|
1219
1230
|
interface QueryPagePermissionGroupDto {
|
|
@@ -1226,6 +1237,7 @@ interface UserMenuPermissionsResponse {
|
|
|
1226
1237
|
appType: string;
|
|
1227
1238
|
menuFormUuids: string[];
|
|
1228
1239
|
hasFullAccess: boolean;
|
|
1240
|
+
platformRoleCodes?: string[];
|
|
1229
1241
|
}
|
|
1230
1242
|
type NotificationChannel = "inapp" | "email" | "dingding" | "wechat" | "thirdparty_todo";
|
|
1231
1243
|
interface SendNotificationByTypeParams {
|
|
@@ -2687,6 +2699,7 @@ interface RuntimePagePermissions {
|
|
|
2687
2699
|
appType: string;
|
|
2688
2700
|
hasFullAccess: boolean;
|
|
2689
2701
|
roleCodes: string[];
|
|
2702
|
+
platformRoleCodes?: string[];
|
|
2690
2703
|
roleSource?: string;
|
|
2691
2704
|
menuFormUuids: string[];
|
|
2692
2705
|
menuCodes: string[];
|