openxiangda 1.0.270 → 1.0.271
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/application-environments.js +17 -0
- package/lib/cli.js +343 -78
- package/lib/release-plan.js +76 -63
- package/openxiangda-skills/SKILL.md +1 -1
- package/openxiangda-skills/references/notifications.md +28 -23
- package/openxiangda-skills/references/openxiangda-api.md +10 -30
- package/openxiangda-skills/references/pages/page-sdk.md +1 -1
- package/openxiangda-skills/references/resource-manifest-cheatsheet.md +5 -7
- package/openxiangda-skills/skills/openxiangda-core/SKILL.md +1 -1
- package/openxiangda-skills/skills/openxiangda-page/SKILL.md +2 -2
- package/package.json +22 -23
- package/packages/sdk/dist/runtime/index.cjs +39 -39
- package/packages/sdk/dist/runtime/index.mjs +39 -39
- package/packages/sdk/dist/runtime/react.cjs +39 -39
- package/packages/sdk/dist/runtime/react.d.mts +3 -0
- package/packages/sdk/dist/runtime/react.d.ts +3 -0
- package/packages/sdk/dist/runtime/react.mjs +46 -46
- package/packages/sdk/src/build-source/scripts/publish-all.mjs +33 -2
- package/packages/sdk/src/build-source/scripts/register.mjs +161 -1
- package/templates/openxiangda-react-spa/AGENTS.md +2 -0
- package/templates/sy-lowcode-app-workspace/AGENTS.md +1 -1
|
@@ -2173,11 +2173,14 @@ interface PageSdk {
|
|
|
2173
2173
|
invoke<TResult = unknown, TInput = unknown>(code: string, params?: FunctionInvokeParams<TInput>): Promise<PageApiResponse<FunctionInvokeResult<TResult>>>;
|
|
2174
2174
|
};
|
|
2175
2175
|
notification: {
|
|
2176
|
+
/** @deprecated 页面不得直接发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
|
|
2176
2177
|
sendByType<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
|
|
2178
|
+
/** @deprecated 页面不得直接批量发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
|
|
2177
2179
|
batchSendByType<T = SendNotificationResult>(params: BatchSendNotificationByTypeParams): Promise<PageApiResponse<T>>;
|
|
2178
2180
|
findConfig<T = NotificationTypeConfig | null>(notificationType: string, params?: FindNotificationConfigParams): Promise<PageApiResponse<T>>;
|
|
2179
2181
|
previewTemplate<T = NotificationTemplatePreview>(params: PreviewNotificationTemplateParams): Promise<PageApiResponse<T>>;
|
|
2180
2182
|
previewDingTalk<T = DingTalkNotificationPreviewResult>(params: PreviewDingTalkNotificationParams): Promise<PageApiResponse<T>>;
|
|
2183
|
+
/** @deprecated 页面不得直接发送钉钉通知,请改用 sdk.function.invoke 调用具名 App Function。 */
|
|
2181
2184
|
sendDingTalk<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
|
|
2182
2185
|
capabilities<T = DingTalkNotificationCapabilities>(params?: {
|
|
2183
2186
|
appType?: string;
|
|
@@ -2173,11 +2173,14 @@ interface PageSdk {
|
|
|
2173
2173
|
invoke<TResult = unknown, TInput = unknown>(code: string, params?: FunctionInvokeParams<TInput>): Promise<PageApiResponse<FunctionInvokeResult<TResult>>>;
|
|
2174
2174
|
};
|
|
2175
2175
|
notification: {
|
|
2176
|
+
/** @deprecated 页面不得直接发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
|
|
2176
2177
|
sendByType<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
|
|
2178
|
+
/** @deprecated 页面不得直接批量发送通知,请改用 sdk.function.invoke 调用具名 App Function。 */
|
|
2177
2179
|
batchSendByType<T = SendNotificationResult>(params: BatchSendNotificationByTypeParams): Promise<PageApiResponse<T>>;
|
|
2178
2180
|
findConfig<T = NotificationTypeConfig | null>(notificationType: string, params?: FindNotificationConfigParams): Promise<PageApiResponse<T>>;
|
|
2179
2181
|
previewTemplate<T = NotificationTemplatePreview>(params: PreviewNotificationTemplateParams): Promise<PageApiResponse<T>>;
|
|
2180
2182
|
previewDingTalk<T = DingTalkNotificationPreviewResult>(params: PreviewDingTalkNotificationParams): Promise<PageApiResponse<T>>;
|
|
2183
|
+
/** @deprecated 页面不得直接发送钉钉通知,请改用 sdk.function.invoke 调用具名 App Function。 */
|
|
2181
2184
|
sendDingTalk<T = SendNotificationResult>(params: SendNotificationByTypeParams): Promise<PageApiResponse<T>>;
|
|
2182
2185
|
capabilities<T = DingTalkNotificationCapabilities>(params?: {
|
|
2183
2186
|
appType?: string;
|