Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ses + sns icons #253

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ses/aws.extern.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default interface extern {
_sendEmail: (options: SendEmailOptions) => Promise<(string) | undefined>,
_sendRawEmail: (options: SendRawEmailOptions) => Promise<(string) | undefined>,
_sendEmail: (options: SendEmailOptions) => Promise<string | void>,
_sendRawEmail: (options: SendRawEmailOptions) => Promise<string | void>,
}
export interface Destination {
readonly BccAddresses?: ((readonly (string)[])) | undefined;
Expand Down
2 changes: 2 additions & 0 deletions ses/lib.w
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ pub class EmailService impl types.IEmailService {
}

nodeof(this.inner).hidden = true;
nodeof(this).icon = "inbox";
nodeof(this).color = "pink";
}

pub inflight sendEmail(options: types.SendEmailOptions): str? {
Expand Down
4 changes: 2 additions & 2 deletions ses/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ses/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@winglibs/ses",
"description": "Wing library for interacting with AWS SES",
"version": "0.0.1",
"version": "0.0.2",
"repository": {
"type": "git",
"url": "https://github.com/winglang/winglibs.git",
Expand Down
4 changes: 4 additions & 0 deletions sns/lib.w
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ pub class MobileClient impl types.IMobileClient {
} else {
throw "Unsupported target {target}";
}

nodeof(this.inner).hidden = true;
nodeof(this).icon = "chat-bubble-left";
nodeof(this).color = "sky";
}

pub inflight publish(options: types.PublishOptions): types.PublishResult {
Expand Down
4 changes: 2 additions & 2 deletions sns/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sns/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@winglibs/sns",
"description": "Wing library for interacting with AWS SNS",
"version": "0.0.2",
"version": "0.0.3",
"repository": {
"type": "git",
"url": "https://github.com/winglang/winglibs.git",
Expand Down
Loading