@tailor-platform/sdk 1.25.0 → 1.25.1
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/CHANGELOG.md +6 -0
- package/dist/{application-EQCsho6Z.mjs → application-B4ORumjE.mjs} +2 -2
- package/dist/{application-CxDvCZts.mjs → application-iRp2OYMz.mjs} +7 -7
- package/dist/{application-CxDvCZts.mjs.map → application-iRp2OYMz.mjs.map} +1 -1
- package/dist/brand-BOaOlsiP.mjs +36 -0
- package/dist/brand-BOaOlsiP.mjs.map +1 -0
- package/dist/cli/index.mjs +4 -4
- package/dist/cli/lib.d.mts +0 -1
- package/dist/cli/lib.mjs +4 -4
- package/dist/configure/index.d.mts +1 -1
- package/dist/configure/index.mjs +6 -6
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{index-BUnLWUKQ.d.mts → index-BuWllBxZ.d.mts} +12 -12
- package/dist/{job-CnLRQFrk.mjs → job-BQDunsd7.mjs} +3 -3
- package/dist/{job-CnLRQFrk.mjs.map → job-BQDunsd7.mjs.map} +1 -1
- package/dist/{query-c9RCJduH.mjs → query-D3UyoG68.mjs} +4 -4
- package/dist/{query-c9RCJduH.mjs.map → query-D3UyoG68.mjs.map} +1 -1
- package/dist/{schema-DOx_W_s2.mjs → schema-Fbfeq9gi.mjs} +3 -3
- package/dist/{schema-DOx_W_s2.mjs.map → schema-Fbfeq9gi.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +1 -1
- package/dist/utils/test/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/brand-j6C6_sGq.mjs +0 -28
- package/dist/brand-j6C6_sGq.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.25.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#727](https://github.com/tailor-platform/sdk/pull/727) [`cf08b9b`](https://github.com/tailor-platform/sdk/commit/cf08b9be9af5027b4bfce6537ee182fb4d3586ab) Thanks [@dqn](https://github.com/dqn)! - fix: use kind-specific brand symbols to prevent cross-service false positives during generate
|
|
8
|
+
|
|
3
9
|
## 1.25.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./brand-
|
|
2
|
-
import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-
|
|
1
|
+
import "./brand-BOaOlsiP.mjs";
|
|
2
|
+
import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-iRp2OYMz.mjs";
|
|
3
3
|
import "./package-json-DnbGCOkg.mjs";
|
|
4
4
|
import "./seed-DkKAheSe.mjs";
|
|
5
5
|
import "./file-utils-C2r3AVbI.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as isSdkBranded } from "./brand-
|
|
1
|
+
import { n as isSdkBranded } from "./brand-BOaOlsiP.mjs";
|
|
2
2
|
import { t as readPackageJson } from "./package-json-DnbGCOkg.mjs";
|
|
3
3
|
import { n as seedPlugin, r as isPluginGeneratedType, t as SeedGeneratorID } from "./seed-DkKAheSe.mjs";
|
|
4
4
|
import { n as enumConstantsPlugin, t as EnumConstantsGeneratorID } from "./enum-constants-BxdLbhsW.mjs";
|
|
@@ -3242,7 +3242,7 @@ function createTailorDBService(params) {
|
|
|
3242
3242
|
const exportedValue = module[exportName];
|
|
3243
3243
|
const result = TailorDBTypeSchema.safeParse(exportedValue);
|
|
3244
3244
|
if (!result.success) {
|
|
3245
|
-
if (isSdkBranded(exportedValue)) throw result.error;
|
|
3245
|
+
if (isSdkBranded(exportedValue, "tailordb-type")) throw result.error;
|
|
3246
3246
|
continue;
|
|
3247
3247
|
}
|
|
3248
3248
|
const relativePath = path.relative(process.cwd(), typeFile);
|
|
@@ -4503,7 +4503,7 @@ function createExecutorService(params) {
|
|
|
4503
4503
|
executors[executorFile] = result.data;
|
|
4504
4504
|
return result.data;
|
|
4505
4505
|
}
|
|
4506
|
-
if (isSdkBranded(executorModule.default)) throw result.error;
|
|
4506
|
+
if (isSdkBranded(executorModule.default, "executor")) throw result.error;
|
|
4507
4507
|
} catch (error) {
|
|
4508
4508
|
const relativePath = path.relative(process.cwd(), executorFile);
|
|
4509
4509
|
logger.error(`Failed to load executor from ${styles.bold(relativePath)}`);
|
|
@@ -4700,7 +4700,7 @@ function createResolverService(namespace, config) {
|
|
|
4700
4700
|
resolvers[resolverFile] = result.data;
|
|
4701
4701
|
return result.data;
|
|
4702
4702
|
}
|
|
4703
|
-
if (isSdkBranded(resolverModule.default)) throw result.error;
|
|
4703
|
+
if (isSdkBranded(resolverModule.default, "resolver")) throw result.error;
|
|
4704
4704
|
} catch (error) {
|
|
4705
4705
|
const relativePath = path.relative(process.cwd(), resolverFile);
|
|
4706
4706
|
logger.error(`Failed to load resolver from ${styles.bold(relativePath)}`);
|
|
@@ -5181,7 +5181,7 @@ async function loadFileContent(filePath) {
|
|
|
5181
5181
|
if (exportName === "default") {
|
|
5182
5182
|
const workflowResult = WorkflowSchema.safeParse(exportValue);
|
|
5183
5183
|
if (workflowResult.success) workflow = workflowResult.data;
|
|
5184
|
-
else if (isSdkBranded(exportValue)) throw workflowResult.error;
|
|
5184
|
+
else if (isSdkBranded(exportValue, ["workflow", "workflow-job"])) throw workflowResult.error;
|
|
5185
5185
|
continue;
|
|
5186
5186
|
}
|
|
5187
5187
|
const jobResult = WorkflowJobSchema.safeParse(exportValue);
|
|
@@ -5190,7 +5190,7 @@ async function loadFileContent(filePath) {
|
|
|
5190
5190
|
exportName,
|
|
5191
5191
|
sourceFile: filePath
|
|
5192
5192
|
});
|
|
5193
|
-
else if (isSdkBranded(exportValue)) throw jobResult.error;
|
|
5193
|
+
else if (isSdkBranded(exportValue, ["workflow", "workflow-job"])) throw jobResult.error;
|
|
5194
5194
|
}
|
|
5195
5195
|
} catch (error) {
|
|
5196
5196
|
const relativePath = path.relative(process.cwd(), filePath);
|
|
@@ -5726,4 +5726,4 @@ async function loadApplication(params) {
|
|
|
5726
5726
|
|
|
5727
5727
|
//#endregion
|
|
5728
5728
|
export { AuthSCIMAttribute_Mutability as $, platformBaseUrl as A, TailorDBType_Permission_Permit as B, readPlatformConfig as C, fetchUserInfo as D, fetchMachineUserToken as E, WorkflowJobExecution_Status as F, FunctionExecution_Type as G, PipelineResolver_OperationType as H, TailorDBGQLPermission_Action as I, ExecutorTriggerType as J, ExecutorJobStatus as K, TailorDBGQLPermission_Operator as L, userAgent as M, WorkspacePlatformUserRole as N, initOAuth2Client as O, WorkflowExecution_Status as P, AuthOAuth2Client_GrantType as Q, TailorDBGQLPermission_Permit as R, loadWorkspaceId as S, fetchAll as T, IdPLang as U, TailorDBType_PermitAction as V, FunctionExecution_Status as W, AuthInvokerSchema$1 as X, AuthIDPConfig_AuthType as Y, AuthOAuth2Client_ClientType as Z, hashFile as _, loadConfig as a, UserProfileProviderConfig_UserProfileProviderType as at, loadFolderId as b, ExecutorSchema as c, Condition_Operator as ct, TailorDBTypeSchema as d, ApplicationSchemaUpdateAttemptStatus as dt, AuthSCIMAttribute_Type as et, stringifyFunction as f, Subgraph_ServiceType as ft, getDistDir as g, createBundleCache as h, symbols as ht, resolveInlineSourcemap as i, TenantProviderConfig_TenantProviderType as it, resolveStaticWebsiteUrls as j, initOperatorClient as k, OAuth2ClientSchema as l, FilterSchema as lt, loadFilesWithIgnores as m, styles as mt, generatePluginFilesIfNeeded as n, AuthSCIMConfig_AuthorizationType as nt, WorkflowJobSchema as o, GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus as ot, tailorUserMap as p, logger as pt, ExecutorTargetType as q, loadApplication as r, PATScope as rt, createExecutorService as s, ConditionSchema as st, defineApplication as t, AuthSCIMAttribute_Uniqueness as tt, ResolverSchema as u, PageDirection as ut, fetchLatestToken as v, writePlatformConfig as w, loadOrganizationId as x, loadAccessToken as y, TailorDBType_Permission_Operator as z };
|
|
5729
|
-
//# sourceMappingURL=application-
|
|
5729
|
+
//# sourceMappingURL=application-iRp2OYMz.mjs.map
|