Skip to content

Commit

Permalink
init search-func import
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldisaro committed Sep 11, 2024
1 parent 563573d commit ba9e638
Show file tree
Hide file tree
Showing 81 changed files with 6,455 additions and 9 deletions.
5 changes: 5 additions & 0 deletions apps/search-func/.auto-changelog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"issuePattern": "\\[#(\\d+)\\]",
"issueUrl": "https://www.pivotaltracker.com/story/show/{id}",
"breakingPattern": "BREAKING CHANGE:"
}
24 changes: 24 additions & 0 deletions apps/search-func/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
"env": {
"es6": true,
"node": true
},
"ignorePatterns": [
"node_modules",
"generated",
"**/__tests__/*",
"**/__mocks__/*",
"*.d.ts",
"*.js",
"Dangerfile.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module"
},
"extends": [
"@pagopa/eslint-config/strong",
],
"rules": {}
};
15 changes: 15 additions & 0 deletions apps/search-func/.funcignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.js.map
*.ts
.git*
.vscode*
.circleci*
.prettierrc
local.settings.json*
tsconfig.json
tslint.json
README.md
yarn.lock
jest.config.js
__*
Dangerfile.js
CODEOWNERS
30 changes: 30 additions & 0 deletions apps/search-func/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--- Please always add a PR description as if nobody knows anything about the context these changes come from. -->
<!--- Even if we are all from our internal team, we may not be on the same page. -->
<!--- Write this PR as you were contributing to a public OSS project, where nobody knows you and you have to earn their trust. -->
<!--- This will improve our projects in the long run! Thanks. -->

#### List of Changes
<!--- Describe your changes in detail -->

#### Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

#### How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, tests ran to see how -->
<!--- your change affects other areas of the code, etc. -->

#### Screenshots (if appropriate):

#### Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Chore (nothing changes by a user perspective)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

#### Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
60 changes: 60 additions & 0 deletions apps/search-func/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
bin
obj
csx
.vs
edge
Publish

*.user
*.suo
*.cscfg
*.Cache
project.lock.json

/packages
/TestResults

/tools/NuGet.exe
/App_Data
/secrets
/data
.secrets
appsettings.json
local.settings.json

node_modules
dist

# Local python packages
.python_packages/

# Python Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

coverage

yarn-error.log

generated
*.zip

*.js
!jest.config.js
!.release-it.js

# ESLint files
!.eslintrc.js
.eslintcache

azure-functions-core-tools
1 change: 1 addition & 0 deletions apps/search-func/.node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.11.1
1 change: 1 addition & 0 deletions apps/search-func/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.11.1
2 changes: 2 additions & 0 deletions apps/search-func/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# .prettierrc
parser: typescript
29 changes: 29 additions & 0 deletions apps/search-func/@types/redis-clustr/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* This files contains the typescript declaration of module redis-clustr.
*/

declare module "redis-clustr" {
interface IServer {
readonly host: string;
readonly port: number;
}

interface IRedisOptions {
readonly auth_pass?: string;
readonly tls: {
readonly servername: string;
};
}

interface IOptions {
readonly redisOptions: IRedisOptions;
readonly servers: ReadonlyArray<IServer>;
}

class RedisClustr {
constructor(conf: IOptions);
}

export = RedisClustr;
}

Loading

0 comments on commit ba9e638

Please sign in to comment.