declastruct-github 1.0.7 → 1.2.0

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 (145) hide show
  1. package/dist/access/daos/DeclaredGithubAppDao.d.ts +8 -0
  2. package/dist/access/daos/DeclaredGithubAppDao.js +32 -0
  3. package/dist/access/daos/DeclaredGithubAppDao.js.map +1 -0
  4. package/dist/access/daos/DeclaredGithubAppInstallationDao.d.ts +9 -0
  5. package/dist/access/daos/DeclaredGithubAppInstallationDao.js +33 -0
  6. package/dist/access/daos/DeclaredGithubAppInstallationDao.js.map +1 -0
  7. package/dist/access/daos/DeclaredGithubBranchDao.js +4 -4
  8. package/dist/access/daos/DeclaredGithubBranchDao.js.map +1 -1
  9. package/dist/access/daos/DeclaredGithubBranchProtectionDao.js +4 -4
  10. package/dist/access/daos/DeclaredGithubBranchProtectionDao.js.map +1 -1
  11. package/dist/access/daos/DeclaredGithubOrgDao.d.ts +10 -0
  12. package/dist/access/daos/DeclaredGithubOrgDao.js +44 -0
  13. package/dist/access/daos/DeclaredGithubOrgDao.js.map +1 -0
  14. package/dist/access/daos/DeclaredGithubOrgMemberPrivilegesDao.d.ts +10 -0
  15. package/dist/access/daos/DeclaredGithubOrgMemberPrivilegesDao.js +44 -0
  16. package/dist/access/daos/DeclaredGithubOrgMemberPrivilegesDao.js.map +1 -0
  17. package/dist/access/daos/DeclaredGithubOrgSecretDao.d.ts +10 -0
  18. package/dist/access/daos/DeclaredGithubOrgSecretDao.js +47 -0
  19. package/dist/access/daos/DeclaredGithubOrgSecretDao.js.map +1 -0
  20. package/dist/access/daos/DeclaredGithubOrgVariableDao.d.ts +9 -0
  21. package/dist/access/daos/DeclaredGithubOrgVariableDao.js +46 -0
  22. package/dist/access/daos/DeclaredGithubOrgVariableDao.js.map +1 -0
  23. package/dist/access/daos/DeclaredGithubRepoConfigDao.js +4 -4
  24. package/dist/access/daos/DeclaredGithubRepoConfigDao.js.map +1 -1
  25. package/dist/access/daos/DeclaredGithubRepoDao.js +4 -4
  26. package/dist/access/daos/DeclaredGithubRepoDao.js.map +1 -1
  27. package/dist/contract/sdks/index.d.ts +8 -0
  28. package/dist/contract/sdks/index.js +18 -3
  29. package/dist/contract/sdks/index.js.map +1 -1
  30. package/dist/domain.objects/DeclaredGithubApp.d.ts +75 -0
  31. package/dist/domain.objects/DeclaredGithubApp.js +16 -0
  32. package/dist/domain.objects/DeclaredGithubApp.js.map +1 -0
  33. package/dist/domain.objects/DeclaredGithubAppInstallation.d.ts +61 -0
  34. package/dist/domain.objects/DeclaredGithubAppInstallation.js +16 -0
  35. package/dist/domain.objects/DeclaredGithubAppInstallation.js.map +1 -0
  36. package/dist/domain.objects/DeclaredGithubAppPermissions.d.ts +130 -0
  37. package/dist/domain.objects/DeclaredGithubAppPermissions.js +12 -0
  38. package/dist/domain.objects/DeclaredGithubAppPermissions.js.map +1 -0
  39. package/dist/domain.objects/DeclaredGithubOrg.d.ts +59 -0
  40. package/dist/domain.objects/DeclaredGithubOrg.js +15 -0
  41. package/dist/domain.objects/DeclaredGithubOrg.js.map +1 -0
  42. package/dist/domain.objects/DeclaredGithubOrgMemberPrivileges.d.ts +85 -0
  43. package/dist/domain.objects/DeclaredGithubOrgMemberPrivileges.js +13 -0
  44. package/dist/domain.objects/DeclaredGithubOrgMemberPrivileges.js.map +1 -0
  45. package/dist/domain.objects/DeclaredGithubOrgSecret.d.ts +63 -0
  46. package/dist/domain.objects/DeclaredGithubOrgSecret.js +14 -0
  47. package/dist/domain.objects/DeclaredGithubOrgSecret.js.map +1 -0
  48. package/dist/domain.objects/DeclaredGithubOrgVariable.d.ts +54 -0
  49. package/dist/domain.objects/DeclaredGithubOrgVariable.js +13 -0
  50. package/dist/domain.objects/DeclaredGithubOrgVariable.js.map +1 -0
  51. package/dist/domain.objects/DeclaredGithubOwner.d.ts +17 -0
  52. package/dist/domain.objects/DeclaredGithubOwner.js +8 -0
  53. package/dist/domain.objects/DeclaredGithubOwner.js.map +1 -0
  54. package/dist/domain.objects/DeclaredGithubRepo.d.ts +1 -0
  55. package/dist/domain.objects/DeclaredGithubRepo.js +1 -0
  56. package/dist/domain.objects/DeclaredGithubRepo.js.map +1 -1
  57. package/dist/domain.objects/DeclaredGithubRepoConfig.d.ts +0 -4
  58. package/dist/domain.objects/DeclaredGithubRepoConfig.js.map +1 -1
  59. package/dist/domain.objects/DeclastructGithubProvider.d.ts +12 -0
  60. package/dist/domain.operations/app/castToDeclaredGithubApp.d.ts +12 -0
  61. package/dist/domain.operations/app/castToDeclaredGithubApp.js +134 -0
  62. package/dist/domain.operations/app/castToDeclaredGithubApp.js.map +1 -0
  63. package/dist/domain.operations/app/getOneApp.d.ts +15 -0
  64. package/dist/domain.operations/app/getOneApp.js +67 -0
  65. package/dist/domain.operations/app/getOneApp.js.map +1 -0
  66. package/dist/domain.operations/app/setApp.d.ts +13 -0
  67. package/dist/domain.operations/app/setApp.js +77 -0
  68. package/dist/domain.operations/app/setApp.js.map +1 -0
  69. package/dist/domain.operations/appInstallation/castToDeclaredGithubAppInstallation.d.ts +19 -0
  70. package/dist/domain.operations/appInstallation/castToDeclaredGithubAppInstallation.js +61 -0
  71. package/dist/domain.operations/appInstallation/castToDeclaredGithubAppInstallation.js.map +1 -0
  72. package/dist/domain.operations/appInstallation/deleteAppInstallation.d.ts +11 -0
  73. package/dist/domain.operations/appInstallation/deleteAppInstallation.js +30 -0
  74. package/dist/domain.operations/appInstallation/deleteAppInstallation.js.map +1 -0
  75. package/dist/domain.operations/appInstallation/getOneAppInstallation.d.ts +15 -0
  76. package/dist/domain.operations/appInstallation/getOneAppInstallation.js +92 -0
  77. package/dist/domain.operations/appInstallation/getOneAppInstallation.js.map +1 -0
  78. package/dist/domain.operations/appInstallation/setAppInstallation.d.ts +13 -0
  79. package/dist/domain.operations/appInstallation/setAppInstallation.js +131 -0
  80. package/dist/domain.operations/appInstallation/setAppInstallation.js.map +1 -0
  81. package/dist/domain.operations/branch/setBranch.js +19 -10
  82. package/dist/domain.operations/branch/setBranch.js.map +1 -1
  83. package/dist/domain.operations/context/hasContextWithAppToken.d.ts +6 -0
  84. package/dist/domain.operations/context/hasContextWithAppToken.js +15 -0
  85. package/dist/domain.operations/context/hasContextWithAppToken.js.map +1 -0
  86. package/dist/domain.operations/context/hasContextWithPatToken.d.ts +6 -0
  87. package/dist/domain.operations/context/hasContextWithPatToken.js +17 -0
  88. package/dist/domain.operations/context/hasContextWithPatToken.js.map +1 -0
  89. package/dist/domain.operations/org/castToDeclaredGithubOrg.d.ts +12 -0
  90. package/dist/domain.operations/org/castToDeclaredGithubOrg.js +29 -0
  91. package/dist/domain.operations/org/castToDeclaredGithubOrg.js.map +1 -0
  92. package/dist/domain.operations/org/getOneOrg.d.ts +14 -0
  93. package/dist/domain.operations/org/getOneOrg.js +31 -0
  94. package/dist/domain.operations/org/getOneOrg.js.map +1 -0
  95. package/dist/domain.operations/org/setOrg.d.ts +17 -0
  96. package/dist/domain.operations/org/setOrg.js +50 -0
  97. package/dist/domain.operations/org/setOrg.js.map +1 -0
  98. package/dist/domain.operations/orgMemberPrivileges/castToDeclaredGithubOrgMemberPrivileges.d.ts +15 -0
  99. package/dist/domain.operations/orgMemberPrivileges/castToDeclaredGithubOrgMemberPrivileges.js +47 -0
  100. package/dist/domain.operations/orgMemberPrivileges/castToDeclaredGithubOrgMemberPrivileges.js.map +1 -0
  101. package/dist/domain.operations/orgMemberPrivileges/getOneOrgMemberPrivileges.d.ts +14 -0
  102. package/dist/domain.operations/orgMemberPrivileges/getOneOrgMemberPrivileges.js +36 -0
  103. package/dist/domain.operations/orgMemberPrivileges/getOneOrgMemberPrivileges.js.map +1 -0
  104. package/dist/domain.operations/orgMemberPrivileges/setOrgMemberPrivileges.d.ts +16 -0
  105. package/dist/domain.operations/orgMemberPrivileges/setOrgMemberPrivileges.js +64 -0
  106. package/dist/domain.operations/orgMemberPrivileges/setOrgMemberPrivileges.js.map +1 -0
  107. package/dist/domain.operations/orgSecret/castToDeclaredGithubOrgSecret.d.ts +17 -0
  108. package/dist/domain.operations/orgSecret/castToDeclaredGithubOrgSecret.js +28 -0
  109. package/dist/domain.operations/orgSecret/castToDeclaredGithubOrgSecret.js.map +1 -0
  110. package/dist/domain.operations/orgSecret/delOrgSecret.d.ts +11 -0
  111. package/dist/domain.operations/orgSecret/delOrgSecret.js +27 -0
  112. package/dist/domain.operations/orgSecret/delOrgSecret.js.map +1 -0
  113. package/dist/domain.operations/orgSecret/getAllOrgSecrets.d.ts +14 -0
  114. package/dist/domain.operations/orgSecret/getAllOrgSecrets.js +27 -0
  115. package/dist/domain.operations/orgSecret/getAllOrgSecrets.js.map +1 -0
  116. package/dist/domain.operations/orgSecret/getOneOrgSecret.d.ts +15 -0
  117. package/dist/domain.operations/orgSecret/getOneOrgSecret.js +35 -0
  118. package/dist/domain.operations/orgSecret/getOneOrgSecret.js.map +1 -0
  119. package/dist/domain.operations/orgSecret/setOrgSecret.d.ts +17 -0
  120. package/dist/domain.operations/orgSecret/setOrgSecret.js +123 -0
  121. package/dist/domain.operations/orgSecret/setOrgSecret.js.map +1 -0
  122. package/dist/domain.operations/orgVariable/castToDeclaredGithubOrgVariable.d.ts +16 -0
  123. package/dist/domain.operations/orgVariable/castToDeclaredGithubOrgVariable.js +26 -0
  124. package/dist/domain.operations/orgVariable/castToDeclaredGithubOrgVariable.js.map +1 -0
  125. package/dist/domain.operations/orgVariable/delOrgVariable.d.ts +11 -0
  126. package/dist/domain.operations/orgVariable/delOrgVariable.js +27 -0
  127. package/dist/domain.operations/orgVariable/delOrgVariable.js.map +1 -0
  128. package/dist/domain.operations/orgVariable/getAllOrgVariables.d.ts +13 -0
  129. package/dist/domain.operations/orgVariable/getAllOrgVariables.js +28 -0
  130. package/dist/domain.operations/orgVariable/getAllOrgVariables.js.map +1 -0
  131. package/dist/domain.operations/orgVariable/getOneOrgVariable.d.ts +14 -0
  132. package/dist/domain.operations/orgVariable/getOneOrgVariable.js +34 -0
  133. package/dist/domain.operations/orgVariable/getOneOrgVariable.js.map +1 -0
  134. package/dist/domain.operations/orgVariable/setOrgVariable.d.ts +12 -0
  135. package/dist/domain.operations/orgVariable/setOrgVariable.js +69 -0
  136. package/dist/domain.operations/orgVariable/setOrgVariable.js.map +1 -0
  137. package/dist/domain.operations/provider/getDeclastructGithubProvider.js +13 -0
  138. package/dist/domain.operations/provider/getDeclastructGithubProvider.js.map +1 -1
  139. package/dist/domain.operations/repo/getRepos.js +22 -5
  140. package/dist/domain.operations/repo/getRepos.js.map +1 -1
  141. package/dist/domain.operations/repoConfig/castToDeclaredGithubRepoConfig.js +0 -1
  142. package/dist/domain.operations/repoConfig/castToDeclaredGithubRepoConfig.js.map +1 -1
  143. package/dist/domain.operations/repoConfig/setRepoConfig.js +0 -1
  144. package/dist/domain.operations/repoConfig/setRepoConfig.js.map +1 -1
  145. package/package.json +7 -5
@@ -0,0 +1,8 @@
1
+ import type { ContextLogTrail } from 'simple-log-methods';
2
+ import type { ContextGithubApi } from '../../domain.objects/ContextGithubApi';
3
+ import { DeclaredGithubApp } from '../../domain.objects/DeclaredGithubApp';
4
+ /**
5
+ * .what = declastruct DAO for GitHub App resources
6
+ * .why = wraps app operations to conform to declastruct interface with helpful errors
7
+ */
8
+ export declare const DeclaredGithubAppDao: import("declastruct").DeclastructDaoWoutRef<typeof DeclaredGithubApp, ContextGithubApi & ContextLogTrail>;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeclaredGithubAppDao = void 0;
4
+ const declastruct_1 = require("declastruct");
5
+ const DeclaredGithubApp_1 = require("../../domain.objects/DeclaredGithubApp");
6
+ const getOneApp_1 = require("../../domain.operations/app/getOneApp");
7
+ const setApp_1 = require("../../domain.operations/app/setApp");
8
+ /**
9
+ * .what = declastruct DAO for GitHub App resources
10
+ * .why = wraps app operations to conform to declastruct interface with helpful errors
11
+ */
12
+ exports.DeclaredGithubAppDao = (0, declastruct_1.genDeclastructDao)({
13
+ dobj: DeclaredGithubApp_1.DeclaredGithubApp,
14
+ get: {
15
+ one: {
16
+ byUnique: async (input, context) => {
17
+ return (0, getOneApp_1.getOneApp)({ by: { unique: input } }, context);
18
+ },
19
+ byPrimary: null,
20
+ },
21
+ },
22
+ set: {
23
+ finsert: async (input, context) => {
24
+ return (0, setApp_1.setApp)({ finsert: input }, context);
25
+ },
26
+ upsert: async (input, context) => {
27
+ return (0, setApp_1.setApp)({ upsert: input }, context);
28
+ },
29
+ delete: null,
30
+ },
31
+ });
32
+ //# sourceMappingURL=DeclaredGithubAppDao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeclaredGithubAppDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubAppDao.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAIhD,8EAA2E;AAC3E,qEAAkE;AAClE,+DAA4D;AAE5D;;;GAGG;AACU,QAAA,oBAAoB,GAAG,IAAA,+BAAiB,EAGnD;IACA,IAAI,EAAE,qCAAiB;IACvB,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,qBAAS,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACvD,CAAC;YACD,SAAS,EAAE,IAAI;SAChB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,eAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,eAAM,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC5C,CAAC;QACD,MAAM,EAAE,IAAI;KACb;CACF,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ContextLogTrail } from 'simple-log-methods';
2
+ import type { ContextGithubApi } from '../../domain.objects/ContextGithubApi';
3
+ import { DeclaredGithubAppInstallation } from '../../domain.objects/DeclaredGithubAppInstallation';
4
+ /**
5
+ * .what = declastruct DAO for GitHub App installation resources
6
+ * .why = wraps installation operations to conform to declastruct interface with helpful errors
7
+ * .note = delete is null because API deletion requires App JWT; use deleteAppInstallation directly for helpful error with uninstall URL
8
+ */
9
+ export declare const DeclaredGithubAppInstallationDao: import("declastruct").DeclastructDaoWoutRef<typeof DeclaredGithubAppInstallation, ContextGithubApi & ContextLogTrail>;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeclaredGithubAppInstallationDao = void 0;
4
+ const declastruct_1 = require("declastruct");
5
+ const DeclaredGithubAppInstallation_1 = require("../../domain.objects/DeclaredGithubAppInstallation");
6
+ const getOneAppInstallation_1 = require("../../domain.operations/appInstallation/getOneAppInstallation");
7
+ const setAppInstallation_1 = require("../../domain.operations/appInstallation/setAppInstallation");
8
+ /**
9
+ * .what = declastruct DAO for GitHub App installation resources
10
+ * .why = wraps installation operations to conform to declastruct interface with helpful errors
11
+ * .note = delete is null because API deletion requires App JWT; use deleteAppInstallation directly for helpful error with uninstall URL
12
+ */
13
+ exports.DeclaredGithubAppInstallationDao = (0, declastruct_1.genDeclastructDao)({
14
+ dobj: DeclaredGithubAppInstallation_1.DeclaredGithubAppInstallation,
15
+ get: {
16
+ one: {
17
+ byUnique: async (input, context) => {
18
+ return (0, getOneAppInstallation_1.getOneAppInstallation)({ by: { unique: input } }, context);
19
+ },
20
+ byPrimary: null,
21
+ },
22
+ },
23
+ set: {
24
+ finsert: async (input, context) => {
25
+ return (0, setAppInstallation_1.setAppInstallation)({ finsert: input }, context);
26
+ },
27
+ upsert: async (input, context) => {
28
+ return (0, setAppInstallation_1.setAppInstallation)({ upsert: input }, context);
29
+ },
30
+ delete: null,
31
+ },
32
+ });
33
+ //# sourceMappingURL=DeclaredGithubAppInstallationDao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeclaredGithubAppInstallationDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubAppInstallationDao.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAIhD,sGAAmG;AACnG,yGAAsG;AACtG,mGAAgG;AAEhG;;;;GAIG;AACU,QAAA,gCAAgC,GAAG,IAAA,+BAAiB,EAG/D;IACA,IAAI,EAAE,6DAA6B;IACnC,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,6CAAqB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACnE,CAAC;YACD,SAAS,EAAE,IAAI;SAChB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,uCAAkB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACzD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,uCAAkB,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACxD,CAAC;QACD,MAAM,EAAE,IAAI;KACb;CACF,CAAC,CAAC"}
@@ -19,7 +19,7 @@ exports.DeclaredGithubBranchDao = new declastruct_1.DeclastructDao({
19
19
  byUnique: async (input, context) => {
20
20
  return (0, getBranch_1.getBranch)({ by: { unique: input } }, context);
21
21
  },
22
- byPrimary: null,
22
+ byPrimary: undefined,
23
23
  byRef: async (input, context) => {
24
24
  if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubBranch_1.DeclaredGithubBranch })(input))
25
25
  return (0, getBranch_1.getBranch)({ by: { unique: input } }, context);
@@ -27,8 +27,8 @@ exports.DeclaredGithubBranchDao = new declastruct_1.DeclastructDao({
27
27
  },
28
28
  },
29
29
  ref: {
30
- byPrimary: null,
31
- byUnique: null,
30
+ byPrimary: undefined,
31
+ byUnique: undefined,
32
32
  },
33
33
  },
34
34
  set: {
@@ -38,7 +38,7 @@ exports.DeclaredGithubBranchDao = new declastruct_1.DeclastructDao({
38
38
  upsert: async (input, context) => {
39
39
  return (0, setBranch_1.setBranch)({ upsert: input }, context);
40
40
  },
41
- delete: null,
41
+ delete: undefined,
42
42
  },
43
43
  });
44
44
  //# sourceMappingURL=DeclaredGithubBranchDao.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeclaredGithubBranchDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubBranchDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,oFAAiF;AACjF,wEAAqE;AACrE,wEAAqE;AAErE;;;;GAIG;AACU,QAAA,uBAAuB,GAAG,IAAI,4BAAc,CAGvD;IACA,IAAI,EAAE,2CAAoB;IAC1B,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,qBAAS,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACvD,CAAC;YACD,SAAS,EAAE,IAAI;YACf,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,2CAAoB,EAAE,CAAC,CAAC,KAAK,CAAC;oBACpD,OAAO,IAAA,qBAAS,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACvD,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,IAAI;SACf;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,qBAAS,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAChD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,qBAAS,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,EAAE,IAAI;KACb;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"DeclaredGithubBranchDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubBranchDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,oFAAiF;AACjF,wEAAqE;AACrE,wEAAqE;AAErE;;;;GAIG;AACU,QAAA,uBAAuB,GAAG,IAAI,4BAAc,CAGvD;IACA,IAAI,EAAE,2CAAoB;IAC1B,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,qBAAS,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACvD,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,2CAAoB,EAAE,CAAC,CAAC,KAAK,CAAC;oBACpD,OAAO,IAAA,qBAAS,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACvD,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,qBAAS,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAChD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,qBAAS,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC/C,CAAC;QACD,MAAM,EAAE,SAAS;KAClB;CACF,CAAC,CAAC"}
@@ -18,7 +18,7 @@ exports.DeclaredGithubBranchProtectionDao = new declastruct_1.DeclastructDao({
18
18
  byUnique: async (input, context) => {
19
19
  return (0, getBranchProtection_1.getBranchProtection)({ by: { unique: input } }, context);
20
20
  },
21
- byPrimary: null,
21
+ byPrimary: undefined,
22
22
  byRef: async (input, context) => {
23
23
  if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubBranchProtection_1.DeclaredGithubBranchProtection })(input))
24
24
  return (0, getBranchProtection_1.getBranchProtection)({ by: { unique: input } }, context);
@@ -26,8 +26,8 @@ exports.DeclaredGithubBranchProtectionDao = new declastruct_1.DeclastructDao({
26
26
  },
27
27
  },
28
28
  ref: {
29
- byPrimary: null,
30
- byUnique: null,
29
+ byPrimary: undefined,
30
+ byUnique: undefined,
31
31
  },
32
32
  },
33
33
  set: {
@@ -37,7 +37,7 @@ exports.DeclaredGithubBranchProtectionDao = new declastruct_1.DeclastructDao({
37
37
  upsert: async (input, context) => {
38
38
  return (0, setBranchProtection_1.setBranchProtection)({ upsert: input }, context);
39
39
  },
40
- delete: null,
40
+ delete: undefined,
41
41
  },
42
42
  });
43
43
  //# sourceMappingURL=DeclaredGithubBranchProtectionDao.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeclaredGithubBranchProtectionDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubBranchProtectionDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,wGAAqG;AACrG,sGAAmG;AACnG,sGAAmG;AAEnG;;;GAGG;AACU,QAAA,iCAAiC,GAAG,IAAI,4BAAc,CAGjE;IACA,IAAI,EAAE,+DAA8B;IACpC,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,yCAAmB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACjE,CAAC;YACD,SAAS,EAAE,IAAI;YACf,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,+DAA8B,EAAE,CAAC,CAAC,KAAK,CAAC;oBAC9D,OAAO,IAAA,yCAAmB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACjE,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,IAAI;SACf;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,yCAAmB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC1D,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,yCAAmB,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACzD,CAAC;QACD,MAAM,EAAE,IAAI;KACb;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"DeclaredGithubBranchProtectionDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubBranchProtectionDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,wGAAqG;AACrG,sGAAmG;AACnG,sGAAmG;AAEnG;;;GAGG;AACU,QAAA,iCAAiC,GAAG,IAAI,4BAAc,CAGjE;IACA,IAAI,EAAE,+DAA8B;IACpC,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,yCAAmB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACjE,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,+DAA8B,EAAE,CAAC,CAAC,KAAK,CAAC;oBAC9D,OAAO,IAAA,yCAAmB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACjE,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,yCAAmB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC1D,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,yCAAmB,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACzD,CAAC;QACD,MAAM,EAAE,SAAS;KAClB;CACF,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { DeclastructDao } from 'declastruct';
2
+ import type { ContextLogTrail } from 'simple-log-methods';
3
+ import type { ContextGithubApi } from '../../domain.objects/ContextGithubApi';
4
+ import { DeclaredGithubOrg } from '../../domain.objects/DeclaredGithubOrg';
5
+ /**
6
+ * .what = declastruct DAO for GitHub Organization resources
7
+ * .why = wraps org operations to conform to declastruct interface
8
+ * .note = orgs cannot be created via API; only existing orgs can be updated
9
+ */
10
+ export declare const DeclaredGithubOrgDao: DeclastructDao<typeof DeclaredGithubOrg, ContextGithubApi & ContextLogTrail>;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeclaredGithubOrgDao = void 0;
4
+ const declastruct_1 = require("declastruct");
5
+ const domain_objects_1 = require("domain-objects");
6
+ const helpful_errors_1 = require("helpful-errors");
7
+ const DeclaredGithubOrg_1 = require("../../domain.objects/DeclaredGithubOrg");
8
+ const getOneOrg_1 = require("../../domain.operations/org/getOneOrg");
9
+ const setOrg_1 = require("../../domain.operations/org/setOrg");
10
+ /**
11
+ * .what = declastruct DAO for GitHub Organization resources
12
+ * .why = wraps org operations to conform to declastruct interface
13
+ * .note = orgs cannot be created via API; only existing orgs can be updated
14
+ */
15
+ exports.DeclaredGithubOrgDao = new declastruct_1.DeclastructDao({
16
+ dobj: DeclaredGithubOrg_1.DeclaredGithubOrg,
17
+ get: {
18
+ one: {
19
+ byUnique: async (input, context) => {
20
+ return (0, getOneOrg_1.getOneOrg)({ by: { unique: input } }, context);
21
+ },
22
+ byPrimary: undefined,
23
+ byRef: async (input, context) => {
24
+ if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubOrg_1.DeclaredGithubOrg })(input))
25
+ return (0, getOneOrg_1.getOneOrg)({ by: { unique: input } }, context);
26
+ helpful_errors_1.UnexpectedCodePathError.throw('unsupported ref type', { input });
27
+ },
28
+ },
29
+ ref: {
30
+ byPrimary: undefined,
31
+ byUnique: undefined,
32
+ },
33
+ },
34
+ set: {
35
+ finsert: async (input, context) => {
36
+ return (0, setOrg_1.setOrg)({ finsert: input }, context);
37
+ },
38
+ upsert: async (input, context) => {
39
+ return (0, setOrg_1.setOrg)({ upsert: input }, context);
40
+ },
41
+ delete: undefined, // Cannot delete orgs via this interface
42
+ },
43
+ });
44
+ //# sourceMappingURL=DeclaredGithubOrgDao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeclaredGithubOrgDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubOrgDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,8EAA2E;AAC3E,qEAAkE;AAClE,+DAA4D;AAE5D;;;;GAIG;AACU,QAAA,oBAAoB,GAAG,IAAI,4BAAc,CAGpD;IACA,IAAI,EAAE,qCAAiB;IACvB,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,qBAAS,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACvD,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,qCAAiB,EAAE,CAAC,CAAC,KAAK,CAAC;oBACjD,OAAO,IAAA,qBAAS,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACvD,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,eAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,eAAM,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC5C,CAAC;QACD,MAAM,EAAE,SAAS,EAAE,wCAAwC;KAC5D;CACF,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { DeclastructDao } from 'declastruct';
2
+ import type { ContextLogTrail } from 'simple-log-methods';
3
+ import type { ContextGithubApi } from '../../domain.objects/ContextGithubApi';
4
+ import { DeclaredGithubOrgMemberPrivileges } from '../../domain.objects/DeclaredGithubOrgMemberPrivileges';
5
+ /**
6
+ * .what = declastruct DAO for GitHub Organization Member Privileges
7
+ * .why = wraps member privilege operations to conform to declastruct interface
8
+ * .note = KEY SECURITY RESOURCE - controls what non-owners can do
9
+ */
10
+ export declare const DeclaredGithubOrgMemberPrivilegesDao: DeclastructDao<typeof DeclaredGithubOrgMemberPrivileges, ContextGithubApi & ContextLogTrail>;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeclaredGithubOrgMemberPrivilegesDao = void 0;
4
+ const declastruct_1 = require("declastruct");
5
+ const domain_objects_1 = require("domain-objects");
6
+ const helpful_errors_1 = require("helpful-errors");
7
+ const DeclaredGithubOrgMemberPrivileges_1 = require("../../domain.objects/DeclaredGithubOrgMemberPrivileges");
8
+ const getOneOrgMemberPrivileges_1 = require("../../domain.operations/orgMemberPrivileges/getOneOrgMemberPrivileges");
9
+ const setOrgMemberPrivileges_1 = require("../../domain.operations/orgMemberPrivileges/setOrgMemberPrivileges");
10
+ /**
11
+ * .what = declastruct DAO for GitHub Organization Member Privileges
12
+ * .why = wraps member privilege operations to conform to declastruct interface
13
+ * .note = KEY SECURITY RESOURCE - controls what non-owners can do
14
+ */
15
+ exports.DeclaredGithubOrgMemberPrivilegesDao = new declastruct_1.DeclastructDao({
16
+ dobj: DeclaredGithubOrgMemberPrivileges_1.DeclaredGithubOrgMemberPrivileges,
17
+ get: {
18
+ one: {
19
+ byUnique: async (input, context) => {
20
+ return (0, getOneOrgMemberPrivileges_1.getOneOrgMemberPrivileges)({ by: { unique: input } }, context);
21
+ },
22
+ byPrimary: undefined,
23
+ byRef: async (input, context) => {
24
+ if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubOrgMemberPrivileges_1.DeclaredGithubOrgMemberPrivileges })(input))
25
+ return (0, getOneOrgMemberPrivileges_1.getOneOrgMemberPrivileges)({ by: { unique: input } }, context);
26
+ helpful_errors_1.UnexpectedCodePathError.throw('unsupported ref type', { input });
27
+ },
28
+ },
29
+ ref: {
30
+ byPrimary: undefined,
31
+ byUnique: undefined,
32
+ },
33
+ },
34
+ set: {
35
+ finsert: async (input, context) => {
36
+ return (0, setOrgMemberPrivileges_1.setOrgMemberPrivileges)({ finsert: input }, context);
37
+ },
38
+ upsert: async (input, context) => {
39
+ return (0, setOrgMemberPrivileges_1.setOrgMemberPrivileges)({ upsert: input }, context);
40
+ },
41
+ delete: undefined, // Cannot delete member privileges (they always exist for an org)
42
+ },
43
+ });
44
+ //# sourceMappingURL=DeclaredGithubOrgMemberPrivilegesDao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeclaredGithubOrgMemberPrivilegesDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubOrgMemberPrivilegesDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,8GAA2G;AAC3G,qHAAkH;AAClH,+GAA4G;AAE5G;;;;GAIG;AACU,QAAA,oCAAoC,GAAG,IAAI,4BAAc,CAGpE;IACA,IAAI,EAAE,qEAAiC;IACvC,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,qDAAyB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACvE,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,qEAAiC,EAAE,CAAC,CAAC,KAAK,CAAC;oBACjE,OAAO,IAAA,qDAAyB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACvE,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,+CAAsB,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC7D,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,+CAAsB,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC5D,CAAC;QACD,MAAM,EAAE,SAAS,EAAE,iEAAiE;KACrF;CACF,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { DeclastructDao } from 'declastruct';
2
+ import type { ContextLogTrail } from 'simple-log-methods';
3
+ import type { ContextGithubApi } from '../../domain.objects/ContextGithubApi';
4
+ import { DeclaredGithubOrgSecret } from '../../domain.objects/DeclaredGithubOrgSecret';
5
+ /**
6
+ * .what = declastruct DAO for GitHub Organization Secret resources
7
+ * .why = wraps secret operations to conform to declastruct interface
8
+ * .note = secrets are write-only; values are never readable
9
+ */
10
+ export declare const DeclaredGithubOrgSecretDao: DeclastructDao<typeof DeclaredGithubOrgSecret, ContextGithubApi & ContextLogTrail>;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeclaredGithubOrgSecretDao = void 0;
4
+ const declastruct_1 = require("declastruct");
5
+ const domain_objects_1 = require("domain-objects");
6
+ const helpful_errors_1 = require("helpful-errors");
7
+ const DeclaredGithubOrgSecret_1 = require("../../domain.objects/DeclaredGithubOrgSecret");
8
+ const delOrgSecret_1 = require("../../domain.operations/orgSecret/delOrgSecret");
9
+ const getOneOrgSecret_1 = require("../../domain.operations/orgSecret/getOneOrgSecret");
10
+ const setOrgSecret_1 = require("../../domain.operations/orgSecret/setOrgSecret");
11
+ /**
12
+ * .what = declastruct DAO for GitHub Organization Secret resources
13
+ * .why = wraps secret operations to conform to declastruct interface
14
+ * .note = secrets are write-only; values are never readable
15
+ */
16
+ exports.DeclaredGithubOrgSecretDao = new declastruct_1.DeclastructDao({
17
+ dobj: DeclaredGithubOrgSecret_1.DeclaredGithubOrgSecret,
18
+ get: {
19
+ one: {
20
+ byUnique: async (input, context) => {
21
+ return (0, getOneOrgSecret_1.getOneOrgSecret)({ by: { unique: input } }, context);
22
+ },
23
+ byPrimary: undefined,
24
+ byRef: async (input, context) => {
25
+ if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubOrgSecret_1.DeclaredGithubOrgSecret })(input))
26
+ return (0, getOneOrgSecret_1.getOneOrgSecret)({ by: { unique: input } }, context);
27
+ helpful_errors_1.UnexpectedCodePathError.throw('unsupported ref type', { input });
28
+ },
29
+ },
30
+ ref: {
31
+ byPrimary: undefined,
32
+ byUnique: undefined,
33
+ },
34
+ },
35
+ set: {
36
+ finsert: async (input, context) => {
37
+ return (0, setOrgSecret_1.setOrgSecret)({ finsert: input }, context);
38
+ },
39
+ upsert: async (input, context) => {
40
+ return (0, setOrgSecret_1.setOrgSecret)({ upsert: input }, context);
41
+ },
42
+ delete: async (input, context) => {
43
+ return (0, delOrgSecret_1.delOrgSecret)({ secret: input }, context);
44
+ },
45
+ },
46
+ });
47
+ //# sourceMappingURL=DeclaredGithubOrgSecretDao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeclaredGithubOrgSecretDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubOrgSecretDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,0FAAuF;AACvF,iFAA8E;AAC9E,uFAAoF;AACpF,iFAA8E;AAE9E;;;;GAIG;AACU,QAAA,0BAA0B,GAAG,IAAI,4BAAc,CAG1D;IACA,IAAI,EAAE,iDAAuB;IAC7B,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,iCAAe,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YAC7D,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,iDAAuB,EAAE,CAAC,CAAC,KAAK,CAAC;oBACvD,OAAO,IAAA,iCAAe,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBAC7D,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,2BAAY,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,2BAAY,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,2BAAY,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAClD,CAAC;KACF;CACF,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { DeclastructDao } from 'declastruct';
2
+ import type { ContextLogTrail } from 'simple-log-methods';
3
+ import type { ContextGithubApi } from '../../domain.objects/ContextGithubApi';
4
+ import { DeclaredGithubOrgVariable } from '../../domain.objects/DeclaredGithubOrgVariable';
5
+ /**
6
+ * .what = declastruct DAO for GitHub Organization Variable resources
7
+ * .why = wraps variable operations to conform to declastruct interface
8
+ */
9
+ export declare const DeclaredGithubOrgVariableDao: DeclastructDao<typeof DeclaredGithubOrgVariable, ContextGithubApi & ContextLogTrail>;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeclaredGithubOrgVariableDao = void 0;
4
+ const declastruct_1 = require("declastruct");
5
+ const domain_objects_1 = require("domain-objects");
6
+ const helpful_errors_1 = require("helpful-errors");
7
+ const DeclaredGithubOrgVariable_1 = require("../../domain.objects/DeclaredGithubOrgVariable");
8
+ const delOrgVariable_1 = require("../../domain.operations/orgVariable/delOrgVariable");
9
+ const getOneOrgVariable_1 = require("../../domain.operations/orgVariable/getOneOrgVariable");
10
+ const setOrgVariable_1 = require("../../domain.operations/orgVariable/setOrgVariable");
11
+ /**
12
+ * .what = declastruct DAO for GitHub Organization Variable resources
13
+ * .why = wraps variable operations to conform to declastruct interface
14
+ */
15
+ exports.DeclaredGithubOrgVariableDao = new declastruct_1.DeclastructDao({
16
+ dobj: DeclaredGithubOrgVariable_1.DeclaredGithubOrgVariable,
17
+ get: {
18
+ one: {
19
+ byUnique: async (input, context) => {
20
+ return (0, getOneOrgVariable_1.getOneOrgVariable)({ by: { unique: input } }, context);
21
+ },
22
+ byPrimary: undefined,
23
+ byRef: async (input, context) => {
24
+ if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubOrgVariable_1.DeclaredGithubOrgVariable })(input))
25
+ return (0, getOneOrgVariable_1.getOneOrgVariable)({ by: { unique: input } }, context);
26
+ helpful_errors_1.UnexpectedCodePathError.throw('unsupported ref type', { input });
27
+ },
28
+ },
29
+ ref: {
30
+ byPrimary: undefined,
31
+ byUnique: undefined,
32
+ },
33
+ },
34
+ set: {
35
+ finsert: async (input, context) => {
36
+ return (0, setOrgVariable_1.setOrgVariable)({ finsert: input }, context);
37
+ },
38
+ upsert: async (input, context) => {
39
+ return (0, setOrgVariable_1.setOrgVariable)({ upsert: input }, context);
40
+ },
41
+ delete: async (input, context) => {
42
+ return (0, delOrgVariable_1.delOrgVariable)({ variable: input }, context);
43
+ },
44
+ },
45
+ });
46
+ //# sourceMappingURL=DeclaredGithubOrgVariableDao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeclaredGithubOrgVariableDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubOrgVariableDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,8FAA2F;AAC3F,uFAAoF;AACpF,6FAA0F;AAC1F,uFAAoF;AAEpF;;;GAGG;AACU,QAAA,4BAA4B,GAAG,IAAI,4BAAc,CAG5D;IACA,IAAI,EAAE,qDAAyB;IAC/B,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,qCAAiB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YAC/D,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,qDAAyB,EAAE,CAAC,CAAC,KAAK,CAAC;oBACzD,OAAO,IAAA,qCAAiB,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBAC/D,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,+BAAc,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACrD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,+BAAc,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACpD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,+BAAc,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACtD,CAAC;KACF;CACF,CAAC,CAAC"}
@@ -18,7 +18,7 @@ exports.DeclaredGithubRepoConfigDao = new declastruct_1.DeclastructDao({
18
18
  byUnique: async (input, context) => {
19
19
  return (0, getRepoConfig_1.getRepoConfig)({ by: { unique: input } }, context);
20
20
  },
21
- byPrimary: null,
21
+ byPrimary: undefined,
22
22
  byRef: async (input, context) => {
23
23
  if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubRepoConfig_1.DeclaredGithubRepoConfig })(input))
24
24
  return (0, getRepoConfig_1.getRepoConfig)({ by: { unique: input } }, context);
@@ -26,8 +26,8 @@ exports.DeclaredGithubRepoConfigDao = new declastruct_1.DeclastructDao({
26
26
  },
27
27
  },
28
28
  ref: {
29
- byPrimary: null,
30
- byUnique: null,
29
+ byPrimary: undefined,
30
+ byUnique: undefined,
31
31
  },
32
32
  },
33
33
  set: {
@@ -37,7 +37,7 @@ exports.DeclaredGithubRepoConfigDao = new declastruct_1.DeclastructDao({
37
37
  upsert: async (input, context) => {
38
38
  return (0, setRepoConfig_1.setRepoConfig)({ upsert: input }, context);
39
39
  },
40
- delete: null,
40
+ delete: undefined,
41
41
  },
42
42
  });
43
43
  //# sourceMappingURL=DeclaredGithubRepoConfigDao.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeclaredGithubRepoConfigDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubRepoConfigDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,4FAAyF;AACzF,oFAAiF;AACjF,oFAAiF;AAEjF;;;GAGG;AACU,QAAA,2BAA2B,GAAG,IAAI,4BAAc,CAG3D;IACA,IAAI,EAAE,mDAAwB;IAC9B,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,6BAAa,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YAC3D,CAAC;YACD,SAAS,EAAE,IAAI;YACf,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,mDAAwB,EAAE,CAAC,CAAC,KAAK,CAAC;oBACxD,OAAO,IAAA,6BAAa,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBAC3D,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,IAAI;SACf;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,6BAAa,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACpD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,6BAAa,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,EAAE,IAAI;KACb;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"DeclaredGithubRepoConfigDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubRepoConfigDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,4FAAyF;AACzF,oFAAiF;AACjF,oFAAiF;AAEjF;;;GAGG;AACU,QAAA,2BAA2B,GAAG,IAAI,4BAAc,CAG3D;IACA,IAAI,EAAE,mDAAwB;IAC9B,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,6BAAa,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YAC3D,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,mDAAwB,EAAE,CAAC,CAAC,KAAK,CAAC;oBACxD,OAAO,IAAA,6BAAa,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBAC3D,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,6BAAa,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACpD,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,6BAAa,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,EAAE,SAAS;KAClB;CACF,CAAC,CAAC"}
@@ -18,7 +18,7 @@ exports.DeclaredGithubRepoDao = new declastruct_1.DeclastructDao({
18
18
  byUnique: async (input, context) => {
19
19
  return (0, getRepo_1.getRepo)({ by: { unique: input } }, context);
20
20
  },
21
- byPrimary: null,
21
+ byPrimary: undefined,
22
22
  byRef: async (input, context) => {
23
23
  if ((0, domain_objects_1.isRefByUnique)({ of: DeclaredGithubRepo_1.DeclaredGithubRepo })(input))
24
24
  return (0, getRepo_1.getRepo)({ by: { unique: input } }, context);
@@ -26,8 +26,8 @@ exports.DeclaredGithubRepoDao = new declastruct_1.DeclastructDao({
26
26
  },
27
27
  },
28
28
  ref: {
29
- byPrimary: null,
30
- byUnique: null,
29
+ byPrimary: undefined,
30
+ byUnique: undefined,
31
31
  },
32
32
  },
33
33
  set: {
@@ -37,7 +37,7 @@ exports.DeclaredGithubRepoDao = new declastruct_1.DeclastructDao({
37
37
  upsert: async (input, context) => {
38
38
  return (0, setRepo_1.setRepo)({ upsert: input }, context);
39
39
  },
40
- delete: null,
40
+ delete: undefined,
41
41
  },
42
42
  });
43
43
  //# sourceMappingURL=DeclaredGithubRepoDao.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeclaredGithubRepoDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubRepoDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,gFAA6E;AAC7E,kEAA+D;AAC/D,kEAA+D;AAE/D;;;GAGG;AACU,QAAA,qBAAqB,GAAG,IAAI,4BAAc,CAGrD;IACA,IAAI,EAAE,uCAAkB;IACxB,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,iBAAO,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACrD,CAAC;YACD,SAAS,EAAE,IAAI;YACf,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,uCAAkB,EAAE,CAAC,CAAC,KAAK,CAAC;oBAClD,OAAO,IAAA,iBAAO,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACrD,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,IAAI;SACf;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,iBAAO,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC9C,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,MAAM,EAAE,IAAI;KACb;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"DeclaredGithubRepoDao.js","sourceRoot":"","sources":["../../../src/access/daos/DeclaredGithubRepoDao.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,mDAA+C;AAC/C,mDAAyD;AAIzD,gFAA6E;AAC7E,kEAA+D;AAC/D,kEAA+D;AAE/D;;;GAGG;AACU,QAAA,qBAAqB,GAAG,IAAI,4BAAc,CAGrD;IACA,IAAI,EAAE,uCAAkB;IACxB,GAAG,EAAE;QACH,GAAG,EAAE;YACH,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjC,OAAO,IAAA,iBAAO,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACrD,CAAC;YACD,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC9B,IAAI,IAAA,8BAAa,EAAC,EAAE,EAAE,EAAE,uCAAkB,EAAE,CAAC,CAAC,KAAK,CAAC;oBAClD,OAAO,IAAA,iBAAO,EAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACrD,wCAAuB,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YACnE,CAAC;SACF;QACD,GAAG,EAAE;YACH,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,GAAG,EAAE;QACH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAChC,OAAO,IAAA,iBAAO,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC9C,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC/B,OAAO,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,MAAM,EAAE,SAAS;KAClB;CACF,CAAC,CAAC"}
@@ -2,8 +2,16 @@
2
2
  * .what = public SDK exports for declastruct-github package
3
3
  * .why = enables consumers to use the declastruct provider interface and domain objects
4
4
  */
5
+ export { DeclaredGithubApp } from '../../domain.objects/DeclaredGithubApp';
6
+ export { DeclaredGithubAppInstallation } from '../../domain.objects/DeclaredGithubAppInstallation';
7
+ export type { DeclaredGithubAppPermissions } from '../../domain.objects/DeclaredGithubAppPermissions';
5
8
  export { DeclaredGithubBranch } from '../../domain.objects/DeclaredGithubBranch';
6
9
  export { DeclaredGithubBranchProtection } from '../../domain.objects/DeclaredGithubBranchProtection';
10
+ export { DeclaredGithubOrg } from '../../domain.objects/DeclaredGithubOrg';
11
+ export { DeclaredGithubOrgMemberPrivileges } from '../../domain.objects/DeclaredGithubOrgMemberPrivileges';
12
+ export { DeclaredGithubOrgSecret } from '../../domain.objects/DeclaredGithubOrgSecret';
13
+ export { DeclaredGithubOrgVariable } from '../../domain.objects/DeclaredGithubOrgVariable';
14
+ export { DeclaredGithubOwner } from '../../domain.objects/DeclaredGithubOwner';
7
15
  export { DeclaredGithubRepo } from '../../domain.objects/DeclaredGithubRepo';
8
16
  export { DeclaredGithubRepoConfig } from '../../domain.objects/DeclaredGithubRepoConfig';
9
17
  export type { DeclastructGithubProvider } from '../../domain.objects/DeclastructGithubProvider';
@@ -4,17 +4,32 @@
4
4
  * .why = enables consumers to use the declastruct provider interface and domain objects
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.getDeclastructGithubProvider = exports.DeclaredGithubRepoConfig = exports.DeclaredGithubRepo = exports.DeclaredGithubBranchProtection = exports.DeclaredGithubBranch = void 0;
7
+ exports.getDeclastructGithubProvider = exports.DeclaredGithubRepoConfig = exports.DeclaredGithubRepo = exports.DeclaredGithubOwner = exports.DeclaredGithubOrgVariable = exports.DeclaredGithubOrgSecret = exports.DeclaredGithubOrgMemberPrivileges = exports.DeclaredGithubOrg = exports.DeclaredGithubBranchProtection = exports.DeclaredGithubBranch = exports.DeclaredGithubAppInstallation = exports.DeclaredGithubApp = void 0;
8
+ // domain objects - apps
9
+ var DeclaredGithubApp_1 = require("../../domain.objects/DeclaredGithubApp");
10
+ Object.defineProperty(exports, "DeclaredGithubApp", { enumerable: true, get: function () { return DeclaredGithubApp_1.DeclaredGithubApp; } });
11
+ var DeclaredGithubAppInstallation_1 = require("../../domain.objects/DeclaredGithubAppInstallation");
12
+ Object.defineProperty(exports, "DeclaredGithubAppInstallation", { enumerable: true, get: function () { return DeclaredGithubAppInstallation_1.DeclaredGithubAppInstallation; } });
13
+ // domain objects - repos
8
14
  var DeclaredGithubBranch_1 = require("../../domain.objects/DeclaredGithubBranch");
9
15
  Object.defineProperty(exports, "DeclaredGithubBranch", { enumerable: true, get: function () { return DeclaredGithubBranch_1.DeclaredGithubBranch; } });
10
16
  var DeclaredGithubBranchProtection_1 = require("../../domain.objects/DeclaredGithubBranchProtection");
11
17
  Object.defineProperty(exports, "DeclaredGithubBranchProtection", { enumerable: true, get: function () { return DeclaredGithubBranchProtection_1.DeclaredGithubBranchProtection; } });
12
- // domain objects
18
+ // domain objects - orgs
19
+ var DeclaredGithubOrg_1 = require("../../domain.objects/DeclaredGithubOrg");
20
+ Object.defineProperty(exports, "DeclaredGithubOrg", { enumerable: true, get: function () { return DeclaredGithubOrg_1.DeclaredGithubOrg; } });
21
+ var DeclaredGithubOrgMemberPrivileges_1 = require("../../domain.objects/DeclaredGithubOrgMemberPrivileges");
22
+ Object.defineProperty(exports, "DeclaredGithubOrgMemberPrivileges", { enumerable: true, get: function () { return DeclaredGithubOrgMemberPrivileges_1.DeclaredGithubOrgMemberPrivileges; } });
23
+ var DeclaredGithubOrgSecret_1 = require("../../domain.objects/DeclaredGithubOrgSecret");
24
+ Object.defineProperty(exports, "DeclaredGithubOrgSecret", { enumerable: true, get: function () { return DeclaredGithubOrgSecret_1.DeclaredGithubOrgSecret; } });
25
+ var DeclaredGithubOrgVariable_1 = require("../../domain.objects/DeclaredGithubOrgVariable");
26
+ Object.defineProperty(exports, "DeclaredGithubOrgVariable", { enumerable: true, get: function () { return DeclaredGithubOrgVariable_1.DeclaredGithubOrgVariable; } });
27
+ var DeclaredGithubOwner_1 = require("../../domain.objects/DeclaredGithubOwner");
28
+ Object.defineProperty(exports, "DeclaredGithubOwner", { enumerable: true, get: function () { return DeclaredGithubOwner_1.DeclaredGithubOwner; } });
13
29
  var DeclaredGithubRepo_1 = require("../../domain.objects/DeclaredGithubRepo");
14
30
  Object.defineProperty(exports, "DeclaredGithubRepo", { enumerable: true, get: function () { return DeclaredGithubRepo_1.DeclaredGithubRepo; } });
15
31
  var DeclaredGithubRepoConfig_1 = require("../../domain.objects/DeclaredGithubRepoConfig");
16
32
  Object.defineProperty(exports, "DeclaredGithubRepoConfig", { enumerable: true, get: function () { return DeclaredGithubRepoConfig_1.DeclaredGithubRepoConfig; } });
17
- // provider
18
33
  var getDeclastructGithubProvider_1 = require("../../domain.operations/provider/getDeclastructGithubProvider");
19
34
  Object.defineProperty(exports, "getDeclastructGithubProvider", { enumerable: true, get: function () { return getDeclastructGithubProvider_1.getDeclastructGithubProvider; } });
20
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contract/sdks/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,kFAAiF;AAAxE,4HAAA,oBAAoB,OAAA;AAC7B,sGAAqG;AAA5F,gJAAA,8BAA8B,OAAA;AAEvC,iBAAiB;AACjB,8EAA6E;AAApE,wHAAA,kBAAkB,OAAA;AAC3B,0FAAyF;AAAhF,oIAAA,wBAAwB,OAAA;AAEjC,WAAW;AACX,8GAA6G;AAApG,4IAAA,4BAA4B,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contract/sdks/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,wBAAwB;AACxB,4EAA2E;AAAlE,sHAAA,iBAAiB,OAAA;AAC1B,oGAAmG;AAA1F,8IAAA,6BAA6B,OAAA;AAEtC,yBAAyB;AACzB,kFAAiF;AAAxE,4HAAA,oBAAoB,OAAA;AAC7B,sGAAqG;AAA5F,gJAAA,8BAA8B,OAAA;AACvC,wBAAwB;AACxB,4EAA2E;AAAlE,sHAAA,iBAAiB,OAAA;AAC1B,4GAA2G;AAAlG,sJAAA,iCAAiC,OAAA;AAC1C,wFAAuF;AAA9E,kIAAA,uBAAuB,OAAA;AAChC,4FAA2F;AAAlF,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,0HAAA,mBAAmB,OAAA;AAC5B,8EAA6E;AAApE,wHAAA,kBAAkB,OAAA;AAC3B,0FAAyF;AAAhF,oIAAA,wBAAwB,OAAA;AAIjC,8GAA6G;AAApG,4IAAA,4BAA4B,OAAA"}