@cloudyskysoftware/pulumi-render 0.1.1 → 0.2.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.
Files changed (149) hide show
  1. package/config/vars.d.ts +1 -1
  2. package/config/vars.js.map +1 -1
  3. package/owners/getOwner.d.ts +4 -4
  4. package/owners/getOwner.js +1 -1
  5. package/owners/getOwner.js.map +1 -1
  6. package/owners/listOwners.d.ts +1 -1
  7. package/package.json +1 -1
  8. package/registrycredentials/getRegistryCredential.d.ts +13 -3
  9. package/registrycredentials/getRegistryCredential.js +5 -4
  10. package/registrycredentials/getRegistryCredential.js.map +1 -1
  11. package/registrycredentials/index.d.ts +2 -1
  12. package/registrycredentials/index.js +16 -0
  13. package/registrycredentials/index.js.map +1 -1
  14. package/registrycredentials/listRegistryCredentials.d.ts +1 -1
  15. package/registrycredentials/registryCredential.d.ts +20 -10
  16. package/registrycredentials/registryCredential.js +12 -0
  17. package/registrycredentials/registryCredential.js.map +1 -1
  18. package/services/{autoScaling.d.ts → autoscaleService.d.ts} +18 -18
  19. package/services/{autoScaling.js → autoscaleService.js} +27 -13
  20. package/services/autoscaleService.js.map +1 -0
  21. package/services/backgroundWorker.d.ts +16 -39
  22. package/services/backgroundWorker.js +16 -14
  23. package/services/backgroundWorker.js.map +1 -1
  24. package/services/cancelDeploy.d.ts +50 -0
  25. package/services/cancelDeploy.js +67 -0
  26. package/services/cancelDeploy.js.map +1 -0
  27. package/services/cancelJob.d.ts +45 -0
  28. package/services/cancelJob.js +66 -0
  29. package/services/cancelJob.js.map +1 -0
  30. package/services/cronJob.d.ts +16 -39
  31. package/services/cronJob.js +16 -15
  32. package/services/cronJob.js.map +1 -1
  33. package/services/customDomain.d.ts +36 -0
  34. package/services/{deploys.js → customDomain.js} +13 -16
  35. package/services/customDomain.js.map +1 -0
  36. package/services/deploy.d.ts +70 -0
  37. package/services/deploy.js +73 -0
  38. package/services/deploy.js.map +1 -0
  39. package/services/{envVars.d.ts → envVarsForService.d.ts} +12 -12
  40. package/services/{envVars.js → envVarsForService.js} +11 -11
  41. package/services/envVarsForService.js.map +1 -0
  42. package/services/getBackgroundWorker.d.ts +4 -4
  43. package/services/getBackgroundWorker.js +1 -1
  44. package/services/getBackgroundWorker.js.map +1 -1
  45. package/services/getCronJob.d.ts +4 -4
  46. package/services/getCronJob.js +1 -1
  47. package/services/getCronJob.js.map +1 -1
  48. package/services/getCustomDomain.d.ts +6 -6
  49. package/services/getCustomDomain.js +1 -1
  50. package/services/getCustomDomain.js.map +1 -1
  51. package/services/getDeploy.d.ts +6 -6
  52. package/services/getDeploy.js +1 -1
  53. package/services/getDeploy.js.map +1 -1
  54. package/services/getJob.d.ts +6 -6
  55. package/services/getJob.js +1 -1
  56. package/services/getJob.js.map +1 -1
  57. package/services/getPrivateService.d.ts +4 -4
  58. package/services/getPrivateService.js +1 -1
  59. package/services/getPrivateService.js.map +1 -1
  60. package/services/getStaticSite.d.ts +4 -4
  61. package/services/getStaticSite.js +1 -1
  62. package/services/getStaticSite.js.map +1 -1
  63. package/services/getWebService.d.ts +4 -4
  64. package/services/getWebService.js +1 -1
  65. package/services/getWebService.js.map +1 -1
  66. package/services/index.d.ts +51 -33
  67. package/services/index.js +65 -41
  68. package/services/index.js.map +1 -1
  69. package/services/{jobs.d.ts → job.d.ts} +13 -12
  70. package/services/{jobs.js → job.js} +12 -14
  71. package/services/job.js.map +1 -0
  72. package/services/listCustomDomains.d.ts +3 -3
  73. package/services/listDeploys.d.ts +3 -3
  74. package/services/listEnvVarsForService.d.ts +19 -0
  75. package/services/listEnvVarsForService.js +19 -0
  76. package/services/listEnvVarsForService.js.map +1 -0
  77. package/services/listJob.d.ts +19 -0
  78. package/services/{listJobs.js → listJob.js} +8 -8
  79. package/services/listJob.js.map +1 -0
  80. package/services/listRetrieveHeaders.d.ts +19 -0
  81. package/services/listRetrieveHeaders.js +19 -0
  82. package/services/listRetrieveHeaders.js.map +1 -0
  83. package/services/listRetrieveRoutes.d.ts +19 -0
  84. package/services/listRetrieveRoutes.js +19 -0
  85. package/services/listRetrieveRoutes.js.map +1 -0
  86. package/services/listServices.d.ts +1 -1
  87. package/services/previewService.d.ts +62 -0
  88. package/services/{customDomains.js → previewService.js} +22 -23
  89. package/services/previewService.js.map +1 -0
  90. package/services/privateService.d.ts +16 -39
  91. package/services/privateService.js +16 -14
  92. package/services/privateService.js.map +1 -1
  93. package/services/refreshCustomDomain.d.ts +38 -0
  94. package/services/refreshCustomDomain.js +53 -0
  95. package/services/refreshCustomDomain.js.map +1 -0
  96. package/services/restartServer.d.ts +34 -0
  97. package/services/restartServer.js +52 -0
  98. package/services/restartServer.js.map +1 -0
  99. package/services/rollbackDeploy.d.ts +54 -0
  100. package/services/rollbackDeploy.js +71 -0
  101. package/services/rollbackDeploy.js.map +1 -0
  102. package/services/{scale.d.ts → scaleService.d.ts} +10 -10
  103. package/services/{scale.js → scaleService.js} +11 -11
  104. package/services/scaleService.js.map +1 -0
  105. package/services/staticSite.d.ts +16 -38
  106. package/services/staticSite.js +16 -13
  107. package/services/staticSite.js.map +1 -1
  108. package/services/{suspend.d.ts → suspendService.d.ts} +10 -10
  109. package/services/{suspend.js → suspendService.js} +11 -11
  110. package/services/suspendService.js.map +1 -0
  111. package/services/webService.d.ts +16 -39
  112. package/services/webService.js +16 -14
  113. package/services/webService.js.map +1 -1
  114. package/types/enums/index.d.ts +2 -1
  115. package/types/enums/index.js +3 -1
  116. package/types/enums/index.js.map +1 -1
  117. package/types/enums/owners/index.d.ts +0 -3
  118. package/types/enums/registrycredentials/index.d.ts +15 -0
  119. package/types/enums/registrycredentials/index.js +16 -0
  120. package/types/enums/registrycredentials/index.js.map +1 -0
  121. package/types/enums/services/index.d.ts +330 -64
  122. package/types/enums/services/index.js +230 -38
  123. package/types/enums/services/index.js.map +1 -1
  124. package/types/input.d.ts +169 -98
  125. package/types/input.js +29 -30
  126. package/types/input.js.map +1 -1
  127. package/types/output.d.ts +425 -465
  128. package/types/output.js +59 -78
  129. package/types/output.js.map +1 -1
  130. package/services/autoScaling.js.map +0 -1
  131. package/services/customDomains.d.ts +0 -44
  132. package/services/customDomains.js.map +0 -1
  133. package/services/deploys.d.ts +0 -39
  134. package/services/deploys.js.map +0 -1
  135. package/services/envVars.js.map +0 -1
  136. package/services/jobs.js.map +0 -1
  137. package/services/listEnvVars.d.ts +0 -19
  138. package/services/listEnvVars.js +0 -19
  139. package/services/listEnvVars.js.map +0 -1
  140. package/services/listHeaders.d.ts +0 -19
  141. package/services/listHeaders.js +0 -19
  142. package/services/listHeaders.js.map +0 -1
  143. package/services/listJobs.d.ts +0 -19
  144. package/services/listJobs.js.map +0 -1
  145. package/services/listRoutes.d.ts +0 -19
  146. package/services/listRoutes.js +0 -19
  147. package/services/listRoutes.js.map +0 -1
  148. package/services/scale.js.map +0 -1
  149. package/services/suspend.js.map +0 -1
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.listRetrieveHeadersOutput = exports.listRetrieveHeaders = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listRetrieveHeaders(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:services:listRetrieveHeaders", {
11
+ "serviceId": args.serviceId,
12
+ }, opts);
13
+ }
14
+ exports.listRetrieveHeaders = listRetrieveHeaders;
15
+ function listRetrieveHeadersOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => listRetrieveHeaders(a, opts));
17
+ }
18
+ exports.listRetrieveHeadersOutput = listRetrieveHeadersOutput;
19
+ //# sourceMappingURL=listRetrieveHeaders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listRetrieveHeaders.js","sourceRoot":"","sources":["../../services/listRetrieveHeaders.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAYD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -0,0 +1,19 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function listRetrieveRoutes(args: ListRetrieveRoutesArgs, opts?: pulumi.InvokeOptions): Promise<ListRetrieveRoutesResult>;
4
+ export interface ListRetrieveRoutesArgs {
5
+ /**
6
+ * The ID of the service
7
+ */
8
+ serviceId: string;
9
+ }
10
+ export interface ListRetrieveRoutesResult {
11
+ readonly items: outputs.services.ListRetrieveRoutesItemProperties[];
12
+ }
13
+ export declare function listRetrieveRoutesOutput(args: ListRetrieveRoutesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ListRetrieveRoutesResult>;
14
+ export interface ListRetrieveRoutesOutputArgs {
15
+ /**
16
+ * The ID of the service
17
+ */
18
+ serviceId: pulumi.Input<string>;
19
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.listRetrieveRoutesOutput = exports.listRetrieveRoutes = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listRetrieveRoutes(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:services:listRetrieveRoutes", {
11
+ "serviceId": args.serviceId,
12
+ }, opts);
13
+ }
14
+ exports.listRetrieveRoutes = listRetrieveRoutes;
15
+ function listRetrieveRoutesOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => listRetrieveRoutes(a, opts));
17
+ }
18
+ exports.listRetrieveRoutesOutput = listRetrieveRoutesOutput;
19
+ //# sourceMappingURL=listRetrieveRoutes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listRetrieveRoutes.js","sourceRoot":"","sources":["../../services/listRetrieveRoutes.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAYD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
@@ -4,6 +4,6 @@ export declare function listServices(args?: ListServicesArgs, opts?: pulumi.Invo
4
4
  export interface ListServicesArgs {
5
5
  }
6
6
  export interface ListServicesResult {
7
- readonly items: outputs.services.ListServiceResponse[];
7
+ readonly items: outputs.services.ListServicesResponse[];
8
8
  }
9
9
  export declare function listServicesOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListServicesResult>;
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ import * as enums from "../types/enums";
4
+ export declare class PreviewService extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing PreviewService resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param opts Optional settings to control the behavior of the CustomResource.
12
+ */
13
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PreviewService;
14
+ /**
15
+ * Returns true if the given object is an instance of PreviewService. This is designed to work even
16
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
17
+ */
18
+ static isInstance(obj: any): obj is PreviewService;
19
+ readonly deployId: pulumi.Output<string | undefined>;
20
+ /**
21
+ * Must be either a full URL or the relative path to an image. If a relative path, Render uses the base service's image URL as its root. For example, if the base service's image URL is `docker.io/library/nginx:latest`, then valid values are: `docker.io/library/nginx:<any tag or SHA>`, `library/nginx:<any tag or SHA>`, or `nginx:<any tag or SHA>`. Note that the path must match (only the tag or SHA can vary).
22
+ */
23
+ readonly imagePath: pulumi.Output<string>;
24
+ /**
25
+ * A name for the service preview instance. If not specified, Render generates the name using the base service's name and the specified tag or SHA.
26
+ */
27
+ readonly name: pulumi.Output<string | undefined>;
28
+ /**
29
+ * The instance type to use for the preview instance. Note that base services with any paid instance type can't create preview instances with the `free` instance type.
30
+ */
31
+ readonly plan: pulumi.Output<enums.services.Plan | undefined>;
32
+ readonly service: pulumi.Output<outputs.services.Service | undefined>;
33
+ /**
34
+ * Create a PreviewService resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name: string, args: PreviewServiceArgs, opts?: pulumi.CustomResourceOptions);
41
+ }
42
+ /**
43
+ * The set of arguments for constructing a PreviewService resource.
44
+ */
45
+ export interface PreviewServiceArgs {
46
+ /**
47
+ * Must be either a full URL or the relative path to an image. If a relative path, Render uses the base service's image URL as its root. For example, if the base service's image URL is `docker.io/library/nginx:latest`, then valid values are: `docker.io/library/nginx:<any tag or SHA>`, `library/nginx:<any tag or SHA>`, or `nginx:<any tag or SHA>`. Note that the path must match (only the tag or SHA can vary).
48
+ */
49
+ imagePath: pulumi.Input<string>;
50
+ /**
51
+ * A name for the service preview instance. If not specified, Render generates the name using the base service's name and the specified tag or SHA.
52
+ */
53
+ name?: pulumi.Input<string>;
54
+ /**
55
+ * The instance type to use for the preview instance. Note that base services with any paid instance type can't create preview instances with the `free` instance type.
56
+ */
57
+ plan?: pulumi.Input<enums.services.Plan>;
58
+ /**
59
+ * The ID of the service
60
+ */
61
+ serviceId?: pulumi.Input<string>;
62
+ }
@@ -2,12 +2,12 @@
2
2
  // *** WARNING: this file was generated by pulumigen. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.CustomDomains = void 0;
5
+ exports.PreviewService = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
- class CustomDomains extends pulumi.CustomResource {
8
+ class PreviewService extends pulumi.CustomResource {
9
9
  /**
10
- * Get an existing CustomDomains resource's state with the given name, ID, and optional extra
10
+ * Get an existing PreviewService resource's state with the given name, ID, and optional extra
11
11
  * properties used to qualify the lookup.
12
12
  *
13
13
  * @param name The _unique_ name of the resulting resource.
@@ -15,20 +15,20 @@ class CustomDomains extends pulumi.CustomResource {
15
15
  * @param opts Optional settings to control the behavior of the CustomResource.
16
16
  */
17
17
  static get(name, id, opts) {
18
- return new CustomDomains(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
18
+ return new PreviewService(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
19
  }
20
20
  /**
21
- * Returns true if the given object is an instance of CustomDomains. This is designed to work even
21
+ * Returns true if the given object is an instance of PreviewService. This is designed to work even
22
22
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
23
  */
24
24
  static isInstance(obj) {
25
25
  if (obj === undefined || obj === null) {
26
26
  return false;
27
27
  }
28
- return obj['__pulumiType'] === CustomDomains.__pulumiType;
28
+ return obj['__pulumiType'] === PreviewService.__pulumiType;
29
29
  }
30
30
  /**
31
- * Create a CustomDomains resource with the given unique name, arguments, and options.
31
+ * Create a PreviewService resource with the given unique name, arguments, and options.
32
32
  *
33
33
  * @param name The _unique_ name of the resource.
34
34
  * @param args The arguments to use to populate this resource's properties.
@@ -38,29 +38,28 @@ class CustomDomains extends pulumi.CustomResource {
38
38
  let resourceInputs = {};
39
39
  opts = opts || {};
40
40
  if (!opts.id) {
41
+ if ((!args || args.imagePath === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'imagePath'");
43
+ }
44
+ resourceInputs["imagePath"] = args ? args.imagePath : undefined;
41
45
  resourceInputs["name"] = args ? args.name : undefined;
46
+ resourceInputs["plan"] = args ? args.plan : undefined;
42
47
  resourceInputs["serviceId"] = args ? args.serviceId : undefined;
43
- resourceInputs["createdAt"] = undefined /*out*/;
44
- resourceInputs["domainType"] = undefined /*out*/;
45
- resourceInputs["publicSuffix"] = undefined /*out*/;
46
- resourceInputs["redirectForName"] = undefined /*out*/;
47
- resourceInputs["server"] = undefined /*out*/;
48
- resourceInputs["verificationStatus"] = undefined /*out*/;
48
+ resourceInputs["deployId"] = undefined /*out*/;
49
+ resourceInputs["service"] = undefined /*out*/;
49
50
  }
50
51
  else {
51
- resourceInputs["createdAt"] = undefined /*out*/;
52
- resourceInputs["domainType"] = undefined /*out*/;
52
+ resourceInputs["deployId"] = undefined /*out*/;
53
+ resourceInputs["imagePath"] = undefined /*out*/;
53
54
  resourceInputs["name"] = undefined /*out*/;
54
- resourceInputs["publicSuffix"] = undefined /*out*/;
55
- resourceInputs["redirectForName"] = undefined /*out*/;
56
- resourceInputs["server"] = undefined /*out*/;
57
- resourceInputs["verificationStatus"] = undefined /*out*/;
55
+ resourceInputs["plan"] = undefined /*out*/;
56
+ resourceInputs["service"] = undefined /*out*/;
58
57
  }
59
58
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
60
- super(CustomDomains.__pulumiType, name, resourceInputs, opts);
59
+ super(PreviewService.__pulumiType, name, resourceInputs, opts);
61
60
  }
62
61
  }
63
- exports.CustomDomains = CustomDomains;
62
+ exports.PreviewService = PreviewService;
64
63
  /** @internal */
65
- CustomDomains.__pulumiType = 'render:services:CustomDomains';
66
- //# sourceMappingURL=customDomains.js.map
64
+ PreviewService.__pulumiType = 'render:services:PreviewService';
65
+ //# sourceMappingURL=previewService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewService.js","sourceRoot":"","sources":["../../services/previewService.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAiBD;;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,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAvEL,wCAwEC;AA3DG,gBAAgB;AACO,2BAAY,GAAG,gCAAgC,CAAC"}
@@ -2,9 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  import * as enums from "../types/enums";
5
- /**
6
- * A private service
7
- */
8
5
  export declare class PrivateService extends pulumi.CustomResource {
9
6
  /**
10
7
  * Get an existing PrivateService resource's state with the given name, ID, and optional extra
@@ -20,34 +17,23 @@ export declare class PrivateService extends pulumi.CustomResource {
20
17
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
18
  */
22
19
  static isInstance(obj: any): obj is PrivateService;
23
- /**
24
- * Whether to auto deploy the service or not upon git push.
25
- */
26
20
  readonly autoDeploy: pulumi.Output<enums.services.ServiceAutoDeploy | undefined>;
27
- /**
28
- * If left empty, this will fall back to the default branch of the repository.
29
- */
30
21
  readonly branch: pulumi.Output<string | undefined>;
22
+ readonly buildFilter: pulumi.Output<outputs.services.BuildFilter | undefined>;
31
23
  readonly createdAt: pulumi.Output<string | undefined>;
32
- readonly envVars: pulumi.Output<outputs.services.EnvVarKeyValue[] | undefined>;
24
+ readonly envVars: pulumi.Output<(outputs.services.EnvVarKeyValue | outputs.services.EnvVarKeyGenerateValue)[] | undefined>;
25
+ readonly image: pulumi.Output<outputs.services.Image | undefined>;
26
+ readonly imagePath: pulumi.Output<string | undefined>;
33
27
  readonly name: pulumi.Output<string | undefined>;
34
- /**
35
- * The notification setting for this service upon deployment failure.
36
- */
37
28
  readonly notifyOnFail: pulumi.Output<enums.services.ServiceNotifyOnFail | undefined>;
38
- /**
39
- * The id of the owner (user/team).
40
- */
41
29
  readonly ownerId: pulumi.Output<string | undefined>;
42
- /**
43
- * Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
44
- */
45
30
  readonly repo: pulumi.Output<string | undefined>;
31
+ readonly rootDir: pulumi.Output<string | undefined>;
46
32
  readonly secretFiles: pulumi.Output<outputs.services.SecretFile[] | undefined>;
47
- readonly serviceDetails: pulumi.Output<outputs.services.PrivateServiceDetails | undefined>;
33
+ readonly serviceDetails: pulumi.Output<outputs.services.PrivateServiceDetailsOutput | undefined>;
48
34
  readonly slug: pulumi.Output<string | undefined>;
49
35
  readonly suspended: pulumi.Output<enums.services.ServiceSuspended | undefined>;
50
- readonly suspenders: pulumi.Output<string[] | undefined>;
36
+ readonly suspenders: pulumi.Output<enums.services.ServiceSuspendersItem[] | undefined>;
51
37
  readonly type: pulumi.Output<string | undefined>;
52
38
  readonly updatedAt: pulumi.Output<string | undefined>;
53
39
  /**
@@ -64,33 +50,24 @@ export declare class PrivateService extends pulumi.CustomResource {
64
50
  */
65
51
  export interface PrivateServiceArgs {
66
52
  /**
67
- * Whether to auto deploy the service or not upon git push.
53
+ * Defaults to "yes"
68
54
  */
69
- autoDeploy?: pulumi.Input<enums.services.ServiceAutoDeploy>;
55
+ autoDeploy?: pulumi.Input<enums.services.ServiceCreateAutoDeploy>;
70
56
  /**
71
- * If left empty, this will fall back to the default branch of the repository.
57
+ * If left empty, this will fall back to the default branch of the repository
72
58
  */
73
59
  branch?: pulumi.Input<string>;
74
- createdAt?: pulumi.Input<string>;
75
- envVars?: pulumi.Input<pulumi.Input<inputs.services.EnvVarKeyValueArgs>[]>;
60
+ buildFilter?: pulumi.Input<inputs.services.BuildFilterArgs>;
61
+ envVars?: pulumi.Input<pulumi.Input<inputs.services.EnvVarKeyValueArgs | inputs.services.EnvVarKeyGenerateValueArgs>[]>;
62
+ image?: pulumi.Input<inputs.services.ImageArgs>;
76
63
  name: pulumi.Input<string>;
77
- /**
78
- * The notification setting for this service upon deployment failure.
79
- */
80
- notifyOnFail?: pulumi.Input<enums.services.ServiceNotifyOnFail>;
81
- /**
82
- * The id of the owner (user/team).
83
- */
84
64
  ownerId: pulumi.Input<string>;
85
65
  /**
86
66
  * Do not include the branch in the repo string. You can instead supply a 'branch' parameter.
87
67
  */
88
- repo: pulumi.Input<string>;
68
+ repo?: pulumi.Input<string>;
69
+ rootDir?: pulumi.Input<string>;
89
70
  secretFiles?: pulumi.Input<pulumi.Input<inputs.services.SecretFileArgs>[]>;
90
- serviceDetails?: pulumi.Input<inputs.services.PrivateServiceDetailsArgs>;
91
- slug?: pulumi.Input<string>;
92
- suspended?: pulumi.Input<enums.services.ServiceSuspended>;
93
- suspenders?: pulumi.Input<pulumi.Input<string>[]>;
71
+ serviceDetails?: pulumi.Input<inputs.services.PrivateServiceDetailsCreateArgs>;
94
72
  type?: pulumi.Input<string>;
95
- updatedAt?: pulumi.Input<string>;
96
73
  }
@@ -6,9 +6,6 @@ exports.PrivateService = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const inputs = require("../types/input");
8
8
  const utilities = require("../utilities");
9
- /**
10
- * A private service
11
- */
12
9
  class PrivateService extends pulumi.CustomResource {
13
10
  /**
14
11
  * Get an existing PrivateService resource's state with the given name, ID, and optional extra
@@ -49,34 +46,39 @@ class PrivateService extends pulumi.CustomResource {
49
46
  if ((!args || args.ownerId === undefined) && !opts.urn) {
50
47
  throw new Error("Missing required property 'ownerId'");
51
48
  }
52
- if ((!args || args.repo === undefined) && !opts.urn) {
53
- throw new Error("Missing required property 'repo'");
54
- }
55
- resourceInputs["autoDeploy"] = (_a = (args ? args.autoDeploy : undefined)) !== null && _a !== void 0 ? _a : "no";
49
+ resourceInputs["autoDeploy"] = (_a = (args ? args.autoDeploy : undefined)) !== null && _a !== void 0 ? _a : "yes";
56
50
  resourceInputs["branch"] = args ? args.branch : undefined;
57
- resourceInputs["createdAt"] = args ? args.createdAt : undefined;
51
+ resourceInputs["buildFilter"] = args ? args.buildFilter : undefined;
58
52
  resourceInputs["envVars"] = args ? args.envVars : undefined;
53
+ resourceInputs["image"] = args ? args.image : undefined;
59
54
  resourceInputs["name"] = args ? args.name : undefined;
60
- resourceInputs["notifyOnFail"] = args ? args.notifyOnFail : undefined;
61
55
  resourceInputs["ownerId"] = args ? args.ownerId : undefined;
62
56
  resourceInputs["repo"] = args ? args.repo : undefined;
57
+ resourceInputs["rootDir"] = args ? args.rootDir : undefined;
63
58
  resourceInputs["secretFiles"] = args ? args.secretFiles : undefined;
64
- resourceInputs["serviceDetails"] = args ? (args.serviceDetails ? pulumi.output(args.serviceDetails).apply(inputs.services.privateServiceDetailsArgsProvideDefaults) : undefined) : undefined;
65
- resourceInputs["slug"] = args ? args.slug : undefined;
66
- resourceInputs["suspended"] = args ? args.suspended : undefined;
67
- resourceInputs["suspenders"] = args ? args.suspenders : undefined;
59
+ resourceInputs["serviceDetails"] = args ? (args.serviceDetails ? pulumi.output(args.serviceDetails).apply(inputs.services.privateServiceDetailsCreateArgsProvideDefaults) : undefined) : undefined;
68
60
  resourceInputs["type"] = (_b = (args ? args.type : undefined)) !== null && _b !== void 0 ? _b : "private_service";
69
- resourceInputs["updatedAt"] = args ? args.updatedAt : undefined;
61
+ resourceInputs["createdAt"] = undefined /*out*/;
62
+ resourceInputs["imagePath"] = undefined /*out*/;
63
+ resourceInputs["notifyOnFail"] = undefined /*out*/;
64
+ resourceInputs["slug"] = undefined /*out*/;
65
+ resourceInputs["suspended"] = undefined /*out*/;
66
+ resourceInputs["suspenders"] = undefined /*out*/;
67
+ resourceInputs["updatedAt"] = undefined /*out*/;
70
68
  }
71
69
  else {
72
70
  resourceInputs["autoDeploy"] = undefined /*out*/;
73
71
  resourceInputs["branch"] = undefined /*out*/;
72
+ resourceInputs["buildFilter"] = undefined /*out*/;
74
73
  resourceInputs["createdAt"] = undefined /*out*/;
75
74
  resourceInputs["envVars"] = undefined /*out*/;
75
+ resourceInputs["image"] = undefined /*out*/;
76
+ resourceInputs["imagePath"] = undefined /*out*/;
76
77
  resourceInputs["name"] = undefined /*out*/;
77
78
  resourceInputs["notifyOnFail"] = undefined /*out*/;
78
79
  resourceInputs["ownerId"] = undefined /*out*/;
79
80
  resourceInputs["repo"] = undefined /*out*/;
81
+ resourceInputs["rootDir"] = undefined /*out*/;
80
82
  resourceInputs["secretFiles"] = undefined /*out*/;
81
83
  resourceInputs["serviceDetails"] = undefined /*out*/;
82
84
  resourceInputs["slug"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"privateService.js","sourceRoot":"","sources":["../../services/privateService.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAiCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAmC;;QACnF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI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AAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA1GL,wCA2GC;AA9FG,gBAAgB;AACO,2BAAY,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,38 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class RefreshCustomDomain extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing RefreshCustomDomain resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param opts Optional settings to control the behavior of the CustomResource.
10
+ */
11
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RefreshCustomDomain;
12
+ /**
13
+ * Returns true if the given object is an instance of RefreshCustomDomain. This is designed to work even
14
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
15
+ */
16
+ static isInstance(obj: any): obj is RefreshCustomDomain;
17
+ /**
18
+ * Create a RefreshCustomDomain resource with the given unique name, arguments, and options.
19
+ *
20
+ * @param name The _unique_ name of the resource.
21
+ * @param args The arguments to use to populate this resource's properties.
22
+ * @param opts A bag of options that control this resource's behavior.
23
+ */
24
+ constructor(name: string, args?: RefreshCustomDomainArgs, opts?: pulumi.CustomResourceOptions);
25
+ }
26
+ /**
27
+ * The set of arguments for constructing a RefreshCustomDomain resource.
28
+ */
29
+ export interface RefreshCustomDomainArgs {
30
+ /**
31
+ * The ID or name of the custom domain
32
+ */
33
+ customDomainIdOrName?: pulumi.Input<string>;
34
+ /**
35
+ * The ID of the service
36
+ */
37
+ serviceId?: pulumi.Input<string>;
38
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RefreshCustomDomain = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ class RefreshCustomDomain extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing RefreshCustomDomain resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name, id, opts) {
18
+ return new RefreshCustomDomain(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
+ }
20
+ /**
21
+ * Returns true if the given object is an instance of RefreshCustomDomain. This is designed to work even
22
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
+ */
24
+ static isInstance(obj) {
25
+ if (obj === undefined || obj === null) {
26
+ return false;
27
+ }
28
+ return obj['__pulumiType'] === RefreshCustomDomain.__pulumiType;
29
+ }
30
+ /**
31
+ * Create a RefreshCustomDomain resource with the given unique name, arguments, and options.
32
+ *
33
+ * @param name The _unique_ name of the resource.
34
+ * @param args The arguments to use to populate this resource's properties.
35
+ * @param opts A bag of options that control this resource's behavior.
36
+ */
37
+ constructor(name, args, opts) {
38
+ let resourceInputs = {};
39
+ opts = opts || {};
40
+ if (!opts.id) {
41
+ resourceInputs["customDomainIdOrName"] = args ? args.customDomainIdOrName : undefined;
42
+ resourceInputs["serviceId"] = args ? args.serviceId : undefined;
43
+ }
44
+ else {
45
+ }
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
47
+ super(RefreshCustomDomain.__pulumiType, name, resourceInputs, opts);
48
+ }
49
+ }
50
+ exports.RefreshCustomDomain = RefreshCustomDomain;
51
+ /** @internal */
52
+ RefreshCustomDomain.__pulumiType = 'render:services:RefreshCustomDomain';
53
+ //# sourceMappingURL=refreshCustomDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refreshCustomDomain.js","sourceRoot":"","sources":["../../services/refreshCustomDomain.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA8B,EAAE,IAAmC;QACzF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA7CL,kDA8CC;AAjCG,gBAAgB;AACO,gCAAY,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class RestartServer extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing RestartServer resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param opts Optional settings to control the behavior of the CustomResource.
10
+ */
11
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RestartServer;
12
+ /**
13
+ * Returns true if the given object is an instance of RestartServer. This is designed to work even
14
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
15
+ */
16
+ static isInstance(obj: any): obj is RestartServer;
17
+ /**
18
+ * Create a RestartServer resource with the given unique name, arguments, and options.
19
+ *
20
+ * @param name The _unique_ name of the resource.
21
+ * @param args The arguments to use to populate this resource's properties.
22
+ * @param opts A bag of options that control this resource's behavior.
23
+ */
24
+ constructor(name: string, args?: RestartServerArgs, opts?: pulumi.CustomResourceOptions);
25
+ }
26
+ /**
27
+ * The set of arguments for constructing a RestartServer resource.
28
+ */
29
+ export interface RestartServerArgs {
30
+ /**
31
+ * The ID of the service
32
+ */
33
+ serviceId?: pulumi.Input<string>;
34
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RestartServer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ class RestartServer extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing RestartServer resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name, id, opts) {
18
+ return new RestartServer(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
+ }
20
+ /**
21
+ * Returns true if the given object is an instance of RestartServer. This is designed to work even
22
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
+ */
24
+ static isInstance(obj) {
25
+ if (obj === undefined || obj === null) {
26
+ return false;
27
+ }
28
+ return obj['__pulumiType'] === RestartServer.__pulumiType;
29
+ }
30
+ /**
31
+ * Create a RestartServer resource with the given unique name, arguments, and options.
32
+ *
33
+ * @param name The _unique_ name of the resource.
34
+ * @param args The arguments to use to populate this resource's properties.
35
+ * @param opts A bag of options that control this resource's behavior.
36
+ */
37
+ constructor(name, args, opts) {
38
+ let resourceInputs = {};
39
+ opts = opts || {};
40
+ if (!opts.id) {
41
+ resourceInputs["serviceId"] = args ? args.serviceId : undefined;
42
+ }
43
+ else {
44
+ }
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
46
+ super(RestartServer.__pulumiType, name, resourceInputs, opts);
47
+ }
48
+ }
49
+ exports.RestartServer = RestartServer;
50
+ /** @internal */
51
+ RestartServer.__pulumiType = 'render:services:RestartServer';
52
+ //# sourceMappingURL=restartServer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restartServer.js","sourceRoot":"","sources":["../../services/restartServer.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAmC;QACnF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA5CL,sCA6CC;AAhCG,gBAAgB;AACO,0BAAY,GAAG,+BAA+B,CAAC"}