@ryan-pip/pulumi_astronomer 0.2.8 → 1.2.3-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agentToken.d.ts +96 -0
- package/agentToken.d.ts.map +1 -0
- package/agentToken.js +88 -0
- package/agentToken.js.map +1 -0
- package/alert.d.ts +190 -0
- package/alert.d.ts.map +1 -0
- package/alert.js +121 -0
- package/alert.js.map +1 -0
- package/apiToken.d.ts +7 -0
- package/apiToken.d.ts.map +1 -0
- package/apiToken.js +50 -27
- package/apiToken.js.map +1 -1
- package/cluster.d.ts +76 -50
- package/cluster.d.ts.map +1 -0
- package/cluster.js +76 -88
- package/cluster.js.map +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +28 -6
- package/config/vars.js.map +1 -1
- package/customRole.d.ts +162 -0
- package/customRole.d.ts.map +1 -0
- package/customRole.js +125 -0
- package/customRole.js.map +1 -0
- package/deployment.d.ts +50 -16
- package/deployment.d.ts.map +1 -0
- package/deployment.js +114 -87
- package/deployment.js.map +1 -1
- package/getAlert.d.ts +118 -0
- package/getAlert.d.ts.map +1 -0
- package/getAlert.js +75 -0
- package/getAlert.js.map +1 -0
- package/getAlerts.d.ts +102 -0
- package/getAlerts.d.ts.map +1 -0
- package/getAlerts.js +117 -0
- package/getAlerts.js.map +1 -0
- package/getApiToken.d.ts +3 -2
- package/getApiToken.d.ts.map +1 -0
- package/getApiToken.js +28 -5
- package/getApiToken.js.map +1 -1
- package/getApiTokens.d.ts +3 -2
- package/getApiTokens.d.ts.map +1 -0
- package/getApiTokens.js +28 -5
- package/getApiTokens.js.map +1 -1
- package/getCluster.d.ts +28 -3
- package/getCluster.d.ts.map +1 -0
- package/getCluster.js +28 -5
- package/getCluster.js.map +1 -1
- package/getClusterOptions.d.ts +12 -2
- package/getClusterOptions.d.ts.map +1 -0
- package/getClusterOptions.js +28 -5
- package/getClusterOptions.js.map +1 -1
- package/getClusters.d.ts +12 -2
- package/getClusters.d.ts.map +1 -0
- package/getClusters.js +28 -5
- package/getClusters.js.map +1 -1
- package/getCustomRole.d.ts +98 -0
- package/getCustomRole.d.ts.map +1 -0
- package/getCustomRole.js +75 -0
- package/getCustomRole.js.map +1 -0
- package/getDeployment.d.ts +10 -5
- package/getDeployment.d.ts.map +1 -0
- package/getDeployment.js +28 -5
- package/getDeployment.js.map +1 -1
- package/getDeploymentOptions.d.ts +6 -5
- package/getDeploymentOptions.d.ts.map +1 -0
- package/getDeploymentOptions.js +28 -5
- package/getDeploymentOptions.js.map +1 -1
- package/getDeployments.d.ts +3 -2
- package/getDeployments.d.ts.map +1 -0
- package/getDeployments.js +28 -5
- package/getDeployments.js.map +1 -1
- package/getNotificationChannel.d.ts +114 -0
- package/getNotificationChannel.d.ts.map +1 -0
- package/getNotificationChannel.js +75 -0
- package/getNotificationChannel.js.map +1 -0
- package/getNotificationChannels.d.ts +50 -0
- package/getNotificationChannels.d.ts.map +1 -0
- package/getNotificationChannels.js +65 -0
- package/getNotificationChannels.js.map +1 -0
- package/getOrganization.d.ts +3 -2
- package/getOrganization.d.ts.map +1 -0
- package/getOrganization.js +28 -5
- package/getOrganization.js.map +1 -1
- package/getTeam.d.ts +11 -2
- package/getTeam.d.ts.map +1 -0
- package/getTeam.js +28 -5
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +27 -18
- package/getTeams.d.ts.map +1 -0
- package/getTeams.js +52 -21
- package/getTeams.js.map +1 -1
- package/getUser.d.ts +7 -2
- package/getUser.d.ts.map +1 -0
- package/getUser.js +28 -5
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +27 -18
- package/getUsers.d.ts.map +1 -0
- package/getUsers.js +52 -21
- package/getUsers.js.map +1 -1
- package/getWorkspace.d.ts +3 -2
- package/getWorkspace.d.ts.map +1 -0
- package/getWorkspace.js +28 -5
- package/getWorkspace.js.map +1 -1
- package/getWorkspaces.d.ts +39 -30
- package/getWorkspaces.d.ts.map +1 -0
- package/getWorkspaces.js +64 -33
- package/getWorkspaces.js.map +1 -1
- package/hybridClusterWorkspaceAuthorization.d.ts +1 -19
- package/hybridClusterWorkspaceAuthorization.d.ts.map +1 -0
- package/hybridClusterWorkspaceAuthorization.js +34 -30
- package/hybridClusterWorkspaceAuthorization.js.map +1 -1
- package/index.d.ts +32 -3
- package/index.d.ts.map +1 -0
- package/index.js +76 -9
- package/index.js.map +1 -1
- package/notificationChannel.d.ts +170 -0
- package/notificationChannel.d.ts.map +1 -0
- package/notificationChannel.js +111 -0
- package/notificationChannel.js.map +1 -0
- package/package.json +4 -3
- package/provider.d.ts +18 -3
- package/provider.d.ts.map +1 -0
- package/provider.js +39 -12
- package/provider.js.map +1 -1
- package/team.d.ts +20 -7
- package/team.d.ts.map +1 -0
- package/team.js +51 -26
- package/team.js.map +1 -1
- package/teamMembership.d.ts +66 -0
- package/teamMembership.d.ts.map +1 -0
- package/teamMembership.js +85 -0
- package/teamMembership.js.map +1 -0
- package/teamRoles.d.ts +20 -7
- package/teamRoles.d.ts.map +1 -0
- package/teamRoles.js +42 -17
- package/teamRoles.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +26 -3
- package/types/index.js.map +1 -1
- package/types/input.d.ts +316 -3
- package/types/input.d.ts.map +1 -0
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +944 -11
- package/types/output.d.ts.map +1 -0
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/userInvite.d.ts +2 -1
- package/userInvite.d.ts.map +1 -0
- package/userInvite.js +41 -18
- package/userInvite.js.map +1 -1
- package/userRoles.d.ts +20 -7
- package/userRoles.d.ts.map +1 -0
- package/userRoles.js +42 -17
- package/userRoles.js.map +1 -1
- package/utilities.d.ts +1 -4
- package/utilities.d.ts.map +1 -0
- package/utilities.js +43 -30
- package/utilities.js.map +1 -1
- package/workspace.d.ts +1 -16
- package/workspace.d.ts.map +1 -0
- package/workspace.js +41 -34
- package/workspace.js.map +1 -1
- package/package.json.bak +0 -29
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Notification Channel resource
|
|
6
|
+
*/
|
|
7
|
+
export declare class NotificationChannel extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing NotificationChannel resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationChannelState, opts?: pulumi.CustomResourceOptions): NotificationChannel;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of NotificationChannel. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is NotificationChannel;
|
|
23
|
+
/**
|
|
24
|
+
* Notification Channel creation timestamp
|
|
25
|
+
*/
|
|
26
|
+
readonly createdAt: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Notification Channel creator
|
|
29
|
+
*/
|
|
30
|
+
readonly createdBy: pulumi.Output<outputs.NotificationChannelCreatedBy>;
|
|
31
|
+
/**
|
|
32
|
+
* The notification channel's definition
|
|
33
|
+
*/
|
|
34
|
+
readonly definition: pulumi.Output<outputs.NotificationChannelDefinition>;
|
|
35
|
+
/**
|
|
36
|
+
* The deployment ID the notification channel is scoped to
|
|
37
|
+
*/
|
|
38
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The entity ID the notification channel is scoped to
|
|
41
|
+
*/
|
|
42
|
+
readonly entityId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The name of the entity the notification channel is scoped to
|
|
45
|
+
*/
|
|
46
|
+
readonly entityName: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The type of entity the notification channel is scoped to (e.g., 'DEPLOYMENT')
|
|
49
|
+
*/
|
|
50
|
+
readonly entityType: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* When entity type is scoped to ORGANIZATION or WORKSPACE, this determines if child entities can access this notification channel.
|
|
53
|
+
*/
|
|
54
|
+
readonly isShared: pulumi.Output<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* The notification channel's name
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The notification channel's type
|
|
61
|
+
*/
|
|
62
|
+
readonly type: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Notification Channel last updated timestamp
|
|
65
|
+
*/
|
|
66
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Notification Channel updater
|
|
69
|
+
*/
|
|
70
|
+
readonly updatedBy: pulumi.Output<outputs.NotificationChannelUpdatedBy>;
|
|
71
|
+
/**
|
|
72
|
+
* The workspace ID the notification channel is scoped to
|
|
73
|
+
*/
|
|
74
|
+
readonly workspaceId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a NotificationChannel resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: NotificationChannelArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering NotificationChannel resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface NotificationChannelState {
|
|
88
|
+
/**
|
|
89
|
+
* Notification Channel creation timestamp
|
|
90
|
+
*/
|
|
91
|
+
createdAt?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Notification Channel creator
|
|
94
|
+
*/
|
|
95
|
+
createdBy?: pulumi.Input<inputs.NotificationChannelCreatedBy>;
|
|
96
|
+
/**
|
|
97
|
+
* The notification channel's definition
|
|
98
|
+
*/
|
|
99
|
+
definition?: pulumi.Input<inputs.NotificationChannelDefinition>;
|
|
100
|
+
/**
|
|
101
|
+
* The deployment ID the notification channel is scoped to
|
|
102
|
+
*/
|
|
103
|
+
deploymentId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The entity ID the notification channel is scoped to
|
|
106
|
+
*/
|
|
107
|
+
entityId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the entity the notification channel is scoped to
|
|
110
|
+
*/
|
|
111
|
+
entityName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The type of entity the notification channel is scoped to (e.g., 'DEPLOYMENT')
|
|
114
|
+
*/
|
|
115
|
+
entityType?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* When entity type is scoped to ORGANIZATION or WORKSPACE, this determines if child entities can access this notification channel.
|
|
118
|
+
*/
|
|
119
|
+
isShared?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* The notification channel's name
|
|
122
|
+
*/
|
|
123
|
+
name?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The notification channel's type
|
|
126
|
+
*/
|
|
127
|
+
type?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Notification Channel last updated timestamp
|
|
130
|
+
*/
|
|
131
|
+
updatedAt?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Notification Channel updater
|
|
134
|
+
*/
|
|
135
|
+
updatedBy?: pulumi.Input<inputs.NotificationChannelUpdatedBy>;
|
|
136
|
+
/**
|
|
137
|
+
* The workspace ID the notification channel is scoped to
|
|
138
|
+
*/
|
|
139
|
+
workspaceId?: pulumi.Input<string>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The set of arguments for constructing a NotificationChannel resource.
|
|
143
|
+
*/
|
|
144
|
+
export interface NotificationChannelArgs {
|
|
145
|
+
/**
|
|
146
|
+
* The notification channel's definition
|
|
147
|
+
*/
|
|
148
|
+
definition: pulumi.Input<inputs.NotificationChannelDefinition>;
|
|
149
|
+
/**
|
|
150
|
+
* The entity ID the notification channel is scoped to
|
|
151
|
+
*/
|
|
152
|
+
entityId: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The type of entity the notification channel is scoped to (e.g., 'DEPLOYMENT')
|
|
155
|
+
*/
|
|
156
|
+
entityType: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* When entity type is scoped to ORGANIZATION or WORKSPACE, this determines if child entities can access this notification channel.
|
|
159
|
+
*/
|
|
160
|
+
isShared?: pulumi.Input<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* The notification channel's name
|
|
163
|
+
*/
|
|
164
|
+
name?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The notification channel's type
|
|
167
|
+
*/
|
|
168
|
+
type: pulumi.Input<string>;
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=notificationChannel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationChannel.d.ts","sourceRoot":"","sources":["../notificationChannel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAA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,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC;IAC9D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC;IAC/D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.NotificationChannel = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Notification Channel resource
|
|
33
|
+
*/
|
|
34
|
+
class NotificationChannel extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NotificationChannel resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new NotificationChannel(name, state, { ...opts, id: id });
|
|
46
|
+
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'astronomer:index/notificationChannel:NotificationChannel';
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of NotificationChannel. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === NotificationChannel.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
65
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
66
|
+
resourceInputs["definition"] = state?.definition;
|
|
67
|
+
resourceInputs["deploymentId"] = state?.deploymentId;
|
|
68
|
+
resourceInputs["entityId"] = state?.entityId;
|
|
69
|
+
resourceInputs["entityName"] = state?.entityName;
|
|
70
|
+
resourceInputs["entityType"] = state?.entityType;
|
|
71
|
+
resourceInputs["isShared"] = state?.isShared;
|
|
72
|
+
resourceInputs["name"] = state?.name;
|
|
73
|
+
resourceInputs["type"] = state?.type;
|
|
74
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
75
|
+
resourceInputs["updatedBy"] = state?.updatedBy;
|
|
76
|
+
resourceInputs["workspaceId"] = state?.workspaceId;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if (args?.definition === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'definition'");
|
|
82
|
+
}
|
|
83
|
+
if (args?.entityId === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'entityId'");
|
|
85
|
+
}
|
|
86
|
+
if (args?.entityType === undefined && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'entityType'");
|
|
88
|
+
}
|
|
89
|
+
if (args?.type === undefined && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'type'");
|
|
91
|
+
}
|
|
92
|
+
resourceInputs["definition"] = args?.definition;
|
|
93
|
+
resourceInputs["entityId"] = args?.entityId;
|
|
94
|
+
resourceInputs["entityType"] = args?.entityType;
|
|
95
|
+
resourceInputs["isShared"] = args?.isShared;
|
|
96
|
+
resourceInputs["name"] = args?.name;
|
|
97
|
+
resourceInputs["type"] = args?.type;
|
|
98
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["deploymentId"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["entityName"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["workspaceId"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(NotificationChannel.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.NotificationChannel = NotificationChannel;
|
|
111
|
+
//# sourceMappingURL=notificationChannel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationChannel.js","sourceRoot":"","sources":["../notificationChannel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0DAA0D,CAAC;IAEjG;;;OAGG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D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;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;;AAzIL,kDA0IC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryan-pip/pulumi_astronomer",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "A Pulumi package for creating and managing Astronomer Cloud resources. Based on terraform-provider-astro: version
|
|
3
|
+
"version": "1.2.3-alpha.4+996547c8",
|
|
4
|
+
"description": "A Pulumi package for creating and managing Astronomer Cloud resources. Based on terraform-provider-astro: version v1.2.3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
7
7
|
"astronomer",
|
|
@@ -19,11 +19,12 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/mime": "^2.0.0",
|
|
21
21
|
"@types/node": "^10.0.0",
|
|
22
|
-
"typescript": "^4.
|
|
22
|
+
"typescript": "^4.7.0"
|
|
23
23
|
},
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "astronomer",
|
|
27
|
+
"version": "1.2.3-alpha.4+996547c8",
|
|
27
28
|
"server": "github://api.github.com/ryan-pip/pulumi-astronomer"
|
|
28
29
|
}
|
|
29
30
|
}
|
package/provider.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
18
18
|
/**
|
|
19
19
|
* Organization ID this provider will operate on.
|
|
20
20
|
*/
|
|
21
|
-
readonly organizationId: pulumi.Output<string>;
|
|
21
|
+
readonly organizationId: pulumi.Output<string | undefined>;
|
|
22
22
|
/**
|
|
23
23
|
* Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.
|
|
24
24
|
*/
|
|
@@ -30,7 +30,11 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
30
30
|
* @param args The arguments to use to populate this resource's properties.
|
|
31
31
|
* @param opts A bag of options that control this resource's behavior.
|
|
32
32
|
*/
|
|
33
|
-
constructor(name: string, args
|
|
33
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
34
|
+
/**
|
|
35
|
+
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
36
|
+
*/
|
|
37
|
+
terraformConfig(): pulumi.Output<Provider.TerraformConfigResult>;
|
|
34
38
|
}
|
|
35
39
|
/**
|
|
36
40
|
* The set of arguments for constructing a Provider resource.
|
|
@@ -43,9 +47,20 @@ export interface ProviderArgs {
|
|
|
43
47
|
/**
|
|
44
48
|
* Organization ID this provider will operate on.
|
|
45
49
|
*/
|
|
46
|
-
organizationId
|
|
50
|
+
organizationId?: pulumi.Input<string>;
|
|
47
51
|
/**
|
|
48
52
|
* Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.
|
|
49
53
|
*/
|
|
50
54
|
token?: pulumi.Input<string>;
|
|
51
55
|
}
|
|
56
|
+
export declare namespace Provider {
|
|
57
|
+
/**
|
|
58
|
+
* The results of the Provider.terraformConfig method.
|
|
59
|
+
*/
|
|
60
|
+
interface TerraformConfigResult {
|
|
61
|
+
readonly result: {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;GAKG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEjE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,eAAe;IAc5E;;OAEG;IACH,eAAe,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC;CAKnE;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC;AAED,yBAAiB,QAAQ,CAAC;IACtB;;OAEG;IACH,UAAiB,qBAAqB;QAClC,QAAQ,CAAC,MAAM,EAAE;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC;KACzC;CAEJ"}
|
package/provider.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Provider = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The provider type for the astro package. By default, resources use package-wide configuration
|
|
10
33
|
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
@@ -12,6 +35,8 @@ const utilities = require("./utilities");
|
|
|
12
35
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
36
|
*/
|
|
14
37
|
class Provider extends pulumi.ProviderResource {
|
|
38
|
+
/** @internal */
|
|
39
|
+
static __pulumiType = 'astronomer';
|
|
15
40
|
/**
|
|
16
41
|
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
42
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -30,24 +55,26 @@ class Provider extends pulumi.ProviderResource {
|
|
|
30
55
|
* @param opts A bag of options that control this resource's behavior.
|
|
31
56
|
*/
|
|
32
57
|
constructor(name, args, opts) {
|
|
33
|
-
var _a;
|
|
34
58
|
let resourceInputs = {};
|
|
35
59
|
opts = opts || {};
|
|
36
60
|
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
resourceInputs["host"] = args ? args.host : undefined;
|
|
41
|
-
resourceInputs["organizationId"] = args ? args.organizationId : undefined;
|
|
42
|
-
resourceInputs["token"] = (_a = ((args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("ASTRO_API_TOKEN");
|
|
61
|
+
resourceInputs["host"] = args?.host;
|
|
62
|
+
resourceInputs["organizationId"] = (args?.organizationId) ?? utilities.getEnv("ASTRO_ORGANIZATION_ID");
|
|
63
|
+
resourceInputs["token"] = (args?.token ? pulumi.secret(args.token) : undefined) ?? utilities.getEnv("ASTRO_API_TOKEN");
|
|
43
64
|
}
|
|
44
65
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
45
66
|
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
46
67
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
47
68
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
48
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
72
|
+
*/
|
|
73
|
+
terraformConfig() {
|
|
74
|
+
return pulumi.runtime.call("pulumi:providers:astronomer/terraformConfig", {
|
|
75
|
+
"__self__": this,
|
|
76
|
+
}, this);
|
|
77
|
+
}
|
|
49
78
|
}
|
|
50
79
|
exports.Provider = Provider;
|
|
51
|
-
/** @internal */
|
|
52
|
-
Provider.__pulumiType = 'astronomer';
|
|
53
80
|
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,YAAY,CAAC;IAEnD;;;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,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAeD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,EAAE,cAAc,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;YACvG,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;SAC1H;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE;YACtE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AAxDL,4BAyDC"}
|
package/team.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Creates and manages a team and its members. Astro permissions are hierarchical (organization, workspace, deployment, then DAG). Declare roles at each applicable parent scope as well as nested scopes, not only at the leaf, so Terraform state matches the API.
|
|
6
6
|
*/
|
|
7
7
|
export declare class Team extends pulumi.CustomResource {
|
|
8
8
|
/**
|
|
@@ -29,7 +29,11 @@ export declare class Team extends pulumi.CustomResource {
|
|
|
29
29
|
*/
|
|
30
30
|
readonly createdBy: pulumi.Output<outputs.TeamCreatedBy>;
|
|
31
31
|
/**
|
|
32
|
-
* The roles to assign to the
|
|
32
|
+
* The DAG roles to assign to the team. Each role grants permissions to a specific DAG or DAGs with a specific tag within a deployment. Each deployment referenced in `dagRoles` must also have a corresponding entry in `deploymentRoles` (for example `DEPLOYMENT_ACCESSOR`).
|
|
33
|
+
*/
|
|
34
|
+
readonly dagRoles: pulumi.Output<outputs.TeamDagRole[] | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* The roles to assign to the Deployments. Each `deploymentId` must belong to a workspace that also appears in `workspaceRoles`. Required for any deployment referenced in `dagRoles`.
|
|
33
37
|
*/
|
|
34
38
|
readonly deploymentRoles: pulumi.Output<outputs.TeamDeploymentRole[] | undefined>;
|
|
35
39
|
/**
|
|
@@ -65,7 +69,7 @@ export declare class Team extends pulumi.CustomResource {
|
|
|
65
69
|
*/
|
|
66
70
|
readonly updatedBy: pulumi.Output<outputs.TeamUpdatedBy>;
|
|
67
71
|
/**
|
|
68
|
-
* The roles to assign to the Workspaces
|
|
72
|
+
* The roles to assign to the Workspaces. When you set `deploymentRoles` or `dagRoles`, include each deployment's parent workspace here (any workspace role), so Terraform state matches the API.
|
|
69
73
|
*/
|
|
70
74
|
readonly workspaceRoles: pulumi.Output<outputs.TeamWorkspaceRole[] | undefined>;
|
|
71
75
|
/**
|
|
@@ -90,7 +94,11 @@ export interface TeamState {
|
|
|
90
94
|
*/
|
|
91
95
|
createdBy?: pulumi.Input<inputs.TeamCreatedBy>;
|
|
92
96
|
/**
|
|
93
|
-
* The roles to assign to the
|
|
97
|
+
* The DAG roles to assign to the team. Each role grants permissions to a specific DAG or DAGs with a specific tag within a deployment. Each deployment referenced in `dagRoles` must also have a corresponding entry in `deploymentRoles` (for example `DEPLOYMENT_ACCESSOR`).
|
|
98
|
+
*/
|
|
99
|
+
dagRoles?: pulumi.Input<pulumi.Input<inputs.TeamDagRole>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* The roles to assign to the Deployments. Each `deploymentId` must belong to a workspace that also appears in `workspaceRoles`. Required for any deployment referenced in `dagRoles`.
|
|
94
102
|
*/
|
|
95
103
|
deploymentRoles?: pulumi.Input<pulumi.Input<inputs.TeamDeploymentRole>[]>;
|
|
96
104
|
/**
|
|
@@ -126,7 +134,7 @@ export interface TeamState {
|
|
|
126
134
|
*/
|
|
127
135
|
updatedBy?: pulumi.Input<inputs.TeamUpdatedBy>;
|
|
128
136
|
/**
|
|
129
|
-
* The roles to assign to the Workspaces
|
|
137
|
+
* The roles to assign to the Workspaces. When you set `deploymentRoles` or `dagRoles`, include each deployment's parent workspace here (any workspace role), so Terraform state matches the API.
|
|
130
138
|
*/
|
|
131
139
|
workspaceRoles?: pulumi.Input<pulumi.Input<inputs.TeamWorkspaceRole>[]>;
|
|
132
140
|
}
|
|
@@ -135,7 +143,11 @@ export interface TeamState {
|
|
|
135
143
|
*/
|
|
136
144
|
export interface TeamArgs {
|
|
137
145
|
/**
|
|
138
|
-
* The roles to assign to the
|
|
146
|
+
* The DAG roles to assign to the team. Each role grants permissions to a specific DAG or DAGs with a specific tag within a deployment. Each deployment referenced in `dagRoles` must also have a corresponding entry in `deploymentRoles` (for example `DEPLOYMENT_ACCESSOR`).
|
|
147
|
+
*/
|
|
148
|
+
dagRoles?: pulumi.Input<pulumi.Input<inputs.TeamDagRole>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* The roles to assign to the Deployments. Each `deploymentId` must belong to a workspace that also appears in `workspaceRoles`. Required for any deployment referenced in `dagRoles`.
|
|
139
151
|
*/
|
|
140
152
|
deploymentRoles?: pulumi.Input<pulumi.Input<inputs.TeamDeploymentRole>[]>;
|
|
141
153
|
/**
|
|
@@ -155,7 +167,8 @@ export interface TeamArgs {
|
|
|
155
167
|
*/
|
|
156
168
|
organizationRole: pulumi.Input<string>;
|
|
157
169
|
/**
|
|
158
|
-
* The roles to assign to the Workspaces
|
|
170
|
+
* The roles to assign to the Workspaces. When you set `deploymentRoles` or `dagRoles`, include each deployment's parent workspace here (any workspace role), so Terraform state matches the API.
|
|
159
171
|
*/
|
|
160
172
|
workspaceRoles?: pulumi.Input<pulumi.Input<inputs.TeamWorkspaceRole>[]>;
|
|
161
173
|
}
|
|
174
|
+
//# sourceMappingURL=team.d.ts.map
|
package/team.d.ts.map
ADDED
|
@@ -0,0 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