Skip to content

Commit

Permalink
feat: ses + sns icons (#253)
Browse files Browse the repository at this point in the history
missed those in the last PR...
  • Loading branch information
eladcon authored May 30, 2024
1 parent 883cfb4 commit 20d3dc1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
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

0 comments on commit 20d3dc1

Please sign in to comment.