@tinycloud/operations 0.7.7-beta.4 → 0.7.7-beta.6

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.
@@ -1038,7 +1038,7 @@ var init_sha2 = __esm({
1038
1038
  });
1039
1039
 
1040
1040
  // ../sdk-core/src/manifest.ts
1041
- import { resolveSecretPath, SECRET_NAME_RE } from "@tinycloud/sdk-services";
1041
+ import { resolveSecretPath, SECRET_NAME_RE, parseNetworkId } from "@tinycloud/sdk-services";
1042
1042
  function expandActionShortNames(service, actions) {
1043
1043
  return actions.map((a) => {
1044
1044
  if (a.includes("/")) {
@@ -1047,7 +1047,7 @@ function expandActionShortNames(service, actions) {
1047
1047
  return `${service}/${a}`;
1048
1048
  });
1049
1049
  }
1050
- var import_ms, DEFAULT_MANIFEST_SPACE, SERVICE_SHORT_TO_LONG, SERVICE_LONG_TO_SHORT;
1050
+ var import_ms, DEFAULT_MANIFEST_SPACE, SERVICE_SHORT_TO_LONG, SERVICE_LONG_TO_SHORT, KEY_SEGMENT, KEY_APP_ID, KEY_PATH;
1051
1051
  var init_manifest = __esm({
1052
1052
  "../sdk-core/src/manifest.ts"() {
1053
1053
  "use strict";
@@ -1068,6 +1068,9 @@ var init_manifest = __esm({
1068
1068
  Object.entries(SERVICE_SHORT_TO_LONG).map(([s, l]) => [l, s])
1069
1069
  )
1070
1070
  );
1071
+ KEY_SEGMENT = "[a-z0-9][a-z0-9._-]{0,63}";
1072
+ KEY_APP_ID = new RegExp(`^${KEY_SEGMENT}$`);
1073
+ KEY_PATH = new RegExp(`^${KEY_SEGMENT}(?:/${KEY_SEGMENT}){2,7}$`);
1071
1074
  }
1072
1075
  });
1073
1076