Skip to content

Add lesgo framework type declarations#53881

Merged
typescript-bot merged 9 commits intoDefinitelyTyped:masterfrom
xXLXx:add-lesgo-types
Jul 14, 2021
Merged

Add lesgo framework type declarations#53881
typescript-bot merged 9 commits intoDefinitelyTyped:masterfrom
xXLXx:add-lesgo-types

Conversation

@xXLXx
Copy link
Contributor

@xXLXx xXLXx commented Jun 17, 2021

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.

  • Test the change in your own code. (Compile and run.)

  • Add or edit tests to reflect the change.

  • Follow the advice from the readme.

  • Avoid common mistakes.

  • Run npm test <package to test>.

  • The package does not already provide its own types, or cannot have its .d.ts files generated via --declaration

  • If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.

  • Create it with dts-gen --dt, not by basing it on an existing project.

  • Represents shape of module/library correctly

  • tslint.json should contain { "extends": "dtslint/dt.json" }, and no additional rules.

  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

@xXLXx xXLXx requested a review from peterblazejewicz as a code owner June 17, 2021 05:13
@typescript-bot
Copy link
Contributor

typescript-bot commented Jun 17, 2021

@xXLXx Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR adds a new definition, so it needs to be reviewed by a DT maintainer before it can be merged.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Only a DT maintainer can approve changes when there are new packages added

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.

Inactive

This PR has been inactive for 13 days — please merge or say something if there's a problem, otherwise it will be closed!


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 53881,
  "author": "xXLXx",
  "headCommitOid": "df8edcfa816c8702757156d32c98ab0833044066",
  "lastPushDate": "2021-07-01T09:19:01.000Z",
  "lastActivityDate": "2021-07-14T23:04:48.000Z",
  "mergeOfferDate": "2021-07-01T20:38:43.000Z",
  "mergeRequestDate": "2021-07-14T23:04:48.000Z",
  "mergeRequestUser": "xXLXx",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "lesgo",
      "kind": "add",
      "files": [
        {
          "path": "types/lesgo/exceptions/LesgoException.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/exceptions/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/lesgo-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/middlewares/errorHttpResponseMiddleware.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/middlewares/httpMiddleware.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/middlewares/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/middlewares/normalizeHttpRequestMiddleware.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/middlewares/normalizeSQSMessageMiddleware.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/middlewares/successHttpResponseMiddleware.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/middlewares/verifyJwtMiddleware.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/lesgo/services/AuroraDbService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/DynamoDbService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/ElasticCacheService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/ElasticsearchService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/FirebaseAdminService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/JWTService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/LoggerService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/S3Service.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/SQSService.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/pagination/LengthAwarePaginator.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/services/pagination/Paginator.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/tests/services/AuroraDbService.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/DynamoDbService.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/ElasticsearchService.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/FirebaseAdminService.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/JWTService.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/LoggerService.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/S3Service.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/SQSService.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tests/services/pagination/index.ts",
          "kind": "test"
        },
        {
          "path": "types/lesgo/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/lesgo/tslint.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/lesgo/utils/cache.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/crypto.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/db.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/dynamodb.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/elasticsearch.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/generateUid.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/getJwtSubFromAuthHeader.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/isDecimal.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/isEmail.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/isEmpty.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/logger.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/objectStore.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/prepSQLInsertParams.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/prepSQLParams.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/prepSQLUpdateParams.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/queue.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/lesgo/utils/validateFields.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [],
      "addedOwners": [
        "xxlxx"
      ],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "peterblazejewicz",
      "date": "2021-07-01T20:38:07.000Z",
      "isMaintainer": true
    },
    {
      "type": "stale",
      "reviewer": "DanielRosenwasser",
      "date": "2021-07-01T08:58:14.000Z",
      "abbrOid": "0150e60"
    }
  ],
  "mainBotCommentID": 862931803,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added New Definition This PR creates a new definition package. Critical package Edits multiple packages Check Config Changes a module config files labels Jun 17, 2021
@typescript-bot
Copy link
Contributor

typescript-bot commented Jun 17, 2021

🔔 @idanlo — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jun 17, 2021
@typescript-bot
Copy link
Contributor

@xXLXx The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels Jun 17, 2021
@typescript-bot
Copy link
Contributor

@xXLXx The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@peterblazejewicz
Copy link
Member

peterblazejewicz commented Jun 17, 2021

why do you want to change external definitions?

@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels Jun 18, 2021
@typescript-bot
Copy link
Contributor

@xXLXx The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@xXLXx
Copy link
Contributor Author

xXLXx commented Jun 18, 2021

definitions

@peterblazejewicz I was actually assuming to make use of the paths on the lesgo-test.ts as if I were in the code where this will be used.

Since this is a framework people would usually use

import isEmpty from 'Utils/isEmpty';

But I guess that's fine I've already changed the code so thanks! Just facing another issue now with the package.json but I think I will need to refer this first to definitely-typed-tools

@typescript-bot typescript-bot added Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. Edits Owners This PR adds or removes owners labels Jun 18, 2021
@typescript-bot
Copy link
Contributor

@xXLXx Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day!

@xXLXx xXLXx force-pushed the add-lesgo-types branch from c597f2c to ecf90a3 Compare June 18, 2021 07:15
@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed Critical package Edits Owners This PR adds or removes owners Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. The CI failed When GH Actions fails labels Jun 18, 2021
@typescript-bot
Copy link
Contributor

@xXLXx The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@xXLXx xXLXx force-pushed the add-lesgo-types branch from ecf90a3 to 82d7df4 Compare June 18, 2021 15:33
@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Jun 18, 2021
@xXLXx xXLXx force-pushed the add-lesgo-types branch from a27f1a9 to 0150e60 Compare June 22, 2021 02:54
@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Jun 22, 2021
@typescript-bot
Copy link
Contributor

@peterblazejewicz Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@typescript-bot typescript-bot added the Revision needed This PR needs code changes before it can be merged. label Jul 1, 2021
@typescript-bot
Copy link
Contributor

@xXLXx One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you!

@typescript-bot typescript-bot removed the Revision needed This PR needs code changes before it can be merged. label Jul 1, 2021
@typescript-bot
Copy link
Contributor

@DanielRosenwasser, @peterblazejewicz Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Jul 1, 2021
@typescript-bot
Copy link
Contributor

typescript-bot commented Jul 1, 2021

@xXLXx: Everything looks good here. I am ready to merge this PR (at df8edcf) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

@typescript-bot
Copy link
Contributor

@DanielRosenwasser Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@xXLXx xXLXx requested a review from DanielRosenwasser July 2, 2021 01:17
@typescript-bot
Copy link
Contributor

Re-ping @xXLXx / @«anyone?»:

This PR has been ready to merge for over a week, and I haven't seen any requests to merge it. I will close it on Jul 31st (in three weeks) if this doesn't happen.

(If there's no reason to avoid merging it, please do so. Otherwise, if it shouldn't be merged or if it needs more time, please close it or turn it into a draft.)

@typescript-bot typescript-bot added the Unmerged The author did not merge the PR when it was ready. label Jul 12, 2021
@xXLXx
Copy link
Contributor Author

xXLXx commented Jul 14, 2021

@typescript-bot I cannot merge this for some reason
image

I believe everything is good here and please merge if you can

@xXLXx
Copy link
Contributor Author

xXLXx commented Jul 14, 2021

@peterblazejewicz @DanielRosenwasser can you guys please help me merge this as this has been going for so long. There are no comments or remaining changes to be fixed here

@peterblazejewicz
Copy link
Member

yes, no worries

@peterblazejewicz
Copy link
Member

@xXLXx please type:

Ready to merge

into the thread, that will merge the content

@xXLXx
Copy link
Contributor Author

xXLXx commented Jul 14, 2021

Ready to merge

@typescript-bot typescript-bot merged commit 73b1227 into DefinitelyTyped:master Jul 14, 2021
@typescript-bot
Copy link
Contributor

I just published @types/lesgo@0.6.0 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Approved New Definition This PR creates a new definition package. Self Merge This PR can now be self-merged by the PR author or an owner Unmerged The author did not merge the PR when it was ready.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants