Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e31fdc2c02 |
874 changed files with 3019 additions and 67372 deletions
287
.gitignore
vendored
287
.gitignore
vendored
|
@ -1,5 +1,282 @@
|
|||
ng-demo
|
||||
node_modules
|
||||
**/node_modules
|
||||
implem/.angular/cache
|
||||
**/.angular/cache
|
||||
### macOS ###
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
# TypeScript
|
||||
*.d.ts
|
||||
# Thumbnails
|
||||
._*
|
||||
# Prototype Engagement Pack
|
||||
# prototype.context.json
|
||||
# AWS CDK
|
||||
cdk.context.json
|
||||
cdk.out
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
### Node ###
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
*.lcov
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
bower_components
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
# TypeScript v1 declaration files
|
||||
typings/
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
# Optional stylelint cache
|
||||
.stylelintcache
|
||||
# Microbundle cache
|
||||
.rpt2_cache/
|
||||
.rts2_cache_cjs/
|
||||
.rts2_cache_es/
|
||||
.rts2_cache_umd/
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
.env.test
|
||||
.env*.local
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
.parcel-cache
|
||||
# Next.js build output
|
||||
.next
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
dist
|
||||
# Storybook build outputs
|
||||
.out
|
||||
.storybook-out
|
||||
storybook-static
|
||||
# rollup.js default build output
|
||||
dist/
|
||||
# Gatsby files
|
||||
.cache/
|
||||
# Comment in the public line in if your project uses Gatsby and not Next.js
|
||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||
# public
|
||||
# vuepress build output
|
||||
.vuepress/dist
|
||||
# Serverless directories
|
||||
.serverless/
|
||||
# FuseBox cache
|
||||
.fusebox/
|
||||
# DynamoDB Local files
|
||||
.dynamodb/
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
# Stores VSCode versions used for testing VSCode extensions
|
||||
.vscode-test
|
||||
.vscode
|
||||
# Temporary folders
|
||||
tmp/
|
||||
temp/
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
cover/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
.pybuilder/
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
# For a library or package, you might want to ignore these files since the code is
|
||||
# intended to run in multiple environments; otherwise, check them in:
|
||||
# .python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
#Pipfile.lock
|
||||
|
||||
# poetry
|
||||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
||||
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
||||
# commonly ignored for libraries.
|
||||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
||||
#poetry.lock
|
||||
|
||||
# pdm
|
||||
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
||||
#pdm.lock
|
||||
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
||||
# in version control.
|
||||
# https://pdm.fming.dev/#use-with-ide
|
||||
.pdm.toml
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# pytype static type analyzer
|
||||
.pytype/
|
||||
|
||||
# Cython debug symbols
|
||||
cython_debug/
|
||||
|
||||
# Terraform
|
||||
.external_modules/
|
||||
.terraform.lock.hcl
|
||||
.terraform/
|
39
.gitlab-ci.yml
Normal file
39
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
# --------------------------------------------------------------------------------
|
||||
# Purpose : RAG Backend Pipeline
|
||||
# Author : GCS/DevOps
|
||||
# Licence :
|
||||
#
|
||||
#---------------------------------------------------------------------------------
|
||||
#---------------------------------------------------------------------------------
|
||||
#
|
||||
include:
|
||||
- template: Jobs/Secret-Detection.gitlab-ci.yml
|
||||
- project: safrancloud/templates
|
||||
file: /gitlab-ci/iac-init.yml
|
||||
ref: 4.2.1
|
||||
- project: safrancloud/templates
|
||||
file: /gitlab-ci/compliance.yml
|
||||
ref: 4.2.1
|
||||
- local: gitlab-ci/all.yml
|
||||
- local: gitlab-ci/dev.yml
|
||||
# - local: gitlab-ci/ppd.yml
|
||||
# - local: gitlab-ci/prd.yml
|
||||
|
||||
variables:
|
||||
TF_ROOT: ${CI_PROJECT_DIR}
|
||||
AWS_DEFAULT_REGION: "eu-west-3" # TO BE MODIFIED BY YOUR AWS REGION
|
||||
PROJECT_NAME: "sae-saepfawsdevops" # TO BE MODIFIED BY YOUR PROJECT NAME (SAE-SERVICEID) le serviceid est le groupe principal gitlab du projet
|
||||
APPNAME: "demo" # TO BE MODIFIED BY YOUR APPLICATION NAME
|
||||
HTTP_PROXY: "http://eu2.proxy.cloud.ad:3128" # # TO BE MODIFIED BY PROXY ENDPOINT ex http://eu1.proxy.cloud.ad:3128
|
||||
HTTPS_PROXY: "http://eu2.proxy.cloud.ad:3128" # ex http://eu1.proxy.cloud.ad:3128
|
||||
NO_PROXY: "cloud.safran,cloud.ad" # TO BE MODOFIED BY YOU NO_PROXY ex "cloud.safran,cloud.ad"
|
||||
TERRAFORM_IMAGE: terraform-19:2.3.3
|
||||
TF_VAR_management: "terraform-${CI_PROJECT_NAME}-${CI_PROJECT_ID}"
|
||||
|
||||
stages:
|
||||
- compliance
|
||||
- test
|
||||
- build
|
||||
- plan
|
||||
- apply
|
||||
- destroy
|
24
.pre-commit-config.yaml
Normal file
24
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
repos:
|
||||
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
||||
rev: v1.100.0 # v1.92.2 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
|
||||
|
||||
hooks:
|
||||
- id: terraform_fmt
|
||||
args:
|
||||
- --hook-config=--parallelism-ci-cpu-cores=1
|
||||
- id: terraform_validate
|
||||
args:
|
||||
- --tf-init-args=-backend=false # disable backend for pre-commit
|
||||
# - --tf-init-args=-upgrade # requires export NO_PROXY=git.cloud.safran,api0.prismacloud.io to avoid connection issues
|
||||
- --hook-config=--retry-once-with-cleanup=true # requires jq
|
||||
# - id: terraform_checkov
|
||||
# args:
|
||||
# - --args=--download-external-modules=true # download external modules
|
||||
# - --args=--quiet # only show failed checks (not all checks)
|
||||
# # - --args=--skip-check=CKV_AWS_21,CKV_AWS_57 # skip specific checks
|
||||
# - id: infracost_breakdown
|
||||
# args:
|
||||
# - --args=--path=.
|
||||
# - --args=--terraform-var-file="envs/ppd.tfvars"
|
||||
# - --args=--terraform-var-file="envs/shared.tfvars"
|
||||
# verbose: true
|
51
README.md
51
README.md
|
@ -1,6 +1,47 @@
|
|||
# Implémentation d'essai du design system
|
||||
initialiser une app Angular latest,
|
||||
importer le dépot ng-demo
|
||||
et utiliser ses composants.
|
||||
# RAG Pattern :: Backend
|
||||
|
||||
Faire un store redux pour les applications.
|
||||
This repository hosts the code for the frontend application built with Streamlit. The deployment process involves building a Docker image, pushing it to Amazon Elastic Container Registry (ECR), and running it as an ECS task using Terraform for infrastructure management.
|
||||
|
||||
## Deployment Workflow
|
||||
|
||||
- :one: *Docker Image Build and Push to ECR*: The frontend application is containerized using Docker. The GitLab CI/CD pipeline builds the image and pushes it to an Amazon ECR repository.
|
||||
- :two: *Infrastructure Provisioning with Terraform*: The necessary AWS infrastructure, including the ECR repository, ECS cluster, and networking resources, is defined and managed using Terraform.
|
||||
- :three: *ECS Task Deployment*: The Docker image from ECR is deployed as an ECS task, running the Streamlit application in a containerized environment.
|
||||
|
||||
## Detailed Steps
|
||||
|
||||
1. **Docker Image Build & Push**:
|
||||
- The CI/CD pipeline builds the Streamlit application into a Docker image.
|
||||
- The image is tagged with the commit SHA for version control.
|
||||
- The image is pushed to Amazon ECR for storage.
|
||||
|
||||
2. **Terraform-Based Infrastructure Deployment**:
|
||||
- The Terraform configuration provisions:
|
||||
- An ECR repository for storing images.
|
||||
- An ECS cluster with task definitions.
|
||||
- Security groups, IAM roles, and networking components.
|
||||
- The infrastructure is applied using GitLab CI/CD with `terraform apply`.
|
||||
|
||||
3. **Deploying the Application to ECS**:
|
||||
- The ECS task definition is updated with the latest image.
|
||||
- The ECS service is restarted to apply the new task definition.
|
||||
- Load balancing and auto-scaling ensure availability and scalability.
|
||||
|
||||
## ARCHITECTURE
|
||||
|
||||
In this architecture:
|
||||
|
||||
- The frontend container runs on Amazon ECS with Fargate.
|
||||
- The container image is stored and retrieved from Amazon ECR.
|
||||
- Network access is managed through security groups and, optionally, an Application Load Balancer.
|
||||
- Terraform automates AWS infrastructure provisioning.
|
||||
|
||||
This setup ensures an automated, scalable, and reliable deployment pipeline for the frontend application.
|
||||
|
||||

|
||||
|
||||
## DEPLOYEMENT
|
||||
|
||||
### Requirements
|
||||
|
||||
The [saeiagendocuref infrastructure](https://git.cloud.safran/safranae/saeawspfiagendocuref/saeiagendocuref/frontend-chatbot/infrastructure/-/tree/main) should be deployed in your AWS account
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
OPENWEATHER=de58cb9a19aec9c6073e9f1f75da1d26
|
9
airwatch/.storybook/typings.d.ts
vendored
9
airwatch/.storybook/typings.d.ts
vendored
|
@ -1,9 +0,0 @@
|
|||
declare module '*.md' {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module '*.mdx' {
|
||||
const content: any;
|
||||
export default content;
|
||||
}
|
212
apigateway.tf
Normal file
212
apigateway.tf
Normal file
|
@ -0,0 +1,212 @@
|
|||
# -------------------------------------------------------------------------------------------------------------------
|
||||
# API Gateway configuration considerer "app" ("csc_casematcher" test) - lambda: csc_casematcher_docker
|
||||
# -------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
resource "aws_api_gateway_rest_api" "genai_rag_api" {
|
||||
name = "${var.appname}-${var.company}-${local.safran_region}-${var.security}-${var.environment}-${var.service_id}"
|
||||
description = "API Gateway"
|
||||
endpoint_configuration {
|
||||
# types = ["REGIONAL"]
|
||||
types = ["PRIVATE"]
|
||||
vpc_endpoint_ids = [data.aws_vpc_endpoint.apigateway.id]
|
||||
}
|
||||
body = data.template_file.openapi_template.rendered
|
||||
lifecycle {
|
||||
create_before_destroy = true
|
||||
}
|
||||
# binary_media_types = ["multipart/form-data"]
|
||||
}
|
||||
|
||||
resource "aws_api_gateway_rest_api_policy" "genai_rag_api_policy" {
|
||||
rest_api_id = aws_api_gateway_rest_api.genai_rag_api.id
|
||||
policy = data.aws_iam_policy_document.api_gateway_invoke_policy.json
|
||||
}
|
||||
|
||||
resource "aws_api_gateway_deployment" "genai_rag_api_deploy" {
|
||||
rest_api_id = aws_api_gateway_rest_api.genai_rag_api.id
|
||||
|
||||
triggers = {
|
||||
redeployment = sha1(jsonencode(
|
||||
[
|
||||
aws_api_gateway_rest_api.genai_rag_api.body,
|
||||
aws_api_gateway_rest_api_policy.genai_rag_api_policy,
|
||||
data.template_file.openapi_template
|
||||
]
|
||||
))
|
||||
# redeploy = "${timestamp()}" # uncomment to force deployment
|
||||
}
|
||||
depends_on = [
|
||||
aws_api_gateway_rest_api.genai_rag_api,
|
||||
aws_api_gateway_rest_api_policy.genai_rag_api_policy
|
||||
]
|
||||
lifecycle {
|
||||
create_before_destroy = true
|
||||
}
|
||||
}
|
||||
|
||||
resource "aws_api_gateway_stage" "genai_rag_api_stage" {
|
||||
#checkov:skip=CKV2_AWS_51:API Gateway uses cognioto authentification and authorization
|
||||
#checkov:skip=CKV_AWS_73:No need for X-RAY tracing
|
||||
#checkov:skip=CKV_AWS_120:No need for caching
|
||||
deployment_id = aws_api_gateway_deployment.genai_rag_api_deploy.id
|
||||
rest_api_id = aws_api_gateway_rest_api.genai_rag_api.id
|
||||
stage_name = var.environment
|
||||
access_log_settings {
|
||||
# destination_arn = "arn:aws:logs:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:log-group:${data.aws_ssm_parameter.ecs_backend_log_group_name.value}"
|
||||
destination_arn = aws_cloudwatch_log_group.api_gateway_access_log.arn
|
||||
format = jsonencode({
|
||||
requestId = "$context.requestId"
|
||||
sourceIp = "$context.identity.sourceIp"
|
||||
requestTime = "$context.requestTime"
|
||||
protocol = "$context.protocol"
|
||||
httpMethod = "$context.httpMethod"
|
||||
resourcePath = "$context.resourcePath"
|
||||
routeKey = "$context.routeKey"
|
||||
status = "$context.status"
|
||||
responseLength = "$context.responseLength"
|
||||
integrationErrorMessage = "$context.integrationErrorMessage"
|
||||
}
|
||||
)
|
||||
}
|
||||
xray_tracing_enabled = var.xray_tracing_enabled
|
||||
}
|
||||
|
||||
# Adding event triggers
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app" {
|
||||
statement_id = "AllowAPIGatewayInvokeApp"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app"
|
||||
}
|
||||
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_query" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppQuery"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/query_simple"
|
||||
}
|
||||
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_hardware" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppHardware"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/hardware_detect"
|
||||
}
|
||||
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_keyword" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppKeyword"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/get_keyword_from_email"
|
||||
}
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_search" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppSearch"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/search_engine"
|
||||
}
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_dica" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppDica"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/dica_detect"
|
||||
}
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_summarize" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppSummarize"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/summarize_questions"
|
||||
}
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_esm" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppEsm"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/esm_detect"
|
||||
}
|
||||
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_ai_filter" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppAiFilter"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/ai_filter"
|
||||
}
|
||||
|
||||
resource "aws_lambda_permission" "allow_api_gateway_app_esm_content_analyse" {
|
||||
statement_id = "AllowAPIGatewayInvokeAppEsmContentAnalyse"
|
||||
action = "lambda:InvokeFunction"
|
||||
function_name = module.lambda_backend.lambda_function_name
|
||||
principal = "apigateway.amazonaws.com"
|
||||
source_arn = "${aws_api_gateway_rest_api.genai_rag_api.execution_arn}/*/*/app/esm_content_analyse"
|
||||
}
|
||||
|
||||
|
||||
# module "cloudwatch_apigateway_kms_key" {
|
||||
# source = "git::https://git.cloud.safran/safrangrp/publiccloud/landingzone/shared-modules/terraform-aws-kms?ref=3.0.3"
|
||||
# company = var.company
|
||||
# service_id = var.service_id
|
||||
# security = var.security
|
||||
# environment = var.environment
|
||||
# aliases = [local.cloudwatch_apigateway_kms_key_alias]
|
||||
# description = "KMS key for Cloudwatch logs"
|
||||
# additional_policy_statement_json_list = [
|
||||
# data.aws_iam_policy_document.cloudwatch_logs_kms_policy.json
|
||||
# ]
|
||||
# }
|
||||
|
||||
|
||||
resource "aws_cloudwatch_log_group" "api_gateway_access_log" {
|
||||
#checkov:skip=CKV_AWS_338: retention of 30 days is enough
|
||||
name = "/${var.appname}/apigateway/accesslogs"
|
||||
retention_in_days = 30
|
||||
tags = merge(local.required_tags, var.tags)
|
||||
kms_key_id = data.aws_ssm_parameter.kms_cloudwatch_arn.value
|
||||
}
|
||||
|
||||
resource "aws_api_gateway_account" "cloudwatch_role_attachement" {
|
||||
cloudwatch_role_arn = aws_iam_role.api_gateway_cloudwatch_role.arn
|
||||
}
|
||||
|
||||
resource "aws_api_gateway_method_settings" "set_logging_and_metrics" {
|
||||
rest_api_id = aws_api_gateway_rest_api.genai_rag_api.id
|
||||
stage_name = aws_api_gateway_stage.genai_rag_api_stage.stage_name
|
||||
method_path = "*/*"
|
||||
|
||||
settings {
|
||||
caching_enabled = true
|
||||
cache_data_encrypted = true
|
||||
metrics_enabled = true
|
||||
logging_level = "INFO" # OFF, ERROR, INFO
|
||||
}
|
||||
depends_on = [
|
||||
aws_api_gateway_account.cloudwatch_role_attachement
|
||||
]
|
||||
}
|
||||
|
||||
# resource "aws_ssm_parameter" "api_gateway_endpoint" {
|
||||
# #checkov:skip=CKV2_AWS_34: no need to encrypt ssm parameter
|
||||
# #checkov:skip=CKV_AWS_337: no need to encrypt ssm parameter
|
||||
# name = "${local.ssm_parameter_prefix}/apiGatewayEndpoint"
|
||||
# description = "ApiGateway Endpoint parameter"
|
||||
# type = "String"
|
||||
# value = aws_api_gateway_deployment.genai_rag_api_deploy.invoke_url
|
||||
# tags = merge(local.required_tags, var.tags)
|
||||
# }
|
||||
|
||||
resource "aws_ssm_parameter" "api_gateway_id" {
|
||||
#checkov:skip=CKV2_AWS_34: no need to encrypt ssm parameter
|
||||
#checkov:skip=CKV_AWS_337: no need to encrypt ssm parameter
|
||||
name = "${local.ssm_parameter_prefix}/apiGatewayId"
|
||||
description = "ApiGateway Id parameter"
|
||||
type = "String"
|
||||
value = aws_api_gateway_deployment.genai_rag_api_deploy.id
|
||||
tags = merge(local.required_tags, var.tags)
|
||||
}
|
7
backend/dev-backend.hcl
Normal file
7
backend/dev-backend.hcl
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -----------------------------------
|
||||
# TFSTATE DEFINITION BLOCK
|
||||
# -----------------------------------
|
||||
bucket = "objstr-sae---z1-dev-devops-147795259188-tfstate"
|
||||
region = "eu-west-3"
|
||||
encrypt = true
|
||||
dynamodb_table = "terraform_state_lock"
|
7
backend/ppd-backend.hcl
Normal file
7
backend/ppd-backend.hcl
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -----------------------------------
|
||||
# TFSTATE DEFINITION BLOCK
|
||||
# -----------------------------------
|
||||
bucket = "objstr-sae---z2-ppd-devops-975050306655-tfstate"
|
||||
region = "eu-west-3"
|
||||
encrypt = true
|
||||
dynamodb_table = "terraform_state_lock"
|
8
backend/prd-backend.hcl
Normal file
8
backend/prd-backend.hcl
Normal file
|
@ -0,0 +1,8 @@
|
|||
# -----------------------------------
|
||||
# TFSTATE DEFINITION BLOCK
|
||||
# -----------------------------------
|
||||
bucket = "objstr-sae---z2-prd-devops-822214488521-tfstate"
|
||||
region = "eu-west-3"
|
||||
encrypt = true
|
||||
dynamodb_table = "terraform_state_lock"
|
||||
|
596
data.tf
Normal file
596
data.tf
Normal file
|
@ -0,0 +1,596 @@
|
|||
data "aws_caller_identity" "current" {}
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------------------------//
|
||||
//------------------------------------------------------------ Region----------------------------------------------------------------//
|
||||
data "aws_region" "current" {}
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------------------------//
|
||||
//------------------------------------------------------------ Network----------------------------------------------------------------//
|
||||
data "aws_vpc" "vpc" {
|
||||
filter {
|
||||
name = "tag:Security"
|
||||
values = [upper(var.security)]
|
||||
}
|
||||
|
||||
filter {
|
||||
name = "tag:Company"
|
||||
values = [upper(var.company)]
|
||||
}
|
||||
|
||||
filter {
|
||||
name = "tag:ServiceID"
|
||||
values = [upper(var.service_id)]
|
||||
}
|
||||
}
|
||||
data "aws_subnets" "frontend_subnets" {
|
||||
filter {
|
||||
name = "tag:Name"
|
||||
values = ["*front*"]
|
||||
}
|
||||
filter {
|
||||
name = "vpc-id"
|
||||
values = [data.aws_vpc.vpc.id]
|
||||
}
|
||||
|
||||
# filter {
|
||||
# name = "tag:Security"
|
||||
# values = [upper(var.security)]
|
||||
# }
|
||||
|
||||
filter {
|
||||
name = "tag:Environment"
|
||||
values = [upper(var.environment), "PPD"] # Adding PPD because in dev all the environment tags have this value
|
||||
# }
|
||||
}
|
||||
}
|
||||
data "aws_subnets" "backend_subnets" {
|
||||
filter {
|
||||
name = "tag:Name"
|
||||
values = ["*private*", "*back*"]
|
||||
}
|
||||
filter {
|
||||
name = "vpc-id"
|
||||
values = [data.aws_vpc.vpc.id]
|
||||
}
|
||||
|
||||
filter {
|
||||
name = "tag:Security"
|
||||
values = [upper(var.security)]
|
||||
}
|
||||
|
||||
filter {
|
||||
name = "tag:Environment"
|
||||
values = [upper(var.environment), "PPD"] # Adding PPD because in dev all the environment tags have this value
|
||||
}
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------------------------//
|
||||
//------------------------------------------------------------ SGs -------------------------------------------------------------------//
|
||||
data "aws_security_groups" "allin" {
|
||||
filter {
|
||||
name = "tag:Name"
|
||||
values = [local.allin_security_group_name]
|
||||
}
|
||||
filter {
|
||||
name = "vpc-id"
|
||||
values = [data.aws_vpc.vpc.id]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------//
|
||||
//------------------------------------------------------------ Api Gateway ----------------------------------------------------------------//
|
||||
data "aws_vpc_endpoint" "apigateway" {
|
||||
vpc_id = data.aws_vpc.vpc.id
|
||||
service_name = "com.amazonaws.${data.aws_region.current.region}.execute-api"
|
||||
}
|
||||
data "template_file" "openapi_template" {
|
||||
template = file("${path.module}/openapi.template.yaml")
|
||||
# template = file("${path.module}/openapi.dummy.yaml.tpl")
|
||||
vars = {
|
||||
appname = var.appname
|
||||
environment = var.environment
|
||||
|
||||
apigateway_vpc_endpoint_id = data.aws_vpc_endpoint.apigateway.id
|
||||
lambda_arn = module.lambda_backend.lambda_function_arn # "lambda_role_dummy" #
|
||||
api_gateway_execution_role_arn = aws_iam_role.api_gateway_execution_role.arn
|
||||
}
|
||||
}
|
||||
data "aws_iam_policy_document" "api_gateway_execution_assume_role_policy" {
|
||||
statement {
|
||||
effect = "Allow"
|
||||
actions = ["sts:AssumeRole"]
|
||||
|
||||
principals {
|
||||
type = "Service"
|
||||
identifiers = ["apigateway.amazonaws.com"]
|
||||
}
|
||||
}
|
||||
}
|
||||
data "aws_iam_policy_document" "api_gateway_execution_role_policy" {
|
||||
statement {
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"lambda:InvokeFunction",
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:lambda:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:function:${var.appname}*"
|
||||
]
|
||||
}
|
||||
}
|
||||
data "aws_iam_policy_document" "api_gateway_invoke_policy" {
|
||||
statement {
|
||||
effect = "Allow"
|
||||
|
||||
principals {
|
||||
type = "*"
|
||||
identifiers = ["*"]
|
||||
}
|
||||
|
||||
actions = ["execute-api:Invoke"]
|
||||
resources = ["*"]
|
||||
condition {
|
||||
test = "StringEquals"
|
||||
variable = "aws:sourceVpc"
|
||||
values = [data.aws_vpc.vpc.id]
|
||||
}
|
||||
}
|
||||
}
|
||||
data "aws_iam_policy_document" "cloudwatch" {
|
||||
#checkov:skip=CKV_AWS_111: resources is * for DescribeLogGroups
|
||||
statement {
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"logs:DescribeLogGroups",
|
||||
"logs:DescribeLogStreams",
|
||||
"logs:CreateLogGroup",
|
||||
"logs:CreateLogStream",
|
||||
"logs:FilterLogEvents",
|
||||
]
|
||||
resources = ["arn:aws:logs:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:log-group:*:log-stream:*"]
|
||||
}
|
||||
statement {
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"logs:PutLogEvents",
|
||||
"logs:GetLogEvents"
|
||||
]
|
||||
resources = ["arn:aws:logs:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:log-group:*"]
|
||||
}
|
||||
}
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------//
|
||||
//------------------------------------------------------------ ECS frontend ----------------------------------------------------------------//
|
||||
data "aws_iam_policy_document" "frontend_ecs_task_role_policy" {
|
||||
statement {
|
||||
#checkov:skip=CKV_AWS_356:: resources is * for ListAllMyBuckets and GetBucketLocation
|
||||
sid = "FrontendTaskRoleInvokeAPI"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"execute-api:Invoke",
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/*/*/*",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/get_keyword_from_email",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/summarize_questions",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/search_engine",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/query_simple",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/ai_filter",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/dica_detect",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/hardware_detect",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/esm_detect",
|
||||
"arn:aws:execute-api:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${aws_api_gateway_rest_api.genai_rag_api.id}/${var.environment}/*/app/esm_content_analyse"
|
||||
]
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "AllowS3GetObjectESM"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"s3:GetObject",
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:s3:::${data.aws_ssm_parameter.s3_bucket_name_esm_pdf.value}/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------//
|
||||
//------------------------------------------------------------ Lambda -----------------------------------------------------------------------//
|
||||
data "aws_iam_policy_document" "lambda_execution_role_policy" {
|
||||
statement {
|
||||
sid = "LambdaEcrPullAccess"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"ecr:BatchCheckLayerAvailability",
|
||||
"ecr:BatchGetImage",
|
||||
"ecr:DescribeImages",
|
||||
"ecr:DescribeRepositories",
|
||||
"ecr:GetDownloadUrlForLayer",
|
||||
"ecr:GetRepositoryPolicy",
|
||||
"ecr:ListImages"
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:ecr:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:repository/*"
|
||||
]
|
||||
}
|
||||
|
||||
statement {
|
||||
effect = "Allow"
|
||||
actions = ["logs:CreateLogGroup"]
|
||||
resources = ["arn:aws:logs:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:*"]
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "CloudwatchLogAccess"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"logs:CreateLogStream",
|
||||
"logs:PutLogEvents"
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:logs:eu-west-3:${data.aws_caller_identity.current.account_id}:log-group:${data.aws_ssm_parameter.ecs_backend_log_group_name.value}:*"
|
||||
]
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "CloudwatchLogKeyAccess"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"kms:DescribeKey"
|
||||
]
|
||||
resources = [
|
||||
# "arn:*:kms:*:::*"
|
||||
data.aws_ssm_parameter.kms_cloudwatch_arn.value
|
||||
]
|
||||
}
|
||||
|
||||
# statement {
|
||||
# effect = "Allow"
|
||||
# actions = ["ec2:CreateNetworkInterface", "ec2:DeleteNetworkInterface", "ec2:DescribeNetworkInterfaces"]
|
||||
# resources = ["*"]
|
||||
# }
|
||||
|
||||
statement {
|
||||
sid = "S3Access"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"s3:*",
|
||||
"s3-object-lambda:*"
|
||||
]
|
||||
resources = [
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_cas.value}",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_cas.value}/*",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_esm.value}",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_esm.value}/*",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_ar.value}",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_ar.value}/*",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_classifier.value}",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_classifier.value}/*",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_esm_pdf.value}",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_esm_pdf.value}/*",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_esm_xml.value}",
|
||||
"${data.aws_ssm_parameter.s3_bucket_arn_esm_xml.value}/*",
|
||||
]
|
||||
}
|
||||
# statement {
|
||||
# sid = "BedrockAll"
|
||||
# effect = "Allow"
|
||||
# actions = ["bedrock:*"]
|
||||
# resources = ["*"]
|
||||
# }
|
||||
# statement {
|
||||
# sid = "DescribeKey"
|
||||
# effect = "Allow"
|
||||
# actions = ["kms:DescribeKey"]
|
||||
# resources = ["arn:*:kms:*:::*"]
|
||||
# }
|
||||
# statement {
|
||||
# sid = "APIsWithAllResourceAccess"
|
||||
# effect = "Allow"
|
||||
# actions = [
|
||||
# "iam:ListRoles",
|
||||
# "ec2:DescribeVpcs",
|
||||
# "ec2:DescribeSubnets",
|
||||
# "ec2:DescribeSecurityGroups"
|
||||
# ]
|
||||
# resources = ["*"]
|
||||
# }
|
||||
statement {
|
||||
sid = "MarketplaceModelEndpointMutatingAPIs"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"sagemaker:CreateEndpoint",
|
||||
"sagemaker:CreateEndpointConfig",
|
||||
"sagemaker:CreateModel",
|
||||
"sagemaker:DeleteEndpoint",
|
||||
"sagemaker:UpdateEndpoint"
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:sagemaker:*:*:endpoint/*",
|
||||
"arn:aws:sagemaker:*:*:endpoint-config/*",
|
||||
"arn:aws:sagemaker:*:*:model/*"
|
||||
]
|
||||
condition {
|
||||
test = "StringEquals"
|
||||
variable = "aws:CalledViaLast"
|
||||
values = ["bedrock.amazonaws.com"]
|
||||
}
|
||||
condition {
|
||||
test = "StringEquals"
|
||||
variable = "aws:ResourceTag/sagemaker-sdk:bedrock"
|
||||
values = ["compatible"]
|
||||
}
|
||||
}
|
||||
statement {
|
||||
sid = "MarketplaceModelEndpointAddTagsOperations"
|
||||
effect = "Allow"
|
||||
actions = ["sagemaker:AddTags"]
|
||||
resources = [
|
||||
"arn:aws:sagemaker:*:*:endpoint/*",
|
||||
"arn:aws:sagemaker:*:*:endpoint-config/*",
|
||||
"arn:aws:sagemaker:*:*:model/*"
|
||||
]
|
||||
condition {
|
||||
test = "ForAllValues:StringEquals"
|
||||
variable = "aws:TagKeys"
|
||||
values = [
|
||||
"sagemaker-sdk:bedrock",
|
||||
"bedrock:marketplace-registration-status",
|
||||
"sagemaker-studio:hub-content-arn"
|
||||
]
|
||||
}
|
||||
condition {
|
||||
test = "StringLike"
|
||||
variable = "aws:RequestTag/sagemaker-sdk:bedrock"
|
||||
values = ["compatible"]
|
||||
}
|
||||
condition {
|
||||
test = "StringLike"
|
||||
variable = "aws:RequestTag/bedrock:marketplace-registration-status"
|
||||
values = ["registered"]
|
||||
}
|
||||
condition {
|
||||
test = "StringLike"
|
||||
variable = "aws:RequestTag/sagemaker-studio:hub-content-arn"
|
||||
values = ["arn:aws:sagemaker:*:aws:hub-content/SageMakerPublicHub/Model/*"]
|
||||
}
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "MarketplaceModelEndpointDeleteTagsOperations"
|
||||
effect = "Allow"
|
||||
actions = ["sagemaker:DeleteTags"]
|
||||
resources = [
|
||||
"arn:aws:sagemaker:*:*:endpoint/*",
|
||||
"arn:aws:sagemaker:*:*:endpoint-config/*",
|
||||
"arn:aws:sagemaker:*:*:model/*"
|
||||
]
|
||||
condition {
|
||||
test = "ForAllValues:StringEquals"
|
||||
variable = "aws:TagKeys"
|
||||
values = [
|
||||
"sagemaker-sdk:bedrock",
|
||||
"bedrock:marketplace-registration-status",
|
||||
"sagemaker-studio:hub-content-arn"
|
||||
]
|
||||
}
|
||||
condition {
|
||||
test = "StringLike"
|
||||
variable = "aws:ResourceTag/sagemaker-sdk:bedrock"
|
||||
values = ["compatible"]
|
||||
}
|
||||
condition {
|
||||
test = "StringLike"
|
||||
variable = "aws:ResourceTag/bedrock:marketplace-registration-status"
|
||||
values = ["registered"]
|
||||
}
|
||||
condition {
|
||||
test = "StringLike"
|
||||
variable = "aws:ResourceTag/sagemaker-studio:hub-content-arn"
|
||||
values = ["arn:aws:sagemaker:*:aws:hub-content/SageMakerPublicHub/Model/*"]
|
||||
}
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "MarketplaceModelEndpointNonMutatingAPIs"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"sagemaker:DescribeEndpoint",
|
||||
"sagemaker:DescribeEndpointConfig",
|
||||
"sagemaker:DescribeModel",
|
||||
"sagemaker:ListTags"
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:sagemaker:*:*:endpoint/*",
|
||||
"arn:aws:sagemaker:*:*:endpoint-config/*",
|
||||
"arn:aws:sagemaker:*:*:model/*"
|
||||
]
|
||||
condition {
|
||||
test = "StringEquals"
|
||||
variable = "aws:CalledViaLast"
|
||||
values = ["bedrock.amazonaws.com"]
|
||||
}
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "MarketplaceModelEndpointInvokingOperations"
|
||||
effect = "Allow"
|
||||
actions = [
|
||||
"sagemaker:InvokeEndpoint",
|
||||
"sagemaker:InvokeEndpointWithResponseStream"
|
||||
]
|
||||
resources = ["arn:aws:sagemaker:*:*:endpoint/*"]
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "DiscoveringMarketplaceModel"
|
||||
effect = "Allow"
|
||||
actions = ["sagemaker:DescribeHubContent"]
|
||||
resources = [
|
||||
"arn:aws:sagemaker:*:aws:hub-content/SageMakerPublicHub/Model/*",
|
||||
"arn:aws:sagemaker:*:aws:hub/SageMakerPublicHub"
|
||||
]
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "AllowMarketplaceModelsListing"
|
||||
effect = "Allow"
|
||||
actions = ["sagemaker:ListHubContents"]
|
||||
resources = ["arn:aws:sagemaker:*:aws:hub/SageMakerPublicHub"]
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "PassRoleToSageMaker"
|
||||
effect = "Allow"
|
||||
actions = ["iam:PassRole"]
|
||||
resources = ["arn:aws:iam::*:role/*SageMaker*ForBedrock*"]
|
||||
condition {
|
||||
test = "StringEquals"
|
||||
variable = "iam:PassedToService"
|
||||
values = ["sagemaker.amazonaws.com", "bedrock.amazonaws.com"]
|
||||
}
|
||||
}
|
||||
|
||||
statement {
|
||||
sid = "PassRoleToBedrock"
|
||||
effect = "Allow"
|
||||
actions = ["iam:PassRole"]
|
||||
resources = ["arn:aws:iam::*:role/*AmazonBedrock*"]
|
||||
condition {
|
||||
test = "StringEquals"
|
||||
variable = "iam:PassedToService"
|
||||
values = ["bedrock.amazonaws.com"]
|
||||
}
|
||||
}
|
||||
}
|
||||
# data "aws_iam_roles" "devops_roles" {
|
||||
# name_regex = "^(AWSReservedSSO_SafranDev[oO]ps.*|role-devops-cicd-ecs)"
|
||||
# }
|
||||
# data "aws_iam_policy_document" "sagemaker_for_devops_roles_document" {
|
||||
# statement {
|
||||
# #checkov:skip=CKV_AWS_356:: resources *
|
||||
# sid = "SageMakerAccessPolicyForDevopsRoles"
|
||||
# effect = "Allow"
|
||||
# actions = [
|
||||
# "sagemaker:CreatePresignedDomainUrl"
|
||||
# ]
|
||||
# resources = [
|
||||
# "arn:aws:sagemaker:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:*"
|
||||
# ]
|
||||
# }
|
||||
# }
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------//
|
||||
//------------------------------------------------------------ SSM Parameters----------------------------------------------------------------//
|
||||
data "aws_ssm_parameter" "ecs_cluster_name" {
|
||||
name = local.ecs_cluster_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecs_cluster_id" {
|
||||
name = local.ecs_cluster_id_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecs_frontend_log_group_name" {
|
||||
name = local.ecs_frontend_log_group_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecs_ingestion_log_group_name" {
|
||||
name = local.ecs_ingestion_log_group_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecs_backend_log_group_name" {
|
||||
name = local.ecs_backend_log_group_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecr_repository_backend_url" {
|
||||
name = local.ecr_repository_url_backend_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "docker_image_tag_backend" {
|
||||
name = local.docker_image_tag_backend_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecr_repository_frontend_url" {
|
||||
name = local.ecr_repository_url_frontend_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "docker_image_tag_frontend" {
|
||||
name = local.docker_image_tag_frontend_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecs_task_execution_role_arn" {
|
||||
name = local.ecs_task_execution_role_arn_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_name_classifier" {
|
||||
name = local.s3_bucket_name_classifier_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_name_ar" {
|
||||
name = local.s3_bucket_name_ar_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_name_cas" {
|
||||
name = local.s3_bucket_name_cas_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_name_esm_pdf" {
|
||||
name = local.s3_bucket_name_esm_pdf_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_name_esm_xml" {
|
||||
name = local.s3_bucket_name_esm_xml_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_name_esm" {
|
||||
name = local.s3_bucket_name_esm_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_arn_classifier" {
|
||||
name = local.s3_bucket_arn_classifier_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_arn_ar" {
|
||||
name = local.s3_bucket_arn_ar_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_arn_cas" {
|
||||
name = local.s3_bucket_arn_cas_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_arn_esm_pdf" {
|
||||
name = local.s3_bucket_arn_esm_pdf_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_arn_esm_xml" {
|
||||
name = local.s3_bucket_arn_esm_xml_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "s3_bucket_arn_esm" {
|
||||
name = local.s3_bucket_arn_esm_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "dynamo_request_table_name" {
|
||||
name = local.dynamo_request_table_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "dynamo_users_table_name" {
|
||||
name = local.dynamo_users_table_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "target_group_arn" {
|
||||
name = local.target_group_arn_parameter
|
||||
}
|
||||
# data "aws_ssm_parameter" "ecs_task_role_backend_arn" {
|
||||
# name = local.ecs_task_role_backend_arn_parameter
|
||||
# }
|
||||
data "aws_ssm_parameter" "ecs_task_role_frontend_arn" {
|
||||
name = local.ecs_task_role_frontend_arn_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "ecs_task_role_frontend_name" {
|
||||
name = local.ecs_task_role_frontend_name_parameter
|
||||
}
|
||||
|
||||
data "aws_ssm_parameter" "lambda_role_arn" {
|
||||
name = local.lambda_role_arn_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "lambda_role_name" {
|
||||
name = local.lambda_role_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "kms_cloudwatch_arn" {
|
||||
name = local.kms_cloudwatch_arn_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "sqs_ingestion_queue_url" {
|
||||
name = local.sqs_backend_url_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "sqs_ingestion_queue_name" {
|
||||
name = local.sqs_backend_name_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "cognito_user_pool_id" {
|
||||
name = local.cognito_user_pool_id_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "cognito_client_id" {
|
||||
name = local.cognito_client_id_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "cognito_domain" {
|
||||
name = local.cognito_domain_parameter
|
||||
}
|
||||
data "aws_ssm_parameter" "cognito_identity_provider_name" {
|
||||
name = local.cognito_identity_provider_name_parameter
|
||||
}
|
261
docs/DocuNinja Backend.drawio
Normal file
261
docs/DocuNinja Backend.drawio
Normal file
|
@ -0,0 +1,261 @@
|
|||
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" version="26.0.5" pages="2">
|
||||
<diagram id="hCFtNVFXNBVDPQXLt69_" name="V1">
|
||||
<mxGraphModel dx="2066" dy="1117" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-1" value="Back" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#647687;strokeColor=#314354;glass=0;verticalAlign=top;fontColor=#ffffff;opacity=60;" vertex="1" parent="1">
|
||||
<mxGeometry x="170" y="310" width="800" height="320" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-2" value="LZ Hybride" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud_alt;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="80" y="210" width="980" height="500" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-3" value="GenAI Account" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_account;strokeColor=#CD2264;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#CD2264;dashed=0;rounded=0;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-2">
|
||||
<mxGeometry x="25" y="30" width="935" height="430" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-4" value="Bedrock <br>Chat LLM" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#01A88D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;rounded=0;opacity=50;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="747.08" y="188" width="70" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-7" value="" style="endArrow=classic;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" source="DWbOIFrqeQeSndu0Bt9Y-9" target="DWbOIFrqeQeSndu0Bt9Y-4">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="747" y="136.5" as="sourcePoint" />
|
||||
<mxPoint x="797" y="86.5" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="677.08" y="216.5" />
|
||||
<mxPoint x="677.08" y="216.5" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-8" value="ECS" style="fillColor=#1ba1e2;strokeColor=#006EAF;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#ffffff;whiteSpace=wrap;html=1;rounded=0;opacity=40;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="515" y="142.5" width="150" height="120" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-9" value="Back" style="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#ED7100;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.container_1;rounded=0;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="564.5" y="207.5" width="48" height="31" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-10" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" source="DWbOIFrqeQeSndu0Bt9Y-12" target="DWbOIFrqeQeSndu0Bt9Y-16">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="143.92" y="176.8290529695023" as="sourcePoint" />
|
||||
<mxPoint x="442.91999999999996" y="191" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-11" value="" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.ecs;rounded=0;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="515" y="142.5" width="40" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-12" value="" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;rounded=0;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="80" y="180" width="78" height="78" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-13" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" target="DWbOIFrqeQeSndu0Bt9Y-12">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="-65" y="216.5" as="sourcePoint" />
|
||||
<mxPoint x="-326.08000000000004" y="415" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-14" value="Bedrock <br>Embeddings LLM" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#01A88D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;rounded=0;opacity=50;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="747.08" y="316.5" width="70" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-15" value="" style="endArrow=classic;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" source="DWbOIFrqeQeSndu0Bt9Y-9" target="DWbOIFrqeQeSndu0Bt9Y-14">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="657.08" y="296.5" as="sourcePoint" />
|
||||
<mxPoint x="707.08" y="246.5" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="717.08" y="226.5" />
|
||||
<mxPoint x="717.08" y="351.5" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-16" value="Lambda <br>back" style="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#ED7100;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.lambda_function;rounded=0;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="294" y="199" width="48" height="48" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-17" value="SQS" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sqs;rounded=0;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="425" y="199" width="46" height="46" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-18" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" source="DWbOIFrqeQeSndu0Bt9Y-16" target="DWbOIFrqeQeSndu0Bt9Y-17">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="375" y="286.5" as="sourcePoint" />
|
||||
<mxPoint x="425" y="236.5" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-19" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" source="DWbOIFrqeQeSndu0Bt9Y-9" target="DWbOIFrqeQeSndu0Bt9Y-17">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="475" y="306.5" as="sourcePoint" />
|
||||
<mxPoint x="525" y="256.5" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-20" value="Histrory DB" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.dynamodb;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="294" y="316.5" width="49" height="49" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-21" value="" style="endArrow=classic;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" source="DWbOIFrqeQeSndu0Bt9Y-16" target="DWbOIFrqeQeSndu0Bt9Y-20">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="316" y="333" as="sourcePoint" />
|
||||
<mxPoint x="366" y="283" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="316" y="243" />
|
||||
<mxPoint x="316" y="318" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-22" value="Cognito" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#DD344C;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cognito;" vertex="1" parent="DWbOIFrqeQeSndu0Bt9Y-3">
|
||||
<mxGeometry x="90.00999999999999" y="80" width="57.99" height="57.99" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-23" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="DWbOIFrqeQeSndu0Bt9Y-3" source="DWbOIFrqeQeSndu0Bt9Y-12" target="DWbOIFrqeQeSndu0Bt9Y-22">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="160" y="316.5" as="sourcePoint" />
|
||||
<mxPoint x="305" y="318.47010869565213" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-24" value="" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BF0816;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.role;" vertex="1" parent="1">
|
||||
<mxGeometry x="396.4100000000001" y="350" width="53.18" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-25" value="" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BF0816;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.role;" vertex="1" parent="1">
|
||||
<mxGeometry x="717" y="320" width="53.18" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-26" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;strokeWidth=1;" edge="1" parent="1" source="DWbOIFrqeQeSndu0Bt9Y-9" target="DWbOIFrqeQeSndu0Bt9Y-25">
|
||||
<mxGeometry width="100" relative="1" as="geometry">
|
||||
<mxPoint x="390" y="420" as="sourcePoint" />
|
||||
<mxPoint x="490" y="420" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="DWbOIFrqeQeSndu0Bt9Y-27" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;strokeWidth=1;" edge="1" parent="1" source="DWbOIFrqeQeSndu0Bt9Y-16" target="DWbOIFrqeQeSndu0Bt9Y-24">
|
||||
<mxGeometry width="100" relative="1" as="geometry">
|
||||
<mxPoint x="703.5" y="457.5903756936232" as="sourcePoint" />
|
||||
<mxPoint x="753.5999999999999" y="360" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram name="V0" id="b9t15NGlsLHCT5AIxOtp">
|
||||
<mxGraphModel dx="1426" dy="757" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--1" value="Back" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#647687;strokeColor=#314354;glass=0;verticalAlign=top;fontColor=#ffffff;opacity=60;" vertex="1" parent="1">
|
||||
<mxGeometry x="170" y="310" width="800" height="320" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--2" value="LZ Hybride" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud_alt;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="80" y="210" width="980" height="500" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--3" value="GenAI Account" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_account;strokeColor=#CD2264;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#CD2264;dashed=0;rounded=0;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--2">
|
||||
<mxGeometry x="25" y="30" width="935" height="430" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--4" value="Bedrock <br>Chat LLM" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#01A88D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;rounded=0;opacity=50;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="747.08" y="188" width="70" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--5" value="OpenSeach" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudsearch2;rounded=0;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="567.5" y="316.5" width="45" height="45" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--6" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--9" target="BUA6yDhQXywNFHVDKvg--5">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="647" y="6.5" as="sourcePoint" />
|
||||
<mxPoint x="704" y="203.06862745098033" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--7" value="" style="endArrow=classic;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--9" target="BUA6yDhQXywNFHVDKvg--4">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="747" y="136.5" as="sourcePoint" />
|
||||
<mxPoint x="797" y="86.5" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="677.08" y="216.5" />
|
||||
<mxPoint x="677.08" y="216.5" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--8" value="ECS" style="fillColor=#1ba1e2;strokeColor=#006EAF;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#ffffff;whiteSpace=wrap;html=1;rounded=0;opacity=40;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="515" y="142.5" width="150" height="120" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--9" value="Back" style="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#ED7100;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.container_1;rounded=0;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="564.5" y="207.5" width="48" height="31" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--10" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--12" target="BUA6yDhQXywNFHVDKvg--16">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="143.92" y="176.8290529695023" as="sourcePoint" />
|
||||
<mxPoint x="442.91999999999996" y="191" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--11" value="" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.ecs;rounded=0;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="515" y="142.5" width="40" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--12" value="" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;rounded=0;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="80" y="180" width="78" height="78" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--13" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" target="BUA6yDhQXywNFHVDKvg--12">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="-65" y="216.5" as="sourcePoint" />
|
||||
<mxPoint x="-326.08000000000004" y="415" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--14" value="Bedrock <br>Embeddings LLM" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#01A88D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;rounded=0;opacity=50;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="747.08" y="316.5" width="70" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--15" value="" style="endArrow=classic;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--9" target="BUA6yDhQXywNFHVDKvg--14">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="657.08" y="296.5" as="sourcePoint" />
|
||||
<mxPoint x="707.08" y="246.5" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="717.08" y="226.5" />
|
||||
<mxPoint x="717.08" y="351.5" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--16" value="Lambda <br>back" style="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#ED7100;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.lambda_function;rounded=0;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="294" y="199" width="48" height="48" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--17" value="SQS" style="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sqs;rounded=0;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="425" y="199" width="46" height="46" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--18" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--16" target="BUA6yDhQXywNFHVDKvg--17">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="375" y="286.5" as="sourcePoint" />
|
||||
<mxPoint x="425" y="236.5" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--19" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--9" target="BUA6yDhQXywNFHVDKvg--17">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="475" y="306.5" as="sourcePoint" />
|
||||
<mxPoint x="525" y="256.5" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--20" value="Histrory DB" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.dynamodb;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="294" y="316.5" width="49" height="49" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--21" value="" style="endArrow=classic;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--16" target="BUA6yDhQXywNFHVDKvg--20">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="316" y="333" as="sourcePoint" />
|
||||
<mxPoint x="366" y="283" as="targetPoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="316" y="243" />
|
||||
<mxPoint x="316" y="318" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--22" value="Cognito" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#DD344C;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cognito;" vertex="1" parent="BUA6yDhQXywNFHVDKvg--3">
|
||||
<mxGeometry x="90.00999999999999" y="80" width="57.99" height="57.99" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--23" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="BUA6yDhQXywNFHVDKvg--3" source="BUA6yDhQXywNFHVDKvg--12" target="BUA6yDhQXywNFHVDKvg--22">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="160" y="316.5" as="sourcePoint" />
|
||||
<mxPoint x="305" y="318.47010869565213" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--24" value="" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BF0816;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.role;" vertex="1" parent="1">
|
||||
<mxGeometry x="396.4100000000001" y="350" width="53.18" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--25" value="" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BF0816;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.role;" vertex="1" parent="1">
|
||||
<mxGeometry x="717" y="320" width="53.18" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--26" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;strokeWidth=1;" edge="1" parent="1" source="BUA6yDhQXywNFHVDKvg--9" target="BUA6yDhQXywNFHVDKvg--25">
|
||||
<mxGeometry width="100" relative="1" as="geometry">
|
||||
<mxPoint x="390" y="420" as="sourcePoint" />
|
||||
<mxPoint x="490" y="420" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BUA6yDhQXywNFHVDKvg--27" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;strokeWidth=1;" edge="1" parent="1" source="BUA6yDhQXywNFHVDKvg--16" target="BUA6yDhQXywNFHVDKvg--24">
|
||||
<mxGeometry width="100" relative="1" as="geometry">
|
||||
<mxPoint x="703.5" y="457.5903756936232" as="sourcePoint" />
|
||||
<mxPoint x="753.5999999999999" y="360" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
25
ecs_autoscaling.tf
Normal file
25
ecs_autoscaling.tf
Normal file
|
@ -0,0 +1,25 @@
|
|||
# resource "aws_appautoscaling_target" "backend_autoscaling_target" {
|
||||
# service_namespace = "ecs"
|
||||
# resource_id = "service/${data.aws_ssm_parameter.ecs_cluster_id.value}/${aws_ecs_service.backend.name}"
|
||||
# scalable_dimension = "ecs:service:DesiredCount"
|
||||
# min_capacity = 1
|
||||
# max_capacity = 3
|
||||
# }
|
||||
|
||||
# resource "aws_appautoscaling_policy" "ecs_cpu_policy" {
|
||||
# name = "ecs-cpu-scaling-policy"
|
||||
# policy_type = "TargetTrackingScaling"
|
||||
# resource_id = aws_appautoscaling_target.backend_autoscaling_target.resource_id
|
||||
# scalable_dimension = aws_appautoscaling_target.backend_autoscaling_target.scalable_dimension
|
||||
# service_namespace = aws_appautoscaling_target.backend_autoscaling_target.service_namespace
|
||||
|
||||
# target_tracking_scaling_policy_configuration {
|
||||
# target_value = 90.0 # Scale when CPU exceeds 90%
|
||||
# predefined_metric_specification {
|
||||
# predefined_metric_type = "ECSServiceAverageCPUUtilization"
|
||||
# }
|
||||
|
||||
# scale_in_cooldown = 300 # Wait 5 mins before scaling down
|
||||
# scale_out_cooldown = 60 # Wait 1 min before scaling up
|
||||
# }
|
||||
# }
|
34
ecs_service_frontend.tf
Normal file
34
ecs_service_frontend.tf
Normal file
|
@ -0,0 +1,34 @@
|
|||
###############################################################################
|
||||
# ECS service front
|
||||
################################################################################
|
||||
resource "aws_ecs_service" "frontend" {
|
||||
name = "${local.name_prefix}-frontend"
|
||||
cluster = data.aws_ssm_parameter.ecs_cluster_id.value
|
||||
task_definition = aws_ecs_task_definition.frontend.arn
|
||||
desired_count = var.num_workers
|
||||
platform_version = "LATEST" # "1.4.0"
|
||||
network_configuration {
|
||||
subnets = data.aws_subnets.frontend_subnets.ids
|
||||
# subnets = data.aws_subnets.backend_subnets.ids
|
||||
security_groups = data.aws_security_groups.allin.ids
|
||||
}
|
||||
capacity_provider_strategy {
|
||||
base = 1
|
||||
capacity_provider = "FARGATE"
|
||||
weight = 100
|
||||
}
|
||||
deployment_circuit_breaker {
|
||||
enable = true
|
||||
rollback = true
|
||||
}
|
||||
deployment_controller {
|
||||
type = "ECS"
|
||||
}
|
||||
|
||||
load_balancer {
|
||||
target_group_arn = data.aws_ssm_parameter.target_group_arn.value
|
||||
container_name = "${local.name_prefix}-frontend"
|
||||
container_port = 8080
|
||||
}
|
||||
tags = merge(local.required_tags, var.tags)
|
||||
}
|
91
ecs_task_definition_frontend.tf
Normal file
91
ecs_task_definition_frontend.tf
Normal file
|
@ -0,0 +1,91 @@
|
|||
################################################################################
|
||||
# ECS task definition
|
||||
################################################################################
|
||||
resource "aws_ecs_task_definition" "frontend" {
|
||||
family = "${local.name_prefix}-frontend"
|
||||
cpu = var.task_defintion_cpu
|
||||
memory = var.task_definition_memory
|
||||
task_role_arn = data.aws_ssm_parameter.ecs_task_role_frontend_arn.value
|
||||
execution_role_arn = data.aws_ssm_parameter.ecs_task_execution_role_arn.value
|
||||
requires_compatibilities = ["FARGATE"]
|
||||
network_mode = "awsvpc"
|
||||
runtime_platform {
|
||||
operating_system_family = "LINUX"
|
||||
cpu_architecture = "X86_64"
|
||||
}
|
||||
container_definitions = <<EOF
|
||||
[
|
||||
{
|
||||
"name": "${local.name_prefix}-frontend",
|
||||
"image": "${local.docker_image_uri_frontend}",
|
||||
"cpu": ${var.task_defintion_cpu},
|
||||
"memory": ${var.task_definition_memory},
|
||||
"essential": true,
|
||||
"linuxParameters" : {
|
||||
"readonlyRootFilesystem" : true
|
||||
},
|
||||
"environment" : [
|
||||
{
|
||||
"name": "HTTPS_PROXY",
|
||||
"value": "${var.https_proxy}"
|
||||
},
|
||||
{
|
||||
"name": "NO_PROXY",
|
||||
"value": "${var.no_proxy}"
|
||||
},
|
||||
{
|
||||
"name": "API_GATEWAY_ID",
|
||||
"value": "${aws_api_gateway_rest_api.genai_rag_api.id}"
|
||||
},
|
||||
{
|
||||
"name": "API_GATEWAY_VPCENDPOINT_ID",
|
||||
"value": "${data.aws_vpc_endpoint.apigateway.id}"
|
||||
},
|
||||
{
|
||||
"name": "ENVIRONMENT",
|
||||
"value": "${var.environment}"
|
||||
},
|
||||
{
|
||||
"name": "LOG_LEVEL",
|
||||
"value": "${var.log_level}"
|
||||
},
|
||||
{
|
||||
"name": "USER_POOL_ID",
|
||||
"value": "${data.aws_ssm_parameter.cognito_user_pool_id.value}"
|
||||
},
|
||||
{
|
||||
"name": "CLIENT_ID",
|
||||
"value": "${data.aws_ssm_parameter.cognito_client_id.value}"
|
||||
},
|
||||
{
|
||||
"name": "COGNITO_DOMAIN",
|
||||
"value": "${data.aws_ssm_parameter.cognito_domain.value}"
|
||||
},
|
||||
{
|
||||
"name": "IDENTITY_PROVIDER",
|
||||
"value": "${data.aws_ssm_parameter.cognito_identity_provider_name.value}"
|
||||
}
|
||||
],
|
||||
"portMappings": [
|
||||
{
|
||||
"name": "tcp-8080",
|
||||
"containerPort": 8080,
|
||||
"hostPort": 8080,
|
||||
"protocol": "tcp",
|
||||
"appProtocol": "http"
|
||||
}
|
||||
],
|
||||
"logConfiguration" : {
|
||||
"logDriver" : "awslogs",
|
||||
"options" : {
|
||||
"awslogs-group" : "${data.aws_ssm_parameter.ecs_frontend_log_group_name.value}",
|
||||
"awslogs-region" : "${data.aws_region.current.region}",
|
||||
"awslogs-stream-prefix" : "frontend"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
EOF
|
||||
|
||||
tags = merge(local.required_tags, var.tags)
|
||||
}
|
21
envs/dev.tfvars
Normal file
21
envs/dev.tfvars
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -----------------------------------
|
||||
# TAG MANDATORY BLOCKS
|
||||
# -----------------------------------
|
||||
security = "z1" # TO BE MODIFIED BY YOUR SECURITY ZONE ex z1, z2
|
||||
environment = "dev" # TO BE MODIFIED BY YOUR ENVRIRONMENT
|
||||
|
||||
task_defintion_cpu = 2048
|
||||
task_definition_memory = 5120
|
||||
num_workers = "2" # TO BE MODIFIED WITH THE FRONTEND WORKERS NUMBER, MAX 10
|
||||
lambda_memory = 512
|
||||
|
||||
http_proxy = "http://eu2.proxy.cloud.ad:3128"
|
||||
https_proxy = "http://eu2.proxy.cloud.ad:3128" # TO BE MODIFIED BY YOUR PROXY ex http://eu1.proxy.cloud.ad:3128>
|
||||
no_proxy = "127.0.0.1,localhost,cloud.safran,cloud.ad,collab.group.safran" # "cloud.safran,cloud.ad" TO BE MODIFIED BY YOUR NO_PROXY ex cloud.safran,cloud.ad> 127.0.0.1,localhost,cloud.ad,cloud.safran,169.254.169.254,bedrock.eu-west-3.amazonaws.com,bedrock-runtime.eu-west-3.amazonaws.com,s3.eu-west-3.amazonaws.com,s3.amazonaws.com,eu-west-3.es.amazonaws.com,sqs.eu-west-3.amazonaws.com,dynamodb.eu-west-3.amazonaws.com"
|
||||
region = "eu-west-3" # TO BE MODIFIED BY YOUR AWS REGION
|
||||
bedrock_region = "eu-west-3"
|
||||
llm_model_id = "eu.anthropic.claude-3-5-sonnet-20240620-v1:0" # TO BE MODIFIED BY Bedrock LLM model Id ex anthropic.claude-3-sonnet-20240229-v1:0"
|
||||
embeddings_model_id = "cohere.embed-multilingual-v3" # "eu.anthropic.claude-3-5-sonnet-20240620-v1:0" # TO BE MODIFIED BY Bedrock embedding model ID ex : cohere.embed-english-v3"
|
||||
xray_tracing_enabled = true
|
||||
|
||||
redirect_uri = "https://casematcher-dev.aircraft-engines.safran/home"
|
25
envs/ppd.tfvars
Normal file
25
envs/ppd.tfvars
Normal file
|
@ -0,0 +1,25 @@
|
|||
# -----------------------------------
|
||||
# TAG MANDATORY BLOCKS
|
||||
# -----------------------------------
|
||||
security = "z2" # TO BE MODIFIED BY YOUR SECURITY ZONE ex z1, z2
|
||||
environment = "ppd" # TO BE MODIFIED BY YOUR ENVRIRONMENT
|
||||
|
||||
task_defintion_cpu = 2048
|
||||
task_definition_memory = 5120
|
||||
num_workers = "2" # TO BE MODIFIED WITH THE FRONTEND WORKERS NUMBER, MAX 10
|
||||
lambda_memory = 512
|
||||
|
||||
http_proxy = "http://eu2.proxy.cloud.ad:3128"
|
||||
https_proxy = "http://eu2.proxy.cloud.ad:3128" # TO BE MODIFIED BY YOUR PROXY ex http://eu1.proxy.cloud.ad:3128>
|
||||
no_proxy = "127.0.0.1,localhost,cloud.safran,cloud.ad,.amazonaws.com"
|
||||
region = "eu-west-3" # TO BE MODIFIED BY YOUR AWS REGION
|
||||
bedrock_region = "eu-west-3"
|
||||
llm_model_id = "eu.anthropic.claude-3-5-sonnet-20240620-v1:0" # TO BE MODIFIED BY Bedrock LLM model Id ex anthropic.claude-3-sonnet-20240229-v1:0"
|
||||
embeddings_model_id = "cohere.embed-multilingual-v3" # "eu.anthropic.claude-3-5-sonnet-20240620-v1:0" # TO BE MODIFIED BY Bedrock embedding model ID ex : cohere.embed-english-v3"
|
||||
xray_tracing_enabled = true
|
||||
|
||||
sagemaker_instance_type = "ml.t2.medium"
|
||||
sagemaker_model_image = "763104351884.dkr.ecr.eu-west-3.amazonaws.com/huggingface-pytorch-inference:2.1-transformers4.37-cpu-py310-ubuntu22.04"
|
||||
sagemaker_model_data_file_name = "engine_module.tar.gz"
|
||||
|
||||
redirect_uri = "https://casematcher-ppd.aircraft-engines.safran/home"
|
25
envs/prd.tfvars
Normal file
25
envs/prd.tfvars
Normal file
|
@ -0,0 +1,25 @@
|
|||
# -----------------------------------
|
||||
# TAG MANDATORY BLOCKS
|
||||
# -----------------------------------
|
||||
security = "z2" # TO BE MODIFIED BY YOUR SECURITY ZONE ex z1, z2
|
||||
environment = "prd" # TO BE MODIFIED BY YOUR ENVRIRONMENT
|
||||
|
||||
task_defintion_cpu = 2048
|
||||
task_definition_memory = 5120
|
||||
num_workers = "2" # TO BE MODIFIED WITH THE FRONTEND WORKERS NUMBER, MAX 10
|
||||
lambda_memory = 512
|
||||
|
||||
http_proxy = "http://eu2.proxy.cloud.ad:3128"
|
||||
https_proxy = "http://eu2.proxy.cloud.ad:3128" # TO BE MODIFIED BY YOUR PROXY ex http://eu1.proxy.cloud.ad:3128>
|
||||
no_proxy = "127.0.0.1,localhost,cloud.safran,cloud.ad,.amazonaws.com" # "cloud.safran,cloud.ad" TO BE MODIFIED BY YOUR NO_PROXY ex cloud.safran,cloud.ad> 127.0.0.1,localhost,cloud.ad,cloud.safran,169.254.169.254,bedrock.eu-west-3.amazonaws.com,bedrock-runtime.eu-west-3.amazonaws.com,s3.eu-west-3.amazonaws.com,s3.amazonaws.com,eu-west-3.es.amazonaws.com,sqs.eu-west-3.amazonaws.com,dynamodb.eu-west-3.amazonaws.com"
|
||||
region = "eu-west-3" # TO BE MODIFIED BY YOUR AWS REGION
|
||||
bedrock_region = "eu-west-3"
|
||||
llm_model_id = "eu.anthropic.claude-3-5-sonnet-20240620-v1:0" # TO BE MODIFIED BY Bedrock LLM model Id ex anthropic.claude-3-sonnet-20240229-v1:0"
|
||||
embeddings_model_id = "cohere.embed-multilingual-v3" # "eu.anthropic.claude-3-5-sonnet-20240620-v1:0" # TO BE MODIFIED BY Bedrock embedding model ID ex : cohere.embed-english-v3"
|
||||
xray_tracing_enabled = true
|
||||
|
||||
sagemaker_instance_type = "ml.t2.medium"
|
||||
sagemaker_model_image = "763104351884.dkr.ecr.eu-west-3.amazonaws.com/huggingface-pytorch-inference:2.1-transformers4.37-cpu-py310-ubuntu22.04"
|
||||
sagemaker_model_data_file_name = "engine_module.tar.gz"
|
||||
|
||||
redirect_uri = "https://csc-solution-matcher.aircraft-engines.safran/home"
|
6
envs/shared.tfvars
Normal file
6
envs/shared.tfvars
Normal file
|
@ -0,0 +1,6 @@
|
|||
# -----------------------------------
|
||||
# TAG MANDATORY BLOCKS
|
||||
# -----------------------------------
|
||||
company = "sae"
|
||||
service_id = "saepfawsdevops"
|
||||
appname = "demo"
|
37
gitlab-ci/all.yml
Normal file
37
gitlab-ci/all.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
# --------------------------------------------------------------------------------
|
||||
# Include for all environments
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
.setenv:
|
||||
tags:
|
||||
- aws-app-common-fast
|
||||
script: |
|
||||
echo "--- Check AWS IAM assumed role ----"
|
||||
aws sts get-caller-identity
|
||||
echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" > .awsenv.sh
|
||||
echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" >> .awsenv.sh
|
||||
echo "export AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN" >> .awsenv.sh
|
||||
echo "export VAULT_TOKEN=$VAULT_TOKEN" >> .awsenv.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- .awsenv.sh
|
||||
expire_in: 5 mins
|
||||
# ---------------------------------
|
||||
# Build Docker reverse proxy image
|
||||
# ---------------------------------
|
||||
.build_image:
|
||||
tags:
|
||||
- aws-image-builder-fast
|
||||
stage: build
|
||||
script: |
|
||||
source ./.awsenv.sh
|
||||
echo "################### Running image builder pipeline."
|
||||
/kaniko/executor version
|
||||
for image in $(ls ${SRC_FOLDER})
|
||||
do
|
||||
echo "################### Building image ${image}..."
|
||||
KANIKOPROXYBUILDARGS="--force --build-arg http_proxy=${HTTP_PROXY} --build-arg https_proxy=${HTTPS_PROXY} --build-arg no_proxy=${NO_PROXY} --build-arg ENV=${CI_ENVIRONMENT_NAME} --cache=true --single-snapshot --compressed-caching=true"
|
||||
# build image
|
||||
/kaniko/executor $KANIKOPROXYBUILDARGS --context ./src/${image} --dockerfile ./src/${image}/Dockerfile --destination ${ECR_REGISTRY}/${APPNAME}-${image}:${IMAGE_TAG}
|
||||
done
|
||||
timeout: 3h
|
112
gitlab-ci/dev.yml
Normal file
112
gitlab-ci/dev.yml
Normal file
|
@ -0,0 +1,112 @@
|
|||
# -----------------------------------
|
||||
# DEV TAG MANDATORY BLOCKS
|
||||
# -----------------------------------
|
||||
|
||||
variables:
|
||||
ECR_REGISTRY_DEV: 147795259188.dkr.ecr.eu-west-3.amazonaws.com
|
||||
ENABLE_DESTROY_DEV: "false" # "true" #
|
||||
|
||||
# dev:custom_commands:
|
||||
# extends: .init
|
||||
# environment:
|
||||
# name: dev
|
||||
# deployment_tier: staging
|
||||
# stage: test
|
||||
# script:
|
||||
# # - terraform force-unlock -force bfac4f1d-1f74-2ce7-c9b2-6ac7775dc5d0
|
||||
# # - aws s3 rm s3://objstr-sae---z2-dev--248189935936-chatbotdata/metadata/ --recursive
|
||||
# rules:
|
||||
# - if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
|
||||
dev:credentials:
|
||||
stage: build
|
||||
extends:
|
||||
- .aws-credentials
|
||||
- .setenv
|
||||
environment:
|
||||
name: dev
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
|
||||
dev:build_docker_images:
|
||||
stage: build
|
||||
extends:
|
||||
- .build_image
|
||||
environment:
|
||||
name: dev
|
||||
deployment_tier: staging
|
||||
variables:
|
||||
IMAGE_TAG: ${CI_COMMIT_SHORT_SHA}
|
||||
SRC_FOLDER: "src"
|
||||
ECR_REGISTRY: ${ECR_REGISTRY_DEV}
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
needs:
|
||||
- job: dev:credentials
|
||||
artifacts: true
|
||||
|
||||
dev:update_ssm_parameters:
|
||||
stage: build
|
||||
extends:
|
||||
- .aws-credentials
|
||||
environment:
|
||||
name: dev
|
||||
deployment_tier: staging
|
||||
image: 675609327636.dkr.ecr.eu-west-1.amazonaws.com/core/base-images/ubi8/${TERRAFORM_IMAGE}
|
||||
tags:
|
||||
- aws-core-tools-fast
|
||||
script: |
|
||||
for image in $(ls src)
|
||||
do
|
||||
aws ssm put-parameter --name "/${APPNAME}/dev/${image}ImageTag" --type "String" --value ${CI_COMMIT_SHORT_SHA} --overwrite
|
||||
done
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
needs: [dev:build_docker_images]
|
||||
|
||||
dev:plan:
|
||||
stage: plan
|
||||
extends:
|
||||
- .init
|
||||
- .plan
|
||||
environment:
|
||||
name: dev
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "dev"
|
||||
|
||||
dev:apply:
|
||||
stage: apply
|
||||
extends:
|
||||
- .init
|
||||
- .apply
|
||||
environment:
|
||||
name: dev
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "dev"
|
||||
when: manual
|
||||
needs: ["dev:plan"]
|
||||
|
||||
dev:destroy:
|
||||
stage: destroy
|
||||
extends:
|
||||
- .init
|
||||
- .destroy
|
||||
environment:
|
||||
name: dev
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "dev" && $ENABLE_DESTROY_DEV == "true"'
|
||||
when: manual
|
||||
dependencies: []
|
119
gitlab-ci/ppd.yml
Normal file
119
gitlab-ci/ppd.yml
Normal file
|
@ -0,0 +1,119 @@
|
|||
# --------------------------------------------------------------------------------
|
||||
# Purpose : PPD pipelines
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
variables:
|
||||
ECR_REGISTRY_PPD: XXXXXXXXXXXXXXXXXXXX.dkr.ecr.eu-west-3.amazonaws.com
|
||||
ENABLE_DESTROY_PPD: "false" # "true" #
|
||||
|
||||
# ppd:custom_commands:
|
||||
# extends:
|
||||
# - .aws-credentials
|
||||
# image: 675609327636.dkr.ecr.eu-west-1.amazonaws.com/core/base-images/ubi8/${TERRAFORM_IMAGE}
|
||||
# tags:
|
||||
# - aws-core-tools-fast
|
||||
# environment:
|
||||
# name: ppd
|
||||
# deployment_tier: staging
|
||||
# stage: build
|
||||
# script:
|
||||
# # - aws kms cancel-key-deletion --key-id 3841fc17-a82c-4a6c-a585-f7eaebaacc96
|
||||
# # - aws kms schedule-key-deletion --key-id 3841fc17-a82c-4a6c-a585-f7eaebaacc96 --pending-window-in-days 7
|
||||
# # - aws lambda delete-function --function-name matcher-sae-eu2-z2-ppd-docker
|
||||
# - aws sagemaker delete-endpoint --endpoint-name matcher-huggingface-endpoint
|
||||
# - aws sagemaker delete-model --model-name matcher-huggingface-model
|
||||
# rules:
|
||||
# - if: '$CI_COMMIT_BRANCH == "ppd"'
|
||||
|
||||
ppd:credentials:
|
||||
stage: build
|
||||
extends:
|
||||
- .aws-credentials
|
||||
- .setenv
|
||||
environment:
|
||||
name: ppd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "ppd"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
|
||||
ppd:build_docker_images:
|
||||
stage: build
|
||||
extends:
|
||||
- .build_image
|
||||
environment:
|
||||
name: ppd
|
||||
deployment_tier: staging
|
||||
variables:
|
||||
IMAGE_TAG: ${CI_COMMIT_SHORT_SHA}
|
||||
SRC_FOLDER: "src"
|
||||
ECR_REGISTRY: ${ECR_REGISTRY_PPD}
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "ppd"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
needs:
|
||||
- job: ppd:credentials
|
||||
artifacts: true
|
||||
|
||||
ppd:update_ssm_parameters:
|
||||
stage: build
|
||||
extends:
|
||||
- .aws-credentials
|
||||
environment:
|
||||
name: ppd
|
||||
deployment_tier: staging
|
||||
image: 675609327636.dkr.ecr.eu-west-1.amazonaws.com/core/base-images/ubi8/${TERRAFORM_IMAGE}
|
||||
tags:
|
||||
- aws-core-tools-fast
|
||||
script: |
|
||||
for image in $(ls src)
|
||||
do
|
||||
aws ssm put-parameter --name "/${APPNAME}/ppd/${image}ImageTag" --type "String" --value ${CI_COMMIT_SHORT_SHA} --overwrite
|
||||
done
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "ppd"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
needs: [ppd:build_docker_images]
|
||||
|
||||
ppd:plan:
|
||||
stage: plan
|
||||
extends:
|
||||
- .init
|
||||
- .plan
|
||||
environment:
|
||||
name: ppd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "ppd"'
|
||||
|
||||
ppd:apply:
|
||||
stage: apply
|
||||
extends:
|
||||
- .init
|
||||
- .apply
|
||||
environment:
|
||||
name: ppd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "ppd"'
|
||||
when: manual
|
||||
needs: ["ppd:plan"]
|
||||
|
||||
ppd:destroy:
|
||||
stage: destroy
|
||||
extends:
|
||||
- .init
|
||||
- .destroy
|
||||
environment:
|
||||
name: ppd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "ppd" && $ENABLE_DESTROY_PPD == "true"'
|
||||
when: manual
|
||||
dependencies: []
|
121
gitlab-ci/prd.yml
Normal file
121
gitlab-ci/prd.yml
Normal file
|
@ -0,0 +1,121 @@
|
|||
# --------------------------------------------------------------------------------
|
||||
# Purpose : PRD pipelines
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
variables:
|
||||
ECR_REGISTRY_PRD: XXXXXXXXXXXXXXXXXXX.dkr.ecr.eu-west-3.amazonaws.com
|
||||
ENABLE_DESTROY_PRD: "false" # "true" #
|
||||
|
||||
# prd:custom_commands:
|
||||
# extends:
|
||||
# - .aws-credentials
|
||||
# image: 675609327636.dkr.ecr.eu-west-1.amazonaws.com/core/base-images/ubi8/${TERRAFORM_IMAGE}
|
||||
# tags:
|
||||
# - aws-core-tools-fast
|
||||
# environment:
|
||||
# name: prd
|
||||
# deployment_tier: staging
|
||||
# stage: build
|
||||
# script:
|
||||
# # - aws kms cancel-key-deletion --key-id 3841fc17-a82c-4a6c-a585-f7eaebaacc96
|
||||
# # - aws kms schedule-key-deletion --key-id 3841fc17-a82c-4a6c-a585-f7eaebaacc96 --pending-window-in-days 7
|
||||
# # - aws kms schedule-key-deletion --key-id 3841fc17-a82c-4a6c-a585-f7eaebaacc96 --pending-window-in-days 7
|
||||
# # - aws lambda delete-function --function-name matcher-sae-eu2-z2-prd-docker
|
||||
# - aws sagemaker delete-endpoint --endpoint-name matcher-huggingface-endpoint
|
||||
# - aws sagemaker delete-model --model-name matcher-huggingface-model
|
||||
# rules:
|
||||
# - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
|
||||
# - if: '$CI_COMMIT_BRANCH == "main"'
|
||||
|
||||
prd:credentials:
|
||||
stage: build
|
||||
extends:
|
||||
- .aws-credentials
|
||||
- .setenv
|
||||
environment:
|
||||
name: prd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
|
||||
prd:build_docker_images:
|
||||
stage: build
|
||||
extends:
|
||||
- .build_image
|
||||
environment:
|
||||
name: prd
|
||||
deployment_tier: staging
|
||||
variables:
|
||||
IMAGE_TAG: ${CI_COMMIT_SHORT_SHA}
|
||||
SRC_FOLDER: "src"
|
||||
ECR_REGISTRY: ${ECR_REGISTRY_PRD}
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
needs:
|
||||
- job: prd:credentials
|
||||
artifacts: true
|
||||
|
||||
prd:update_ssm_parameters:
|
||||
stage: build
|
||||
extends:
|
||||
- .aws-credentials
|
||||
environment:
|
||||
name: prd
|
||||
deployment_tier: staging
|
||||
image: 675609327636.dkr.ecr.eu-west-1.amazonaws.com/core/base-images/ubi8/${TERRAFORM_IMAGE}
|
||||
tags:
|
||||
- aws-core-tools-fast
|
||||
script: |
|
||||
for image in $(ls src)
|
||||
do
|
||||
aws ssm put-parameter --name "/${APPNAME}/prd/${image}ImageTag" --type "String" --value ${CI_COMMIT_SHORT_SHA} --overwrite
|
||||
done
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
|
||||
changes:
|
||||
- src/**
|
||||
- src/**/*
|
||||
needs: [prd:build_docker_images]
|
||||
|
||||
prd:plan:
|
||||
stage: plan
|
||||
extends:
|
||||
- .init
|
||||
- .plan
|
||||
environment:
|
||||
name: prd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
|
||||
|
||||
prd:apply:
|
||||
stage: apply
|
||||
extends:
|
||||
- .init
|
||||
- .apply
|
||||
environment:
|
||||
name: prd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
|
||||
when: manual
|
||||
needs: ["prd:plan"]
|
||||
|
||||
prd:destroy:
|
||||
stage: destroy
|
||||
extends:
|
||||
- .init
|
||||
- .destroy
|
||||
environment:
|
||||
name: prd
|
||||
deployment_tier: staging
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" && $ENABLE_DESTROY_PRD == "true"'
|
||||
when: manual
|
||||
dependencies: []
|
83
iam.tf
Normal file
83
iam.tf
Normal file
|
@ -0,0 +1,83 @@
|
|||
# Lambda Execution Role
|
||||
resource "aws_iam_role_policy_attachment" "lambda_execution_role_policy_attachement_1" {
|
||||
role = data.aws_ssm_parameter.lambda_role_name.value
|
||||
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole"
|
||||
}
|
||||
resource "aws_iam_policy" "lambda_execution_role_policy" {
|
||||
name = "${local.name_prefix}-lambda-execution-role-policy"
|
||||
description = "A custom policy for Lambda to access ECR backend repository"
|
||||
policy = data.aws_iam_policy_document.lambda_execution_role_policy.json
|
||||
tags = merge(local.required_tags, var.tags)
|
||||
}
|
||||
resource "aws_iam_role_policy_attachment" "lambda_role_policy_attachement_2" {
|
||||
role = data.aws_ssm_parameter.lambda_role_name.value
|
||||
policy_arn = aws_iam_policy.lambda_execution_role_policy.arn
|
||||
}
|
||||
|
||||
# Api Gateway Execution Role
|
||||
resource "aws_iam_role" "api_gateway_execution_role" {
|
||||
name = "${local.name_prefix}-api-gateway-execution-role"
|
||||
assume_role_policy = data.aws_iam_policy_document.api_gateway_execution_assume_role_policy.json
|
||||
tags = merge(local.required_tags)
|
||||
}
|
||||
resource "aws_iam_policy" "api_gateway_execution_role_policy" {
|
||||
name = "${local.name_prefix}-api_gateway_execution-role-policy"
|
||||
description = "A custom policy for Api Gateway executions"
|
||||
policy = data.aws_iam_policy_document.api_gateway_execution_role_policy.json
|
||||
tags = merge(local.required_tags, var.tags)
|
||||
}
|
||||
resource "aws_iam_role_policy_attachment" "api_gateway_execution_role_policy_attachement_1" {
|
||||
role = aws_iam_role.api_gateway_execution_role.name
|
||||
policy_arn = aws_iam_policy.api_gateway_execution_role_policy.arn
|
||||
}
|
||||
|
||||
# Api Gateway Cloudwatch Role
|
||||
resource "aws_iam_role" "api_gateway_cloudwatch_role" {
|
||||
name = "${local.name_prefix}-api-gateway-cloudwatch-role"
|
||||
assume_role_policy = <<EOF
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Sid": "",
|
||||
"Effect": "Allow",
|
||||
"Principal": {
|
||||
"Service": "apigateway.amazonaws.com"
|
||||
},
|
||||
"Action": "sts:AssumeRole"
|
||||
}
|
||||
]
|
||||
}
|
||||
EOF
|
||||
tags = merge(local.required_tags)
|
||||
}
|
||||
resource "aws_iam_role_policy" "api_gateway_cloudwatch_role_policy" {
|
||||
name = "${local.name_prefix}-cloudwatch-policy"
|
||||
role = aws_iam_role.api_gateway_cloudwatch_role.id
|
||||
policy = data.aws_iam_policy_document.cloudwatch.json
|
||||
}
|
||||
|
||||
# Frontend ECS role policy
|
||||
resource "aws_iam_policy" "frontend_ecs_task_role_policy" {
|
||||
name = "${local.name_prefix}-frontend_ecs_task_role-policy"
|
||||
description = "A custom policy ecs_task_role_frontend"
|
||||
policy = data.aws_iam_policy_document.frontend_ecs_task_role_policy.json
|
||||
tags = merge(local.required_tags, var.tags)
|
||||
}
|
||||
resource "aws_iam_role_policy_attachment" "frontend_ecs_task_role_policy_attachement_1" {
|
||||
role = data.aws_ssm_parameter.ecs_task_role_frontend_name.value
|
||||
policy_arn = aws_iam_policy.frontend_ecs_task_role_policy.arn
|
||||
}
|
||||
|
||||
# Adding rights to devops roles
|
||||
# resource "aws_iam_policy" "sagemaker_for_devops_roles_policy" {
|
||||
# name = "${local.name_prefix}-sagemaker-for-devops-roles-policy"
|
||||
# description = "A custom sagemaker_for_devops_roles_policy"
|
||||
# policy = data.aws_iam_policy_document.sagemaker_for_devops_roles_document.json
|
||||
# tags = merge(local.required_tags, var.tags)
|
||||
# }
|
||||
# resource "aws_iam_role_policy_attachment" "sagemaker_for_devops_roles_policy_attach_1" {
|
||||
# for_each = toset(data.aws_iam_roles.devops_roles.names)
|
||||
# role = each.value
|
||||
# policy_arn = aws_iam_policy.sagemaker_for_devops_roles_policy.arn
|
||||
# }
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { Observable } from '../Observable';\nexport var EMPTY = new Observable(function (subscriber) {\n return subscriber.complete();\n});\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(function (subscriber) {\n return scheduler.schedule(function () {\n return subscriber.complete();\n });\n });\n}\n//# sourceMappingURL=empty.js.map","map":{"version":3,"names":["Observable","EMPTY","subscriber","complete","empty","scheduler","emptyScheduled","schedule"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/observable/empty.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport var EMPTY = new Observable(function (subscriber) { return subscriber.complete(); });\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });\n}\n//# sourceMappingURL=empty.js.map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAC1C,OAAO,IAAIC,KAAK,GAAG,IAAID,UAAU,CAAC,UAAUE,UAAU,EAAE;EAAE,OAAOA,UAAU,CAACC,QAAQ,CAAC,CAAC;AAAE,CAAC,CAAC;AAC1F,OAAO,SAASC,KAAKA,CAACC,SAAS,EAAE;EAC7B,OAAOA,SAAS,GAAGC,cAAc,CAACD,SAAS,CAAC,GAAGJ,KAAK;AACxD;AACA,SAASK,cAAcA,CAACD,SAAS,EAAE;EAC/B,OAAO,IAAIL,UAAU,CAAC,UAAUE,UAAU,EAAE;IAAE,OAAOG,SAAS,CAACE,QAAQ,CAAC,YAAY;MAAE,OAAOL,UAAU,CAACC,QAAQ,CAAC,CAAC;IAAE,CAAC,CAAC;EAAE,CAAC,CAAC;AAC9H;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || isFunction(obj.lift) && isFunction(obj.subscribe));\n}\n//# sourceMappingURL=isObservable.js.map","map":{"version":3,"names":["Observable","isFunction","isObservable","obj","lift","subscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/isObservable.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n//# sourceMappingURL=isObservable.js.map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAC1C,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAO,SAASC,YAAYA,CAACC,GAAG,EAAE;EAC9B,OAAO,CAAC,CAACA,GAAG,KAAKA,GAAG,YAAYH,UAAU,IAAKC,UAAU,CAACE,GAAG,CAACC,IAAI,CAAC,IAAIH,UAAU,CAACE,GAAG,CAACE,SAAS,CAAE,CAAC;AACtG;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { createErrorClass } from './createErrorClass';\nexport var NotFoundError = createErrorClass(function (_super) {\n return function NotFoundErrorImpl(message) {\n _super(this);\n this.name = 'NotFoundError';\n this.message = message;\n };\n});\n//# sourceMappingURL=NotFoundError.js.map","map":{"version":3,"names":["createErrorClass","NotFoundError","_super","NotFoundErrorImpl","message","name"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/NotFoundError.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport var NotFoundError = createErrorClass(function (_super) {\n return function NotFoundErrorImpl(message) {\n _super(this);\n this.name = 'NotFoundError';\n this.message = message;\n };\n});\n//# sourceMappingURL=NotFoundError.js.map"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,oBAAoB;AACrD,OAAO,IAAIC,aAAa,GAAGD,gBAAgB,CAAC,UAAUE,MAAM,EAAE;EAC1D,OAAO,SAASC,iBAAiBA,CAACC,OAAO,EAAE;IACvCF,MAAM,CAAC,IAAI,CAAC;IACZ,IAAI,CAACG,IAAI,GAAG,eAAe;IAC3B,IAAI,CAACD,OAAO,GAAGA,OAAO;EAC1B,CAAC;AACL,CAAC,CAAC;AACF","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { __read, __spreadArray } from \"tslib\";\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { onErrorResumeNext as oERNCreate } from '../observable/onErrorResumeNext';\nexport function onErrorResumeNextWith() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n var nextSources = argsOrArgArray(sources);\n return function (source) {\n return oERNCreate.apply(void 0, __spreadArray([source], __read(nextSources)));\n };\n}\nexport var onErrorResumeNext = onErrorResumeNextWith;\n//# sourceMappingURL=onErrorResumeNextWith.js.map","map":{"version":3,"names":["__read","__spreadArray","argsOrArgArray","onErrorResumeNext","oERNCreate","onErrorResumeNextWith","sources","_i","arguments","length","nextSources","source","apply"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/onErrorResumeNextWith.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { onErrorResumeNext as oERNCreate } from '../observable/onErrorResumeNext';\nexport function onErrorResumeNextWith() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n var nextSources = argsOrArgArray(sources);\n return function (source) { return oERNCreate.apply(void 0, __spreadArray([source], __read(nextSources))); };\n}\nexport var onErrorResumeNext = onErrorResumeNextWith;\n//# sourceMappingURL=onErrorResumeNextWith.js.map"],"mappings":"AAAA,SAASA,MAAM,EAAEC,aAAa,QAAQ,OAAO;AAC7C,SAASC,cAAc,QAAQ,wBAAwB;AACvD,SAASC,iBAAiB,IAAIC,UAAU,QAAQ,iCAAiC;AACjF,OAAO,SAASC,qBAAqBA,CAAA,EAAG;EACpC,IAAIC,OAAO,GAAG,EAAE;EAChB,KAAK,IAAIC,EAAE,GAAG,CAAC,EAAEA,EAAE,GAAGC,SAAS,CAACC,MAAM,EAAEF,EAAE,EAAE,EAAE;IAC1CD,OAAO,CAACC,EAAE,CAAC,GAAGC,SAAS,CAACD,EAAE,CAAC;EAC/B;EACA,IAAIG,WAAW,GAAGR,cAAc,CAACI,OAAO,CAAC;EACzC,OAAO,UAAUK,MAAM,EAAE;IAAE,OAAOP,UAAU,CAACQ,KAAK,CAAC,KAAK,CAAC,EAAEX,aAAa,CAAC,CAACU,MAAM,CAAC,EAAEX,MAAM,CAACU,WAAW,CAAC,CAAC,CAAC;EAAE,CAAC;AAC/G;AACA,OAAO,IAAIP,iBAAiB,GAAGE,qBAAqB;AACpD","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { scanInternals } from './scanInternals';\nimport { operate } from '../util/lift';\nexport function reduce(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, false, true));\n}\n//# sourceMappingURL=reduce.js.map","map":{"version":3,"names":["scanInternals","operate","reduce","accumulator","seed","arguments","length"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/reduce.js"],"sourcesContent":["import { scanInternals } from './scanInternals';\nimport { operate } from '../util/lift';\nexport function reduce(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, false, true));\n}\n//# sourceMappingURL=reduce.js.map"],"mappings":"AAAA,SAASA,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,OAAO,QAAQ,cAAc;AACtC,OAAO,SAASC,MAAMA,CAACC,WAAW,EAAEC,IAAI,EAAE;EACtC,OAAOH,OAAO,CAACD,aAAa,CAACG,WAAW,EAAEC,IAAI,EAAEC,SAAS,CAACC,MAAM,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AACxF;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { AnimationFrameAction } from './AnimationFrameAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\nexport var animationFrameScheduler = new AnimationFrameScheduler(AnimationFrameAction);\nexport var animationFrame = animationFrameScheduler;\n//# sourceMappingURL=animationFrame.js.map","map":{"version":3,"names":["AnimationFrameAction","AnimationFrameScheduler","animationFrameScheduler","animationFrame"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/scheduler/animationFrame.js"],"sourcesContent":["import { AnimationFrameAction } from './AnimationFrameAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\nexport var animationFrameScheduler = new AnimationFrameScheduler(AnimationFrameAction);\nexport var animationFrame = animationFrameScheduler;\n//# sourceMappingURL=animationFrame.js.map"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,wBAAwB;AAC7D,SAASC,uBAAuB,QAAQ,2BAA2B;AACnE,OAAO,IAAIC,uBAAuB,GAAG,IAAID,uBAAuB,CAACD,oBAAoB,CAAC;AACtF,OAAO,IAAIG,cAAc,GAAGD,uBAAuB;AACnD","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler) {\n if (scheduler === void 0) {\n scheduler = asyncScheduler;\n }\n return operate(function (source, subscriber) {\n var activeTask = null;\n var lastValue = null;\n var lastTime = null;\n var emit = function () {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n var value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n var targetTime = lastTime + dueTime;\n var now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, function () {\n emit();\n subscriber.complete();\n }, undefined, function () {\n lastValue = activeTask = null;\n }));\n });\n}\n//# sourceMappingURL=debounceTime.js.map","map":{"version":3,"names":["asyncScheduler","operate","createOperatorSubscriber","debounceTime","dueTime","scheduler","source","subscriber","activeTask","lastValue","lastTime","emit","unsubscribe","value","next","emitWhenIdle","targetTime","now","schedule","undefined","add","subscribe","complete"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/debounceTime.js"],"sourcesContent":["import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler) {\n if (scheduler === void 0) { scheduler = asyncScheduler; }\n return operate(function (source, subscriber) {\n var activeTask = null;\n var lastValue = null;\n var lastTime = null;\n var emit = function () {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n var value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n var targetTime = lastTime + dueTime;\n var now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, function () {\n emit();\n subscriber.complete();\n }, undefined, function () {\n lastValue = activeTask = null;\n }));\n });\n}\n//# sourceMappingURL=debounceTime.js.map"],"mappings":"AAAA,SAASA,cAAc,QAAQ,oBAAoB;AACnD,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,OAAO,SAASC,YAAYA,CAACC,OAAO,EAAEC,SAAS,EAAE;EAC7C,IAAIA,SAAS,KAAK,KAAK,CAAC,EAAE;IAAEA,SAAS,GAAGL,cAAc;EAAE;EACxD,OAAOC,OAAO,CAAC,UAAUK,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,UAAU,GAAG,IAAI;IACrB,IAAIC,SAAS,GAAG,IAAI;IACpB,IAAIC,QAAQ,GAAG,IAAI;IACnB,IAAIC,IAAI,GAAG,SAAAA,CAAA,EAAY;MACnB,IAAIH,UAAU,EAAE;QACZA,UAAU,CAACI,WAAW,CAAC,CAAC;QACxBJ,UAAU,GAAG,IAAI;QACjB,IAAIK,KAAK,GAAGJ,SAAS;QACrBA,SAAS,GAAG,IAAI;QAChBF,UAAU,CAACO,IAAI,CAACD,KAAK,CAAC;MAC1B;IACJ,CAAC;IACD,SAASE,YAAYA,CAAA,EAAG;MACpB,IAAIC,UAAU,GAAGN,QAAQ,GAAGN,OAAO;MACnC,IAAIa,GAAG,GAAGZ,SAAS,CAACY,GAAG,CAAC,CAAC;MACzB,IAAIA,GAAG,GAAGD,UAAU,EAAE;QAClBR,UAAU,GAAG,IAAI,CAACU,QAAQ,CAACC,SAAS,EAAEH,UAAU,GAAGC,GAAG,CAAC;QACvDV,UAAU,CAACa,GAAG,CAACZ,UAAU,CAAC;QAC1B;MACJ;MACAG,IAAI,CAAC,CAAC;IACV;IACAL,MAAM,CAACe,SAAS,CAACnB,wBAAwB,CAACK,UAAU,EAAE,UAAUM,KAAK,EAAE;MACnEJ,SAAS,GAAGI,KAAK;MACjBH,QAAQ,GAAGL,SAAS,CAACY,GAAG,CAAC,CAAC;MAC1B,IAAI,CAACT,UAAU,EAAE;QACbA,UAAU,GAAGH,SAAS,CAACa,QAAQ,CAACH,YAAY,EAAEX,OAAO,CAAC;QACtDG,UAAU,CAACa,GAAG,CAACZ,UAAU,CAAC;MAC9B;IACJ,CAAC,EAAE,YAAY;MACXG,IAAI,CAAC,CAAC;MACNJ,UAAU,CAACe,QAAQ,CAAC,CAAC;IACzB,CAAC,EAAEH,SAAS,EAAE,YAAY;MACtBV,SAAS,GAAGD,UAAU,GAAG,IAAI;IACjC,CAAC,CAAC,CAAC;EACP,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { operate } from '../util/lift';\nexport function catchError(selector) {\n return operate(function (source, subscriber) {\n var innerSub = null;\n var syncUnsub = false;\n var handledResult;\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, function (err) {\n handledResult = innerFrom(selector(err, catchError(selector)(source)));\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n } else {\n syncUnsub = true;\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n}\n//# sourceMappingURL=catchError.js.map","map":{"version":3,"names":["innerFrom","createOperatorSubscriber","operate","catchError","selector","source","subscriber","innerSub","syncUnsub","handledResult","subscribe","undefined","err","unsubscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/catchError.js"],"sourcesContent":["import { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { operate } from '../util/lift';\nexport function catchError(selector) {\n return operate(function (source, subscriber) {\n var innerSub = null;\n var syncUnsub = false;\n var handledResult;\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, function (err) {\n handledResult = innerFrom(selector(err, catchError(selector)(source)));\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n else {\n syncUnsub = true;\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n}\n//# sourceMappingURL=catchError.js.map"],"mappings":"AAAA,SAASA,SAAS,QAAQ,yBAAyB;AACnD,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,SAASC,OAAO,QAAQ,cAAc;AACtC,OAAO,SAASC,UAAUA,CAACC,QAAQ,EAAE;EACjC,OAAOF,OAAO,CAAC,UAAUG,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,QAAQ,GAAG,IAAI;IACnB,IAAIC,SAAS,GAAG,KAAK;IACrB,IAAIC,aAAa;IACjBF,QAAQ,GAAGF,MAAM,CAACK,SAAS,CAACT,wBAAwB,CAACK,UAAU,EAAEK,SAAS,EAAEA,SAAS,EAAE,UAAUC,GAAG,EAAE;MAClGH,aAAa,GAAGT,SAAS,CAACI,QAAQ,CAACQ,GAAG,EAAET,UAAU,CAACC,QAAQ,CAAC,CAACC,MAAM,CAAC,CAAC,CAAC;MACtE,IAAIE,QAAQ,EAAE;QACVA,QAAQ,CAACM,WAAW,CAAC,CAAC;QACtBN,QAAQ,GAAG,IAAI;QACfE,aAAa,CAACC,SAAS,CAACJ,UAAU,CAAC;MACvC,CAAC,MACI;QACDE,SAAS,GAAG,IAAI;MACpB;IACJ,CAAC,CAAC,CAAC;IACH,IAAIA,SAAS,EAAE;MACXD,QAAQ,CAACM,WAAW,CAAC,CAAC;MACtBN,QAAQ,GAAG,IAAI;MACfE,aAAa,CAACC,SAAS,CAACJ,UAAU,CAAC;IACvC;EACJ,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"export function createErrorClass(createImpl) {\n var _super = function (instance) {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n var ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map","map":{"version":3,"names":["createErrorClass","createImpl","_super","instance","Error","call","stack","ctorFunc","prototype","Object","create","constructor"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js"],"sourcesContent":["export function createErrorClass(createImpl) {\n var _super = function (instance) {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n var ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map"],"mappings":"AAAA,OAAO,SAASA,gBAAgBA,CAACC,UAAU,EAAE;EACzC,IAAIC,MAAM,GAAG,SAAAA,CAAUC,QAAQ,EAAE;IAC7BC,KAAK,CAACC,IAAI,CAACF,QAAQ,CAAC;IACpBA,QAAQ,CAACG,KAAK,GAAG,IAAIF,KAAK,CAAC,CAAC,CAACE,KAAK;EACtC,CAAC;EACD,IAAIC,QAAQ,GAAGN,UAAU,CAACC,MAAM,CAAC;EACjCK,QAAQ,CAACC,SAAS,GAAGC,MAAM,CAACC,MAAM,CAACN,KAAK,CAACI,SAAS,CAAC;EACnDD,QAAQ,CAACC,SAAS,CAACG,WAAW,GAAGJ,QAAQ;EACzC,OAAOA,QAAQ;AACnB;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { fn } from 'storybook/test';\nimport { ButtonComponent } from './button.component';\n// More on how to set up stories at: https://storybook.js.org/docs/writing-stories\nconst meta = {\n title: 'Example/Button',\n component: ButtonComponent,\n tags: ['autodocs'],\n argTypes: {\n backgroundColor: {\n control: 'color'\n }\n },\n // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args\n args: {\n onClick: fn()\n }\n};\nexport default meta;\n// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args\nexport const Primary = {\n args: {\n primary: true,\n label: 'Button'\n }\n};\nexport const Secondary = {\n args: {\n label: 'Button'\n }\n};\nexport const Large = {\n args: {\n size: 'large',\n label: 'Button'\n }\n};\nexport const Small = {\n args: {\n size: 'small',\n label: 'Button'\n }\n};","map":{"version":3,"names":["fn","ButtonComponent","meta","title","component","tags","argTypes","backgroundColor","control","args","onClick","Primary","primary","label","Secondary","Large","size","Small"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/src/stories/button.stories.ts"],"sourcesContent":["import { fn } from 'storybook/test';\nimport { ButtonComponent } from './button.component';\n// More on how to set up stories at: https://storybook.js.org/docs/writing-stories\nconst meta = {\n title: 'Example/Button',\n component: ButtonComponent,\n tags: ['autodocs'],\n argTypes: {\n backgroundColor: {\n control: 'color',\n },\n },\n // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args\n args: { onClick: fn() },\n};\nexport default meta;\n// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args\nexport const Primary = {\n args: {\n primary: true,\n label: 'Button',\n },\n};\nexport const Secondary = {\n args: {\n label: 'Button',\n },\n};\nexport const Large = {\n args: {\n size: 'large',\n label: 'Button',\n },\n};\nexport const Small = {\n args: {\n size: 'small',\n label: 'Button',\n },\n};\n"],"mappings":"AAAA,SAASA,EAAE,QAAQ,gBAAgB;AACnC,SAASC,eAAe,QAAQ,oBAAoB;AACpD;AACA,MAAMC,IAAI,GAAG;EACTC,KAAK,EAAE,gBAAgB;EACvBC,SAAS,EAAEH,eAAe;EAC1BI,IAAI,EAAE,CAAC,UAAU,CAAC;EAClBC,QAAQ,EAAE;IACNC,eAAe,EAAE;MACbC,OAAO,EAAE;IACb;EACJ,CAAC;EACD;EACAC,IAAI,EAAE;IAAEC,OAAO,EAAEV,EAAE,CAAC;EAAE;AAC1B,CAAC;AACD,eAAeE,IAAI;AACnB;AACA,OAAO,MAAMS,OAAO,GAAG;EACnBF,IAAI,EAAE;IACFG,OAAO,EAAE,IAAI;IACbC,KAAK,EAAE;EACX;AACJ,CAAC;AACD,OAAO,MAAMC,SAAS,GAAG;EACrBL,IAAI,EAAE;IACFI,KAAK,EAAE;EACX;AACJ,CAAC;AACD,OAAO,MAAME,KAAK,GAAG;EACjBN,IAAI,EAAE;IACFO,IAAI,EAAE,OAAO;IACbH,KAAK,EAAE;EACX;AACJ,CAAC;AACD,OAAO,MAAMI,KAAK,GAAG;EACjBR,IAAI,EAAE;IACFO,IAAI,EAAE,OAAO;IACbH,KAAK,EAAE;EACX;AACJ,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { __read, __spreadArray } from \"tslib\";\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { raceWith } from './raceWith';\nexport function race() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return raceWith.apply(void 0, __spreadArray([], __read(argsOrArgArray(args))));\n}\n//# sourceMappingURL=race.js.map","map":{"version":3,"names":["__read","__spreadArray","argsOrArgArray","raceWith","race","args","_i","arguments","length","apply"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/race.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { raceWith } from './raceWith';\nexport function race() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return raceWith.apply(void 0, __spreadArray([], __read(argsOrArgArray(args))));\n}\n//# sourceMappingURL=race.js.map"],"mappings":"AAAA,SAASA,MAAM,EAAEC,aAAa,QAAQ,OAAO;AAC7C,SAASC,cAAc,QAAQ,wBAAwB;AACvD,SAASC,QAAQ,QAAQ,YAAY;AACrC,OAAO,SAASC,IAAIA,CAAA,EAAG;EACnB,IAAIC,IAAI,GAAG,EAAE;EACb,KAAK,IAAIC,EAAE,GAAG,CAAC,EAAEA,EAAE,GAAGC,SAAS,CAACC,MAAM,EAAEF,EAAE,EAAE,EAAE;IAC1CD,IAAI,CAACC,EAAE,CAAC,GAAGC,SAAS,CAACD,EAAE,CAAC;EAC5B;EACA,OAAOH,QAAQ,CAACM,KAAK,CAAC,KAAK,CAAC,EAAER,aAAa,CAAC,EAAE,EAAED,MAAM,CAACE,cAAc,CAACG,IAAI,CAAC,CAAC,CAAC,CAAC;AAClF;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { noop } from '../util/noop';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function bufferWhen(closingSelector) {\n return operate(function (source, subscriber) {\n var buffer = null;\n var closingSubscriber = null;\n var openBuffer = function () {\n closingSubscriber === null || closingSubscriber === void 0 ? void 0 : closingSubscriber.unsubscribe();\n var b = buffer;\n buffer = [];\n b && subscriber.next(b);\n innerFrom(closingSelector()).subscribe(closingSubscriber = createOperatorSubscriber(subscriber, openBuffer, noop));\n };\n openBuffer();\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n return buffer === null || buffer === void 0 ? void 0 : buffer.push(value);\n }, function () {\n buffer && subscriber.next(buffer);\n subscriber.complete();\n }, undefined, function () {\n return buffer = closingSubscriber = null;\n }));\n });\n}\n//# sourceMappingURL=bufferWhen.js.map","map":{"version":3,"names":["operate","noop","createOperatorSubscriber","innerFrom","bufferWhen","closingSelector","source","subscriber","buffer","closingSubscriber","openBuffer","unsubscribe","b","next","subscribe","value","push","complete","undefined"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/bufferWhen.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { noop } from '../util/noop';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function bufferWhen(closingSelector) {\n return operate(function (source, subscriber) {\n var buffer = null;\n var closingSubscriber = null;\n var openBuffer = function () {\n closingSubscriber === null || closingSubscriber === void 0 ? void 0 : closingSubscriber.unsubscribe();\n var b = buffer;\n buffer = [];\n b && subscriber.next(b);\n innerFrom(closingSelector()).subscribe((closingSubscriber = createOperatorSubscriber(subscriber, openBuffer, noop)));\n };\n openBuffer();\n source.subscribe(createOperatorSubscriber(subscriber, function (value) { return buffer === null || buffer === void 0 ? void 0 : buffer.push(value); }, function () {\n buffer && subscriber.next(buffer);\n subscriber.complete();\n }, undefined, function () { return (buffer = closingSubscriber = null); }));\n });\n}\n//# sourceMappingURL=bufferWhen.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,SAASC,SAAS,QAAQ,yBAAyB;AACnD,OAAO,SAASC,UAAUA,CAACC,eAAe,EAAE;EACxC,OAAOL,OAAO,CAAC,UAAUM,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,MAAM,GAAG,IAAI;IACjB,IAAIC,iBAAiB,GAAG,IAAI;IAC5B,IAAIC,UAAU,GAAG,SAAAA,CAAA,EAAY;MACzBD,iBAAiB,KAAK,IAAI,IAAIA,iBAAiB,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,iBAAiB,CAACE,WAAW,CAAC,CAAC;MACrG,IAAIC,CAAC,GAAGJ,MAAM;MACdA,MAAM,GAAG,EAAE;MACXI,CAAC,IAAIL,UAAU,CAACM,IAAI,CAACD,CAAC,CAAC;MACvBT,SAAS,CAACE,eAAe,CAAC,CAAC,CAAC,CAACS,SAAS,CAAEL,iBAAiB,GAAGP,wBAAwB,CAACK,UAAU,EAAEG,UAAU,EAAET,IAAI,CAAE,CAAC;IACxH,CAAC;IACDS,UAAU,CAAC,CAAC;IACZJ,MAAM,CAACQ,SAAS,CAACZ,wBAAwB,CAACK,UAAU,EAAE,UAAUQ,KAAK,EAAE;MAAE,OAAOP,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,MAAM,CAACQ,IAAI,CAACD,KAAK,CAAC;IAAE,CAAC,EAAE,YAAY;MAC/JP,MAAM,IAAID,UAAU,CAACM,IAAI,CAACL,MAAM,CAAC;MACjCD,UAAU,CAACU,QAAQ,CAAC,CAAC;IACzB,CAAC,EAAEC,SAAS,EAAE,YAAY;MAAE,OAAQV,MAAM,GAAGC,iBAAiB,GAAG,IAAI;IAAG,CAAC,CAAC,CAAC;EAC/E,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { asyncScheduler } from '../scheduler/async';\nimport { sample } from './sample';\nimport { interval } from '../observable/interval';\nexport function sampleTime(period, scheduler) {\n if (scheduler === void 0) {\n scheduler = asyncScheduler;\n }\n return sample(interval(period, scheduler));\n}\n//# sourceMappingURL=sampleTime.js.map","map":{"version":3,"names":["asyncScheduler","sample","interval","sampleTime","period","scheduler"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js"],"sourcesContent":["import { asyncScheduler } from '../scheduler/async';\nimport { sample } from './sample';\nimport { interval } from '../observable/interval';\nexport function sampleTime(period, scheduler) {\n if (scheduler === void 0) { scheduler = asyncScheduler; }\n return sample(interval(period, scheduler));\n}\n//# sourceMappingURL=sampleTime.js.map"],"mappings":"AAAA,SAASA,cAAc,QAAQ,oBAAoB;AACnD,SAASC,MAAM,QAAQ,UAAU;AACjC,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,OAAO,SAASC,UAAUA,CAACC,MAAM,EAAEC,SAAS,EAAE;EAC1C,IAAIA,SAAS,KAAK,KAAK,CAAC,EAAE;IAAEA,SAAS,GAAGL,cAAc;EAAE;EACxD,OAAOC,MAAM,CAACC,QAAQ,CAACE,MAAM,EAAEC,SAAS,CAAC,CAAC;AAC9C;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable(function (subscriber) {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=defer.js.map","map":{"version":3,"names":["Observable","innerFrom","defer","observableFactory","subscriber","subscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/observable/defer.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable(function (subscriber) {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=defer.js.map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAC1C,SAASC,SAAS,QAAQ,aAAa;AACvC,OAAO,SAASC,KAAKA,CAACC,iBAAiB,EAAE;EACrC,OAAO,IAAIH,UAAU,CAAC,UAAUI,UAAU,EAAE;IACxCH,SAAS,CAACE,iBAAiB,CAAC,CAAC,CAAC,CAACE,SAAS,CAACD,UAAU,CAAC;EACxD,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.highSurrogateTo = exports.highSurrogateFrom = exports.getCodePoint = exports.fromCodePoint = void 0;\nexports.fromCodePoint = String.fromCodePoint || function (astralCodePoint) {\n return String.fromCharCode(Math.floor((astralCodePoint - 0x10000) / 0x400) + 0xd800, (astralCodePoint - 0x10000) % 0x400 + 0xdc00);\n};\n// @ts-expect-error - String.prototype.codePointAt might not exist in older node versions\nexports.getCodePoint = String.prototype.codePointAt ? function (input, position) {\n return input.codePointAt(position);\n} : function (input, position) {\n return (input.charCodeAt(position) - 0xd800) * 0x400 + input.charCodeAt(position + 1) - 0xdc00 + 0x10000;\n};\nexports.highSurrogateFrom = 0xd800;\nexports.highSurrogateTo = 0xdbff;\n//# sourceMappingURL=surrogate-pairs.js.map","map":{"version":3,"names":["Object","defineProperty","exports","value","highSurrogateTo","highSurrogateFrom","getCodePoint","fromCodePoint","String","astralCodePoint","fromCharCode","Math","floor","prototype","codePointAt","input","position","charCodeAt"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/html-entities/dist/commonjs/surrogate-pairs.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.highSurrogateTo = exports.highSurrogateFrom = exports.getCodePoint = exports.fromCodePoint = void 0;\nexports.fromCodePoint = String.fromCodePoint ||\n function (astralCodePoint) {\n return String.fromCharCode(Math.floor((astralCodePoint - 0x10000) / 0x400) + 0xd800, ((astralCodePoint - 0x10000) % 0x400) + 0xdc00);\n };\n// @ts-expect-error - String.prototype.codePointAt might not exist in older node versions\nexports.getCodePoint = String.prototype.codePointAt\n ? function (input, position) {\n return input.codePointAt(position);\n }\n : function (input, position) {\n return (input.charCodeAt(position) - 0xd800) * 0x400 + input.charCodeAt(position + 1) - 0xdc00 + 0x10000;\n };\nexports.highSurrogateFrom = 0xd800;\nexports.highSurrogateTo = 0xdbff;\n//# sourceMappingURL=surrogate-pairs.js.map"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,eAAe,GAAGF,OAAO,CAACG,iBAAiB,GAAGH,OAAO,CAACI,YAAY,GAAGJ,OAAO,CAACK,aAAa,GAAG,KAAK,CAAC;AAC3GL,OAAO,CAACK,aAAa,GAAGC,MAAM,CAACD,aAAa,IACxC,UAAUE,eAAe,EAAE;EACvB,OAAOD,MAAM,CAACE,YAAY,CAACC,IAAI,CAACC,KAAK,CAAC,CAACH,eAAe,GAAG,OAAO,IAAI,KAAK,CAAC,GAAG,MAAM,EAAG,CAACA,eAAe,GAAG,OAAO,IAAI,KAAK,GAAI,MAAM,CAAC;AACxI,CAAC;AACL;AACAP,OAAO,CAACI,YAAY,GAAGE,MAAM,CAACK,SAAS,CAACC,WAAW,GAC7C,UAAUC,KAAK,EAAEC,QAAQ,EAAE;EACzB,OAAOD,KAAK,CAACD,WAAW,CAACE,QAAQ,CAAC;AACtC,CAAC,GACC,UAAUD,KAAK,EAAEC,QAAQ,EAAE;EACzB,OAAO,CAACD,KAAK,CAACE,UAAU,CAACD,QAAQ,CAAC,GAAG,MAAM,IAAI,KAAK,GAAGD,KAAK,CAACE,UAAU,CAACD,QAAQ,GAAG,CAAC,CAAC,GAAG,MAAM,GAAG,OAAO;AAC5G,CAAC;AACLd,OAAO,CAACG,iBAAiB,GAAG,MAAM;AAClCH,OAAO,CAACE,eAAe,GAAG,MAAM;AAChC","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { combineLatestAll } from './combineLatestAll';\nexport var combineAll = combineLatestAll;\n//# sourceMappingURL=combineAll.js.map","map":{"version":3,"names":["combineLatestAll","combineAll"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/combineAll.js"],"sourcesContent":["import { combineLatestAll } from './combineLatestAll';\nexport var combineAll = combineLatestAll;\n//# sourceMappingURL=combineAll.js.map"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,oBAAoB;AACrD,OAAO,IAAIC,UAAU,GAAGD,gBAAgB;AACxC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { __read, __spreadArray } from \"tslib\";\nimport { operate } from '../util/lift';\nimport { concatAll } from './concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from '../observable/from';\nexport function concat() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var scheduler = popScheduler(args);\n return operate(function (source, subscriber) {\n concatAll()(from(__spreadArray([source], __read(args)), scheduler)).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=concat.js.map","map":{"version":3,"names":["__read","__spreadArray","operate","concatAll","popScheduler","from","concat","args","_i","arguments","length","scheduler","source","subscriber","subscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/concat.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nimport { operate } from '../util/lift';\nimport { concatAll } from './concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from '../observable/from';\nexport function concat() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var scheduler = popScheduler(args);\n return operate(function (source, subscriber) {\n concatAll()(from(__spreadArray([source], __read(args)), scheduler)).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=concat.js.map"],"mappings":"AAAA,SAASA,MAAM,EAAEC,aAAa,QAAQ,OAAO;AAC7C,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,YAAY,QAAQ,cAAc;AAC3C,SAASC,IAAI,QAAQ,oBAAoB;AACzC,OAAO,SAASC,MAAMA,CAAA,EAAG;EACrB,IAAIC,IAAI,GAAG,EAAE;EACb,KAAK,IAAIC,EAAE,GAAG,CAAC,EAAEA,EAAE,GAAGC,SAAS,CAACC,MAAM,EAAEF,EAAE,EAAE,EAAE;IAC1CD,IAAI,CAACC,EAAE,CAAC,GAAGC,SAAS,CAACD,EAAE,CAAC;EAC5B;EACA,IAAIG,SAAS,GAAGP,YAAY,CAACG,IAAI,CAAC;EAClC,OAAOL,OAAO,CAAC,UAAUU,MAAM,EAAEC,UAAU,EAAE;IACzCV,SAAS,CAAC,CAAC,CAACE,IAAI,CAACJ,aAAa,CAAC,CAACW,MAAM,CAAC,EAAEZ,MAAM,CAACO,IAAI,CAAC,CAAC,EAAEI,SAAS,CAAC,CAAC,CAACG,SAAS,CAACD,UAAU,CAAC;EAC7F,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nimport { innerFrom } from '../observable/innerFrom';\nexport function distinct(keySelector, flushes) {\n return operate(function (source, subscriber) {\n var distinctKeys = new Set();\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n var key = keySelector ? keySelector(value) : value;\n if (!distinctKeys.has(key)) {\n distinctKeys.add(key);\n subscriber.next(value);\n }\n }));\n flushes && innerFrom(flushes).subscribe(createOperatorSubscriber(subscriber, function () {\n return distinctKeys.clear();\n }, noop));\n });\n}\n//# sourceMappingURL=distinct.js.map","map":{"version":3,"names":["operate","createOperatorSubscriber","noop","innerFrom","distinct","keySelector","flushes","source","subscriber","distinctKeys","Set","subscribe","value","key","has","add","next","clear"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/distinct.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nimport { innerFrom } from '../observable/innerFrom';\nexport function distinct(keySelector, flushes) {\n return operate(function (source, subscriber) {\n var distinctKeys = new Set();\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n var key = keySelector ? keySelector(value) : value;\n if (!distinctKeys.has(key)) {\n distinctKeys.add(key);\n subscriber.next(value);\n }\n }));\n flushes && innerFrom(flushes).subscribe(createOperatorSubscriber(subscriber, function () { return distinctKeys.clear(); }, noop));\n });\n}\n//# sourceMappingURL=distinct.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,SAAS,QAAQ,yBAAyB;AACnD,OAAO,SAASC,QAAQA,CAACC,WAAW,EAAEC,OAAO,EAAE;EAC3C,OAAON,OAAO,CAAC,UAAUO,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,YAAY,GAAG,IAAIC,GAAG,CAAC,CAAC;IAC5BH,MAAM,CAACI,SAAS,CAACV,wBAAwB,CAACO,UAAU,EAAE,UAAUI,KAAK,EAAE;MACnE,IAAIC,GAAG,GAAGR,WAAW,GAAGA,WAAW,CAACO,KAAK,CAAC,GAAGA,KAAK;MAClD,IAAI,CAACH,YAAY,CAACK,GAAG,CAACD,GAAG,CAAC,EAAE;QACxBJ,YAAY,CAACM,GAAG,CAACF,GAAG,CAAC;QACrBL,UAAU,CAACQ,IAAI,CAACJ,KAAK,CAAC;MAC1B;IACJ,CAAC,CAAC,CAAC;IACHN,OAAO,IAAIH,SAAS,CAACG,OAAO,CAAC,CAACK,SAAS,CAACV,wBAAwB,CAACO,UAAU,EAAE,YAAY;MAAE,OAAOC,YAAY,CAACQ,KAAK,CAAC,CAAC;IAAE,CAAC,EAAEf,IAAI,CAAC,CAAC;EACrI,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeWhile(predicate, inclusive) {\n if (inclusive === void 0) {\n inclusive = false;\n }\n return operate(function (source, subscriber) {\n var index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n var result = predicate(value, index++);\n (result || inclusive) && subscriber.next(value);\n !result && subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=takeWhile.js.map","map":{"version":3,"names":["operate","createOperatorSubscriber","takeWhile","predicate","inclusive","source","subscriber","index","subscribe","value","result","next","complete"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/takeWhile.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeWhile(predicate, inclusive) {\n if (inclusive === void 0) { inclusive = false; }\n return operate(function (source, subscriber) {\n var index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n var result = predicate(value, index++);\n (result || inclusive) && subscriber.next(value);\n !result && subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=takeWhile.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,OAAO,SAASC,SAASA,CAACC,SAAS,EAAEC,SAAS,EAAE;EAC5C,IAAIA,SAAS,KAAK,KAAK,CAAC,EAAE;IAAEA,SAAS,GAAG,KAAK;EAAE;EAC/C,OAAOJ,OAAO,CAAC,UAAUK,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,KAAK,GAAG,CAAC;IACbF,MAAM,CAACG,SAAS,CAACP,wBAAwB,CAACK,UAAU,EAAE,UAAUG,KAAK,EAAE;MACnE,IAAIC,MAAM,GAAGP,SAAS,CAACM,KAAK,EAAEF,KAAK,EAAE,CAAC;MACtC,CAACG,MAAM,IAAIN,SAAS,KAAKE,UAAU,CAACK,IAAI,CAACF,KAAK,CAAC;MAC/C,CAACC,MAAM,IAAIJ,UAAU,CAACM,QAAQ,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;EACP,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map","map":{"version":3,"names":["isFunction","value"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/isFunction.js"],"sourcesContent":["export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map"],"mappings":"AAAA,OAAO,SAASA,UAAUA,CAACC,KAAK,EAAE;EAC9B,OAAO,OAAOA,KAAK,KAAK,UAAU;AACtC;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { config } from '../config';\nvar context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n var isRoot = !context;\n if (isRoot) {\n context = {\n errorThrown: false,\n error: null\n };\n }\n cb();\n if (isRoot) {\n var _a = context,\n errorThrown = _a.errorThrown,\n error = _a.error;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n } else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map","map":{"version":3,"names":["config","context","errorContext","cb","useDeprecatedSynchronousErrorHandling","isRoot","errorThrown","error","_a","captureError","err"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/errorContext.js"],"sourcesContent":["import { config } from '../config';\nvar context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n var isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n var _a = context, errorThrown = _a.errorThrown, error = _a.error;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map"],"mappings":"AAAA,SAASA,MAAM,QAAQ,WAAW;AAClC,IAAIC,OAAO,GAAG,IAAI;AAClB,OAAO,SAASC,YAAYA,CAACC,EAAE,EAAE;EAC7B,IAAIH,MAAM,CAACI,qCAAqC,EAAE;IAC9C,IAAIC,MAAM,GAAG,CAACJ,OAAO;IACrB,IAAII,MAAM,EAAE;MACRJ,OAAO,GAAG;QAAEK,WAAW,EAAE,KAAK;QAAEC,KAAK,EAAE;MAAK,CAAC;IACjD;IACAJ,EAAE,CAAC,CAAC;IACJ,IAAIE,MAAM,EAAE;MACR,IAAIG,EAAE,GAAGP,OAAO;QAAEK,WAAW,GAAGE,EAAE,CAACF,WAAW;QAAEC,KAAK,GAAGC,EAAE,CAACD,KAAK;MAChEN,OAAO,GAAG,IAAI;MACd,IAAIK,WAAW,EAAE;QACb,MAAMC,KAAK;MACf;IACJ;EACJ,CAAC,MACI;IACDJ,EAAE,CAAC,CAAC;EACR;AACJ;AACA,OAAO,SAASM,YAAYA,CAACC,GAAG,EAAE;EAC9B,IAAIV,MAAM,CAACI,qCAAqC,IAAIH,OAAO,EAAE;IACzDA,OAAO,CAACK,WAAW,GAAG,IAAI;IAC1BL,OAAO,CAACM,KAAK,GAAGG,GAAG;EACvB;AACJ;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { Subject } from '../Subject';\nimport { Observable } from '../Observable';\nimport { defer } from './defer';\nvar DEFAULT_CONFIG = {\n connector: function () {\n return new Subject();\n },\n resetOnDisconnect: true\n};\nexport function connectable(source, config) {\n if (config === void 0) {\n config = DEFAULT_CONFIG;\n }\n var connection = null;\n var connector = config.connector,\n _a = config.resetOnDisconnect,\n resetOnDisconnect = _a === void 0 ? true : _a;\n var subject = connector();\n var result = new Observable(function (subscriber) {\n return subject.subscribe(subscriber);\n });\n result.connect = function () {\n if (!connection || connection.closed) {\n connection = defer(function () {\n return source;\n }).subscribe(subject);\n if (resetOnDisconnect) {\n connection.add(function () {\n return subject = connector();\n });\n }\n }\n return connection;\n };\n return result;\n}\n//# sourceMappingURL=connectable.js.map","map":{"version":3,"names":["Subject","Observable","defer","DEFAULT_CONFIG","connector","resetOnDisconnect","connectable","source","config","connection","_a","subject","result","subscriber","subscribe","connect","closed","add"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/observable/connectable.js"],"sourcesContent":["import { Subject } from '../Subject';\nimport { Observable } from '../Observable';\nimport { defer } from './defer';\nvar DEFAULT_CONFIG = {\n connector: function () { return new Subject(); },\n resetOnDisconnect: true,\n};\nexport function connectable(source, config) {\n if (config === void 0) { config = DEFAULT_CONFIG; }\n var connection = null;\n var connector = config.connector, _a = config.resetOnDisconnect, resetOnDisconnect = _a === void 0 ? true : _a;\n var subject = connector();\n var result = new Observable(function (subscriber) {\n return subject.subscribe(subscriber);\n });\n result.connect = function () {\n if (!connection || connection.closed) {\n connection = defer(function () { return source; }).subscribe(subject);\n if (resetOnDisconnect) {\n connection.add(function () { return (subject = connector()); });\n }\n }\n return connection;\n };\n return result;\n}\n//# sourceMappingURL=connectable.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,YAAY;AACpC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,KAAK,QAAQ,SAAS;AAC/B,IAAIC,cAAc,GAAG;EACjBC,SAAS,EAAE,SAAAA,CAAA,EAAY;IAAE,OAAO,IAAIJ,OAAO,CAAC,CAAC;EAAE,CAAC;EAChDK,iBAAiB,EAAE;AACvB,CAAC;AACD,OAAO,SAASC,WAAWA,CAACC,MAAM,EAAEC,MAAM,EAAE;EACxC,IAAIA,MAAM,KAAK,KAAK,CAAC,EAAE;IAAEA,MAAM,GAAGL,cAAc;EAAE;EAClD,IAAIM,UAAU,GAAG,IAAI;EACrB,IAAIL,SAAS,GAAGI,MAAM,CAACJ,SAAS;IAAEM,EAAE,GAAGF,MAAM,CAACH,iBAAiB;IAAEA,iBAAiB,GAAGK,EAAE,KAAK,KAAK,CAAC,GAAG,IAAI,GAAGA,EAAE;EAC9G,IAAIC,OAAO,GAAGP,SAAS,CAAC,CAAC;EACzB,IAAIQ,MAAM,GAAG,IAAIX,UAAU,CAAC,UAAUY,UAAU,EAAE;IAC9C,OAAOF,OAAO,CAACG,SAAS,CAACD,UAAU,CAAC;EACxC,CAAC,CAAC;EACFD,MAAM,CAACG,OAAO,GAAG,YAAY;IACzB,IAAI,CAACN,UAAU,IAAIA,UAAU,CAACO,MAAM,EAAE;MAClCP,UAAU,GAAGP,KAAK,CAAC,YAAY;QAAE,OAAOK,MAAM;MAAE,CAAC,CAAC,CAACO,SAAS,CAACH,OAAO,CAAC;MACrE,IAAIN,iBAAiB,EAAE;QACnBI,UAAU,CAACQ,GAAG,CAAC,YAAY;UAAE,OAAQN,OAAO,GAAGP,SAAS,CAAC,CAAC;QAAG,CAAC,CAAC;MACnE;IACJ;IACA,OAAOK,UAAU;EACrB,CAAC;EACD,OAAOG,MAAM;AACjB;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { mergeMap } from './mergeMap';\nexport var flatMap = mergeMap;\n//# sourceMappingURL=flatMap.js.map","map":{"version":3,"names":["mergeMap","flatMap"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/flatMap.js"],"sourcesContent":["import { mergeMap } from './mergeMap';\nexport var flatMap = mergeMap;\n//# sourceMappingURL=flatMap.js.map"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,YAAY;AACrC,OAAO,IAAIC,OAAO,GAAGD,QAAQ;AAC7B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { scanInternals } from './scanInternals';\nexport function scan(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, true));\n}\n//# sourceMappingURL=scan.js.map","map":{"version":3,"names":["operate","scanInternals","scan","accumulator","seed","arguments","length"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/scan.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { scanInternals } from './scanInternals';\nexport function scan(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, true));\n}\n//# sourceMappingURL=scan.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,OAAO,SAASC,IAAIA,CAACC,WAAW,EAAEC,IAAI,EAAE;EACpC,OAAOJ,OAAO,CAACC,aAAa,CAACE,WAAW,EAAEC,IAAI,EAAEC,SAAS,CAACC,MAAM,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;AACjF;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { switchMap } from './switchMap';\nimport { identity } from '../util/identity';\nexport function switchAll() {\n return switchMap(identity);\n}\n//# sourceMappingURL=switchAll.js.map","map":{"version":3,"names":["switchMap","identity","switchAll"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/switchAll.js"],"sourcesContent":["import { switchMap } from './switchMap';\nimport { identity } from '../util/identity';\nexport function switchAll() {\n return switchMap(identity);\n}\n//# sourceMappingURL=switchAll.js.map"],"mappings":"AAAA,SAASA,SAAS,QAAQ,aAAa;AACvC,SAASC,QAAQ,QAAQ,kBAAkB;AAC3C,OAAO,SAASC,SAASA,CAAA,EAAG;EACxB,OAAOF,SAAS,CAACC,QAAQ,CAAC;AAC9B;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { OperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { noop } from '../util/noop';\nimport { innerFrom } from './innerFrom';\nexport function onErrorResumeNext() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n var nextSources = argsOrArgArray(sources);\n return new Observable(function (subscriber) {\n var sourceIndex = 0;\n var subscribeNext = function () {\n if (sourceIndex < nextSources.length) {\n var nextSource = void 0;\n try {\n nextSource = innerFrom(nextSources[sourceIndex++]);\n } catch (err) {\n subscribeNext();\n return;\n }\n var innerSubscriber = new OperatorSubscriber(subscriber, undefined, noop, noop);\n nextSource.subscribe(innerSubscriber);\n innerSubscriber.add(subscribeNext);\n } else {\n subscriber.complete();\n }\n };\n subscribeNext();\n });\n}\n//# sourceMappingURL=onErrorResumeNext.js.map","map":{"version":3,"names":["Observable","argsOrArgArray","OperatorSubscriber","noop","innerFrom","onErrorResumeNext","sources","_i","arguments","length","nextSources","subscriber","sourceIndex","subscribeNext","nextSource","err","innerSubscriber","undefined","subscribe","add","complete"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/observable/onErrorResumeNext.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { OperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { noop } from '../util/noop';\nimport { innerFrom } from './innerFrom';\nexport function onErrorResumeNext() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n var nextSources = argsOrArgArray(sources);\n return new Observable(function (subscriber) {\n var sourceIndex = 0;\n var subscribeNext = function () {\n if (sourceIndex < nextSources.length) {\n var nextSource = void 0;\n try {\n nextSource = innerFrom(nextSources[sourceIndex++]);\n }\n catch (err) {\n subscribeNext();\n return;\n }\n var innerSubscriber = new OperatorSubscriber(subscriber, undefined, noop, noop);\n nextSource.subscribe(innerSubscriber);\n innerSubscriber.add(subscribeNext);\n }\n else {\n subscriber.complete();\n }\n };\n subscribeNext();\n });\n}\n//# sourceMappingURL=onErrorResumeNext.js.map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAC1C,SAASC,cAAc,QAAQ,wBAAwB;AACvD,SAASC,kBAAkB,QAAQ,iCAAiC;AACpE,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,SAAS,QAAQ,aAAa;AACvC,OAAO,SAASC,iBAAiBA,CAAA,EAAG;EAChC,IAAIC,OAAO,GAAG,EAAE;EAChB,KAAK,IAAIC,EAAE,GAAG,CAAC,EAAEA,EAAE,GAAGC,SAAS,CAACC,MAAM,EAAEF,EAAE,EAAE,EAAE;IAC1CD,OAAO,CAACC,EAAE,CAAC,GAAGC,SAAS,CAACD,EAAE,CAAC;EAC/B;EACA,IAAIG,WAAW,GAAGT,cAAc,CAACK,OAAO,CAAC;EACzC,OAAO,IAAIN,UAAU,CAAC,UAAUW,UAAU,EAAE;IACxC,IAAIC,WAAW,GAAG,CAAC;IACnB,IAAIC,aAAa,GAAG,SAAAA,CAAA,EAAY;MAC5B,IAAID,WAAW,GAAGF,WAAW,CAACD,MAAM,EAAE;QAClC,IAAIK,UAAU,GAAG,KAAK,CAAC;QACvB,IAAI;UACAA,UAAU,GAAGV,SAAS,CAACM,WAAW,CAACE,WAAW,EAAE,CAAC,CAAC;QACtD,CAAC,CACD,OAAOG,GAAG,EAAE;UACRF,aAAa,CAAC,CAAC;UACf;QACJ;QACA,IAAIG,eAAe,GAAG,IAAId,kBAAkB,CAACS,UAAU,EAAEM,SAAS,EAAEd,IAAI,EAAEA,IAAI,CAAC;QAC/EW,UAAU,CAACI,SAAS,CAACF,eAAe,CAAC;QACrCA,eAAe,CAACG,GAAG,CAACN,aAAa,CAAC;MACtC,CAAC,MACI;QACDF,UAAU,CAACS,QAAQ,CAAC,CAAC;MACzB;IACJ,CAAC;IACDP,aAAa,CAAC,CAAC;EACnB,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { __extends } from \"tslib\";\nimport { AsyncScheduler } from './AsyncScheduler';\nvar AnimationFrameScheduler = function (_super) {\n __extends(AnimationFrameScheduler, _super);\n function AnimationFrameScheduler() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AnimationFrameScheduler.prototype.flush = function (action) {\n this._active = true;\n var flushId;\n if (action) {\n flushId = action.id;\n } else {\n flushId = this._scheduled;\n this._scheduled = undefined;\n }\n var actions = this.actions;\n var error;\n action = action || actions.shift();\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while ((action = actions[0]) && action.id === flushId && actions.shift());\n this._active = false;\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AnimationFrameScheduler;\n}(AsyncScheduler);\nexport { AnimationFrameScheduler };\n//# sourceMappingURL=AnimationFrameScheduler.js.map","map":{"version":3,"names":["__extends","AsyncScheduler","AnimationFrameScheduler","_super","apply","arguments","prototype","flush","action","_active","flushId","id","_scheduled","undefined","actions","error","shift","execute","state","delay","unsubscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/scheduler/AnimationFrameScheduler.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport { AsyncScheduler } from './AsyncScheduler';\nvar AnimationFrameScheduler = (function (_super) {\n __extends(AnimationFrameScheduler, _super);\n function AnimationFrameScheduler() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AnimationFrameScheduler.prototype.flush = function (action) {\n this._active = true;\n var flushId;\n if (action) {\n flushId = action.id;\n }\n else {\n flushId = this._scheduled;\n this._scheduled = undefined;\n }\n var actions = this.actions;\n var error;\n action = action || actions.shift();\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions[0]) && action.id === flushId && actions.shift());\n this._active = false;\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AnimationFrameScheduler;\n}(AsyncScheduler));\nexport { AnimationFrameScheduler };\n//# sourceMappingURL=AnimationFrameScheduler.js.map"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAASC,cAAc,QAAQ,kBAAkB;AACjD,IAAIC,uBAAuB,GAAI,UAAUC,MAAM,EAAE;EAC7CH,SAAS,CAACE,uBAAuB,EAAEC,MAAM,CAAC;EAC1C,SAASD,uBAAuBA,CAAA,EAAG;IAC/B,OAAOC,MAAM,KAAK,IAAI,IAAIA,MAAM,CAACC,KAAK,CAAC,IAAI,EAAEC,SAAS,CAAC,IAAI,IAAI;EACnE;EACAH,uBAAuB,CAACI,SAAS,CAACC,KAAK,GAAG,UAAUC,MAAM,EAAE;IACxD,IAAI,CAACC,OAAO,GAAG,IAAI;IACnB,IAAIC,OAAO;IACX,IAAIF,MAAM,EAAE;MACRE,OAAO,GAAGF,MAAM,CAACG,EAAE;IACvB,CAAC,MACI;MACDD,OAAO,GAAG,IAAI,CAACE,UAAU;MACzB,IAAI,CAACA,UAAU,GAAGC,SAAS;IAC/B;IACA,IAAIC,OAAO,GAAG,IAAI,CAACA,OAAO;IAC1B,IAAIC,KAAK;IACTP,MAAM,GAAGA,MAAM,IAAIM,OAAO,CAACE,KAAK,CAAC,CAAC;IAClC,GAAG;MACC,IAAKD,KAAK,GAAGP,MAAM,CAACS,OAAO,CAACT,MAAM,CAACU,KAAK,EAAEV,MAAM,CAACW,KAAK,CAAC,EAAG;QACtD;MACJ;IACJ,CAAC,QAAQ,CAACX,MAAM,GAAGM,OAAO,CAAC,CAAC,CAAC,KAAKN,MAAM,CAACG,EAAE,KAAKD,OAAO,IAAII,OAAO,CAACE,KAAK,CAAC,CAAC;IAC1E,IAAI,CAACP,OAAO,GAAG,KAAK;IACpB,IAAIM,KAAK,EAAE;MACP,OAAO,CAACP,MAAM,GAAGM,OAAO,CAAC,CAAC,CAAC,KAAKN,MAAM,CAACG,EAAE,KAAKD,OAAO,IAAII,OAAO,CAACE,KAAK,CAAC,CAAC,EAAE;QACtER,MAAM,CAACY,WAAW,CAAC,CAAC;MACxB;MACA,MAAML,KAAK;IACf;EACJ,CAAC;EACD,OAAOb,uBAAuB;AAClC,CAAC,CAACD,cAAc,CAAE;AAClB,SAASC,uBAAuB;AAChC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { EmptyError } from './util/EmptyError';\nexport function lastValueFrom(source, config) {\n var hasConfig = typeof config === 'object';\n return new Promise(function (resolve, reject) {\n var _hasValue = false;\n var _value;\n source.subscribe({\n next: function (value) {\n _value = value;\n _hasValue = true;\n },\n error: reject,\n complete: function () {\n if (_hasValue) {\n resolve(_value);\n } else if (hasConfig) {\n resolve(config.defaultValue);\n } else {\n reject(new EmptyError());\n }\n }\n });\n });\n}\n//# sourceMappingURL=lastValueFrom.js.map","map":{"version":3,"names":["EmptyError","lastValueFrom","source","config","hasConfig","Promise","resolve","reject","_hasValue","_value","subscribe","next","value","error","complete","defaultValue"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/lastValueFrom.js"],"sourcesContent":["import { EmptyError } from './util/EmptyError';\nexport function lastValueFrom(source, config) {\n var hasConfig = typeof config === 'object';\n return new Promise(function (resolve, reject) {\n var _hasValue = false;\n var _value;\n source.subscribe({\n next: function (value) {\n _value = value;\n _hasValue = true;\n },\n error: reject,\n complete: function () {\n if (_hasValue) {\n resolve(_value);\n }\n else if (hasConfig) {\n resolve(config.defaultValue);\n }\n else {\n reject(new EmptyError());\n }\n },\n });\n });\n}\n//# sourceMappingURL=lastValueFrom.js.map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,mBAAmB;AAC9C,OAAO,SAASC,aAAaA,CAACC,MAAM,EAAEC,MAAM,EAAE;EAC1C,IAAIC,SAAS,GAAG,OAAOD,MAAM,KAAK,QAAQ;EAC1C,OAAO,IAAIE,OAAO,CAAC,UAAUC,OAAO,EAAEC,MAAM,EAAE;IAC1C,IAAIC,SAAS,GAAG,KAAK;IACrB,IAAIC,MAAM;IACVP,MAAM,CAACQ,SAAS,CAAC;MACbC,IAAI,EAAE,SAAAA,CAAUC,KAAK,EAAE;QACnBH,MAAM,GAAGG,KAAK;QACdJ,SAAS,GAAG,IAAI;MACpB,CAAC;MACDK,KAAK,EAAEN,MAAM;MACbO,QAAQ,EAAE,SAAAA,CAAA,EAAY;QAClB,IAAIN,SAAS,EAAE;UACXF,OAAO,CAACG,MAAM,CAAC;QACnB,CAAC,MACI,IAAIL,SAAS,EAAE;UAChBE,OAAO,CAACH,MAAM,CAACY,YAAY,CAAC;QAChC,CAAC,MACI;UACDR,MAAM,CAAC,IAAIP,UAAU,CAAC,CAAC,CAAC;QAC5B;MACJ;IACJ,CAAC,CAAC;EACN,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"var isArray = Array.isArray;\nexport function argsOrArgArray(args) {\n return args.length === 1 && isArray(args[0]) ? args[0] : args;\n}\n//# sourceMappingURL=argsOrArgArray.js.map","map":{"version":3,"names":["isArray","Array","argsOrArgArray","args","length"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/argsOrArgArray.js"],"sourcesContent":["var isArray = Array.isArray;\nexport function argsOrArgArray(args) {\n return args.length === 1 && isArray(args[0]) ? args[0] : args;\n}\n//# sourceMappingURL=argsOrArgArray.js.map"],"mappings":"AAAA,IAAIA,OAAO,GAAGC,KAAK,CAACD,OAAO;AAC3B,OAAO,SAASE,cAAcA,CAACC,IAAI,EAAE;EACjC,OAAOA,IAAI,CAACC,MAAM,KAAK,CAAC,IAAIJ,OAAO,CAACG,IAAI,CAAC,CAAC,CAAC,CAAC,GAAGA,IAAI,CAAC,CAAC,CAAC,GAAGA,IAAI;AACjE;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { __read, __spreadArray } from \"tslib\";\nimport { map } from \"../operators/map\";\nvar isArray = Array.isArray;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(function (args) {\n return callOrApply(fn, args);\n });\n}\n//# sourceMappingURL=mapOneOrManyArgs.js.map","map":{"version":3,"names":["__read","__spreadArray","map","isArray","Array","callOrApply","fn","args","apply","mapOneOrManyArgs"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nimport { map } from \"../operators/map\";\nvar isArray = Array.isArray;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(function (args) { return callOrApply(fn, args); });\n}\n//# sourceMappingURL=mapOneOrManyArgs.js.map"],"mappings":"AAAA,SAASA,MAAM,EAAEC,aAAa,QAAQ,OAAO;AAC7C,SAASC,GAAG,QAAQ,kBAAkB;AACtC,IAAIC,OAAO,GAAGC,KAAK,CAACD,OAAO;AAC3B,SAASE,WAAWA,CAACC,EAAE,EAAEC,IAAI,EAAE;EAC3B,OAAOJ,OAAO,CAACI,IAAI,CAAC,GAAGD,EAAE,CAACE,KAAK,CAAC,KAAK,CAAC,EAAEP,aAAa,CAAC,EAAE,EAAED,MAAM,CAACO,IAAI,CAAC,CAAC,CAAC,GAAGD,EAAE,CAACC,IAAI,CAAC;AACvF;AACA,OAAO,SAASE,gBAAgBA,CAACH,EAAE,EAAE;EACjC,OAAOJ,GAAG,CAAC,UAAUK,IAAI,EAAE;IAAE,OAAOF,WAAW,CAACC,EAAE,EAAEC,IAAI,CAAC;EAAE,CAAC,CAAC;AACjE;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate(function (source, subscriber) {\n var connection = null;\n source._refCount++;\n var refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, function () {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n var sharedConnection = source._connection;\n var conn = connection;\n connection = null;\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}\n//# sourceMappingURL=refCount.js.map","map":{"version":3,"names":["operate","createOperatorSubscriber","refCount","source","subscriber","connection","_refCount","refCounter","undefined","sharedConnection","_connection","conn","unsubscribe","subscribe","closed","connect"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/refCount.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate(function (source, subscriber) {\n var connection = null;\n source._refCount++;\n var refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, function () {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n var sharedConnection = source._connection;\n var conn = connection;\n connection = null;\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}\n//# sourceMappingURL=refCount.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,OAAO,SAASC,QAAQA,CAAA,EAAG;EACvB,OAAOF,OAAO,CAAC,UAAUG,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,UAAU,GAAG,IAAI;IACrBF,MAAM,CAACG,SAAS,EAAE;IAClB,IAAIC,UAAU,GAAGN,wBAAwB,CAACG,UAAU,EAAEI,SAAS,EAAEA,SAAS,EAAEA,SAAS,EAAE,YAAY;MAC/F,IAAI,CAACL,MAAM,IAAIA,MAAM,CAACG,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAEH,MAAM,CAACG,SAAS,EAAE;QAC5DD,UAAU,GAAG,IAAI;QACjB;MACJ;MACA,IAAII,gBAAgB,GAAGN,MAAM,CAACO,WAAW;MACzC,IAAIC,IAAI,GAAGN,UAAU;MACrBA,UAAU,GAAG,IAAI;MACjB,IAAII,gBAAgB,KAAK,CAACE,IAAI,IAAIF,gBAAgB,KAAKE,IAAI,CAAC,EAAE;QAC1DF,gBAAgB,CAACG,WAAW,CAAC,CAAC;MAClC;MACAR,UAAU,CAACQ,WAAW,CAAC,CAAC;IAC5B,CAAC,CAAC;IACFT,MAAM,CAACU,SAAS,CAACN,UAAU,CAAC;IAC5B,IAAI,CAACA,UAAU,CAACO,MAAM,EAAE;MACpBT,UAAU,GAAGF,MAAM,CAACY,OAAO,CAAC,CAAC;IACjC;EACJ,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"export * from '@mdx-js/react';","map":{"version":3,"names":[],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/@storybook/addon-docs/dist/shims/mdx-react-shim.mjs"],"sourcesContent":["export * from '@mdx-js/react';\n"],"mappings":"AAAA,cAAc,eAAe","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { noop } from '../util/noop';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function debounce(durationSelector) {\n return operate(function (source, subscriber) {\n var hasValue = false;\n var lastValue = null;\n var durationSubscriber = null;\n var emit = function () {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n durationSubscriber = null;\n if (hasValue) {\n hasValue = false;\n var value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n hasValue = true;\n lastValue = value;\n durationSubscriber = createOperatorSubscriber(subscriber, emit, noop);\n innerFrom(durationSelector(value)).subscribe(durationSubscriber);\n }, function () {\n emit();\n subscriber.complete();\n }, undefined, function () {\n lastValue = durationSubscriber = null;\n }));\n });\n}\n//# sourceMappingURL=debounce.js.map","map":{"version":3,"names":["operate","noop","createOperatorSubscriber","innerFrom","debounce","durationSelector","source","subscriber","hasValue","lastValue","durationSubscriber","emit","unsubscribe","value","next","subscribe","complete","undefined"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/debounce.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { noop } from '../util/noop';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function debounce(durationSelector) {\n return operate(function (source, subscriber) {\n var hasValue = false;\n var lastValue = null;\n var durationSubscriber = null;\n var emit = function () {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n durationSubscriber = null;\n if (hasValue) {\n hasValue = false;\n var value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n hasValue = true;\n lastValue = value;\n durationSubscriber = createOperatorSubscriber(subscriber, emit, noop);\n innerFrom(durationSelector(value)).subscribe(durationSubscriber);\n }, function () {\n emit();\n subscriber.complete();\n }, undefined, function () {\n lastValue = durationSubscriber = null;\n }));\n });\n}\n//# sourceMappingURL=debounce.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,SAASC,SAAS,QAAQ,yBAAyB;AACnD,OAAO,SAASC,QAAQA,CAACC,gBAAgB,EAAE;EACvC,OAAOL,OAAO,CAAC,UAAUM,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,QAAQ,GAAG,KAAK;IACpB,IAAIC,SAAS,GAAG,IAAI;IACpB,IAAIC,kBAAkB,GAAG,IAAI;IAC7B,IAAIC,IAAI,GAAG,SAAAA,CAAA,EAAY;MACnBD,kBAAkB,KAAK,IAAI,IAAIA,kBAAkB,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,kBAAkB,CAACE,WAAW,CAAC,CAAC;MACxGF,kBAAkB,GAAG,IAAI;MACzB,IAAIF,QAAQ,EAAE;QACVA,QAAQ,GAAG,KAAK;QAChB,IAAIK,KAAK,GAAGJ,SAAS;QACrBA,SAAS,GAAG,IAAI;QAChBF,UAAU,CAACO,IAAI,CAACD,KAAK,CAAC;MAC1B;IACJ,CAAC;IACDP,MAAM,CAACS,SAAS,CAACb,wBAAwB,CAACK,UAAU,EAAE,UAAUM,KAAK,EAAE;MACnEH,kBAAkB,KAAK,IAAI,IAAIA,kBAAkB,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,kBAAkB,CAACE,WAAW,CAAC,CAAC;MACxGJ,QAAQ,GAAG,IAAI;MACfC,SAAS,GAAGI,KAAK;MACjBH,kBAAkB,GAAGR,wBAAwB,CAACK,UAAU,EAAEI,IAAI,EAAEV,IAAI,CAAC;MACrEE,SAAS,CAACE,gBAAgB,CAACQ,KAAK,CAAC,CAAC,CAACE,SAAS,CAACL,kBAAkB,CAAC;IACpE,CAAC,EAAE,YAAY;MACXC,IAAI,CAAC,CAAC;MACNJ,UAAU,CAACS,QAAQ,CAAC,CAAC;IACzB,CAAC,EAAEC,SAAS,EAAE,YAAY;MACtBR,SAAS,GAAGC,kBAAkB,GAAG,IAAI;IACzC,CAAC,CAAC,CAAC;EACP,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"export function isValidDate(value) {\n return value instanceof Date && !isNaN(value);\n}\n//# sourceMappingURL=isDate.js.map","map":{"version":3,"names":["isValidDate","value","Date","isNaN"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/util/isDate.js"],"sourcesContent":["export function isValidDate(value) {\n return value instanceof Date && !isNaN(value);\n}\n//# sourceMappingURL=isDate.js.map"],"mappings":"AAAA,OAAO,SAASA,WAAWA,CAACC,KAAK,EAAE;EAC/B,OAAOA,KAAK,YAAYC,IAAI,IAAI,CAACC,KAAK,CAACF,KAAK,CAAC;AACjD;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { combineLatest } from '../observable/combineLatest';\nimport { joinAllInternals } from './joinAllInternals';\nexport function combineLatestAll(project) {\n return joinAllInternals(combineLatest, project);\n}\n//# sourceMappingURL=combineLatestAll.js.map","map":{"version":3,"names":["combineLatest","joinAllInternals","combineLatestAll","project"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/combineLatestAll.js"],"sourcesContent":["import { combineLatest } from '../observable/combineLatest';\nimport { joinAllInternals } from './joinAllInternals';\nexport function combineLatestAll(project) {\n return joinAllInternals(combineLatest, project);\n}\n//# sourceMappingURL=combineLatestAll.js.map"],"mappings":"AAAA,SAASA,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,OAAO,SAASC,gBAAgBA,CAACC,OAAO,EAAE;EACtC,OAAOF,gBAAgB,CAACD,aAAa,EAAEG,OAAO,CAAC;AACnD;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nexport function mergeScan(accumulator, seed, concurrent) {\n if (concurrent === void 0) {\n concurrent = Infinity;\n }\n return operate(function (source, subscriber) {\n var state = seed;\n return mergeInternals(source, subscriber, function (value, index) {\n return accumulator(state, value, index);\n }, concurrent, function (value) {\n state = value;\n }, false, undefined, function () {\n return state = null;\n });\n });\n}\n//# sourceMappingURL=mergeScan.js.map","map":{"version":3,"names":["operate","mergeInternals","mergeScan","accumulator","seed","concurrent","Infinity","source","subscriber","state","value","index","undefined"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/mergeScan.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nexport function mergeScan(accumulator, seed, concurrent) {\n if (concurrent === void 0) { concurrent = Infinity; }\n return operate(function (source, subscriber) {\n var state = seed;\n return mergeInternals(source, subscriber, function (value, index) { return accumulator(state, value, index); }, concurrent, function (value) {\n state = value;\n }, false, undefined, function () { return (state = null); });\n });\n}\n//# sourceMappingURL=mergeScan.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,cAAc,QAAQ,kBAAkB;AACjD,OAAO,SAASC,SAASA,CAACC,WAAW,EAAEC,IAAI,EAAEC,UAAU,EAAE;EACrD,IAAIA,UAAU,KAAK,KAAK,CAAC,EAAE;IAAEA,UAAU,GAAGC,QAAQ;EAAE;EACpD,OAAON,OAAO,CAAC,UAAUO,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,KAAK,GAAGL,IAAI;IAChB,OAAOH,cAAc,CAACM,MAAM,EAAEC,UAAU,EAAE,UAAUE,KAAK,EAAEC,KAAK,EAAE;MAAE,OAAOR,WAAW,CAACM,KAAK,EAAEC,KAAK,EAAEC,KAAK,CAAC;IAAE,CAAC,EAAEN,UAAU,EAAE,UAAUK,KAAK,EAAE;MACzID,KAAK,GAAGC,KAAK;IACjB,CAAC,EAAE,KAAK,EAAEE,SAAS,EAAE,YAAY;MAAE,OAAQH,KAAK,GAAG,IAAI;IAAG,CAAC,CAAC;EAChE,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n//# sourceMappingURL=from.js.map","map":{"version":3,"names":["scheduled","innerFrom","from","input","scheduler"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/observable/from.js"],"sourcesContent":["import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n//# sourceMappingURL=from.js.map"],"mappings":"AAAA,SAASA,SAAS,QAAQ,wBAAwB;AAClD,SAASC,SAAS,QAAQ,aAAa;AACvC,OAAO,SAASC,IAAIA,CAACC,KAAK,EAAEC,SAAS,EAAE;EACnC,OAAOA,SAAS,GAAGJ,SAAS,CAACG,KAAK,EAAEC,SAAS,CAAC,GAAGH,SAAS,CAACE,KAAK,CAAC;AACrE;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"/**\n * @license Angular v20.1.4\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nfunction parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nclass XhrFactory {}\nexport { XhrFactory, parseCookieValue };\n//# sourceMappingURL=xhr.mjs.map","map":{"version":3,"names":["parseCookieValue","cookieStr","name","encodeURIComponent","cookie","split","eqIndex","indexOf","cookieName","cookieValue","slice","trim","decodeURIComponent","XhrFactory"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/@angular/common/fesm2022/xhr.mjs"],"sourcesContent":["/**\n * @license Angular v20.1.4\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nfunction parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nclass XhrFactory {\n}\n\nexport { XhrFactory, parseCookieValue };\n//# sourceMappingURL=xhr.mjs.map\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,gBAAgBA,CAACC,SAAS,EAAEC,IAAI,EAAE;EACvCA,IAAI,GAAGC,kBAAkB,CAACD,IAAI,CAAC;EAC/B,KAAK,MAAME,MAAM,IAAIH,SAAS,CAACI,KAAK,CAAC,GAAG,CAAC,EAAE;IACvC,MAAMC,OAAO,GAAGF,MAAM,CAACG,OAAO,CAAC,GAAG,CAAC;IACnC,MAAM,CAACC,UAAU,EAAEC,WAAW,CAAC,GAAGH,OAAO,IAAI,CAAC,CAAC,GAAG,CAACF,MAAM,EAAE,EAAE,CAAC,GAAG,CAACA,MAAM,CAACM,KAAK,CAAC,CAAC,EAAEJ,OAAO,CAAC,EAAEF,MAAM,CAACM,KAAK,CAACJ,OAAO,GAAG,CAAC,CAAC,CAAC;IACtH,IAAIE,UAAU,CAACG,IAAI,CAAC,CAAC,KAAKT,IAAI,EAAE;MAC5B,OAAOU,kBAAkB,CAACH,WAAW,CAAC;IAC1C;EACJ;EACA,OAAO,IAAI;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAMI,UAAU,CAAC;AAGjB,SAASA,UAAU,EAAEb,gBAAgB;AACrC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { reduce } from './reduce';\nimport { isFunction } from '../util/isFunction';\nexport function max(comparer) {\n return reduce(isFunction(comparer) ? function (x, y) {\n return comparer(x, y) > 0 ? x : y;\n } : function (x, y) {\n return x > y ? x : y;\n });\n}\n//# sourceMappingURL=max.js.map","map":{"version":3,"names":["reduce","isFunction","max","comparer","x","y"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/max.js"],"sourcesContent":["import { reduce } from './reduce';\nimport { isFunction } from '../util/isFunction';\nexport function max(comparer) {\n return reduce(isFunction(comparer) ? function (x, y) { return (comparer(x, y) > 0 ? x : y); } : function (x, y) { return (x > y ? x : y); });\n}\n//# sourceMappingURL=max.js.map"],"mappings":"AAAA,SAASA,MAAM,QAAQ,UAAU;AACjC,SAASC,UAAU,QAAQ,oBAAoB;AAC/C,OAAO,SAASC,GAAGA,CAACC,QAAQ,EAAE;EAC1B,OAAOH,MAAM,CAACC,UAAU,CAACE,QAAQ,CAAC,GAAG,UAAUC,CAAC,EAAEC,CAAC,EAAE;IAAE,OAAQF,QAAQ,CAACC,CAAC,EAAEC,CAAC,CAAC,GAAG,CAAC,GAAGD,CAAC,GAAGC,CAAC;EAAG,CAAC,GAAG,UAAUD,CAAC,EAAEC,CAAC,EAAE;IAAE,OAAQD,CAAC,GAAGC,CAAC,GAAGD,CAAC,GAAGC,CAAC;EAAG,CAAC,CAAC;AAChJ;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { __read, __spreadArray } from \"tslib\";\nimport { zip as zipStatic } from '../observable/zip';\nimport { operate } from '../util/lift';\nexport function zip() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return operate(function (source, subscriber) {\n zipStatic.apply(void 0, __spreadArray([source], __read(sources))).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=zip.js.map","map":{"version":3,"names":["__read","__spreadArray","zip","zipStatic","operate","sources","_i","arguments","length","source","subscriber","apply","subscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/zip.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nimport { zip as zipStatic } from '../observable/zip';\nimport { operate } from '../util/lift';\nexport function zip() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return operate(function (source, subscriber) {\n zipStatic.apply(void 0, __spreadArray([source], __read(sources))).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=zip.js.map"],"mappings":"AAAA,SAASA,MAAM,EAAEC,aAAa,QAAQ,OAAO;AAC7C,SAASC,GAAG,IAAIC,SAAS,QAAQ,mBAAmB;AACpD,SAASC,OAAO,QAAQ,cAAc;AACtC,OAAO,SAASF,GAAGA,CAAA,EAAG;EAClB,IAAIG,OAAO,GAAG,EAAE;EAChB,KAAK,IAAIC,EAAE,GAAG,CAAC,EAAEA,EAAE,GAAGC,SAAS,CAACC,MAAM,EAAEF,EAAE,EAAE,EAAE;IAC1CD,OAAO,CAACC,EAAE,CAAC,GAAGC,SAAS,CAACD,EAAE,CAAC;EAC/B;EACA,OAAOF,OAAO,CAAC,UAAUK,MAAM,EAAEC,UAAU,EAAE;IACzCP,SAAS,CAACQ,KAAK,CAAC,KAAK,CAAC,EAAEV,aAAa,CAAC,CAACQ,MAAM,CAAC,EAAET,MAAM,CAACK,OAAO,CAAC,CAAC,CAAC,CAACO,SAAS,CAACF,UAAU,CAAC;EAC3F,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { noop } from '../util/noop';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function buffer(closingNotifier) {\n return operate(function (source, subscriber) {\n var currentBuffer = [];\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n return currentBuffer.push(value);\n }, function () {\n subscriber.next(currentBuffer);\n subscriber.complete();\n }));\n innerFrom(closingNotifier).subscribe(createOperatorSubscriber(subscriber, function () {\n var b = currentBuffer;\n currentBuffer = [];\n subscriber.next(b);\n }, noop));\n return function () {\n currentBuffer = null;\n };\n });\n}\n//# sourceMappingURL=buffer.js.map","map":{"version":3,"names":["operate","noop","createOperatorSubscriber","innerFrom","buffer","closingNotifier","source","subscriber","currentBuffer","subscribe","value","push","next","complete","b"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/buffer.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { noop } from '../util/noop';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function buffer(closingNotifier) {\n return operate(function (source, subscriber) {\n var currentBuffer = [];\n source.subscribe(createOperatorSubscriber(subscriber, function (value) { return currentBuffer.push(value); }, function () {\n subscriber.next(currentBuffer);\n subscriber.complete();\n }));\n innerFrom(closingNotifier).subscribe(createOperatorSubscriber(subscriber, function () {\n var b = currentBuffer;\n currentBuffer = [];\n subscriber.next(b);\n }, noop));\n return function () {\n currentBuffer = null;\n };\n });\n}\n//# sourceMappingURL=buffer.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,SAASC,SAAS,QAAQ,yBAAyB;AACnD,OAAO,SAASC,MAAMA,CAACC,eAAe,EAAE;EACpC,OAAOL,OAAO,CAAC,UAAUM,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,aAAa,GAAG,EAAE;IACtBF,MAAM,CAACG,SAAS,CAACP,wBAAwB,CAACK,UAAU,EAAE,UAAUG,KAAK,EAAE;MAAE,OAAOF,aAAa,CAACG,IAAI,CAACD,KAAK,CAAC;IAAE,CAAC,EAAE,YAAY;MACtHH,UAAU,CAACK,IAAI,CAACJ,aAAa,CAAC;MAC9BD,UAAU,CAACM,QAAQ,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;IACHV,SAAS,CAACE,eAAe,CAAC,CAACI,SAAS,CAACP,wBAAwB,CAACK,UAAU,EAAE,YAAY;MAClF,IAAIO,CAAC,GAAGN,aAAa;MACrBA,aAAa,GAAG,EAAE;MAClBD,UAAU,CAACK,IAAI,CAACE,CAAC,CAAC;IACtB,CAAC,EAAEb,IAAI,CAAC,CAAC;IACT,OAAO,YAAY;MACfO,aAAa,GAAG,IAAI;IACxB,CAAC;EACL,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n//# sourceMappingURL=scheduleObservable.js.map","map":{"version":3,"names":["innerFrom","observeOn","subscribeOn","scheduleObservable","input","scheduler","pipe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js"],"sourcesContent":["import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n//# sourceMappingURL=scheduleObservable.js.map"],"mappings":"AAAA,SAASA,SAAS,QAAQ,yBAAyB;AACnD,SAASC,SAAS,QAAQ,wBAAwB;AAClD,SAASC,WAAW,QAAQ,0BAA0B;AACtD,OAAO,SAASC,kBAAkBA,CAACC,KAAK,EAAEC,SAAS,EAAE;EACjD,OAAOL,SAAS,CAACI,KAAK,CAAC,CAACE,IAAI,CAACJ,WAAW,CAACG,SAAS,CAAC,EAAEJ,SAAS,CAACI,SAAS,CAAC,CAAC;AAC9E;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { asyncScheduler } from '../scheduler/async';\nimport { audit } from './audit';\nimport { timer } from '../observable/timer';\nexport function auditTime(duration, scheduler) {\n if (scheduler === void 0) {\n scheduler = asyncScheduler;\n }\n return audit(function () {\n return timer(duration, scheduler);\n });\n}\n//# sourceMappingURL=auditTime.js.map","map":{"version":3,"names":["asyncScheduler","audit","timer","auditTime","duration","scheduler"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/auditTime.js"],"sourcesContent":["import { asyncScheduler } from '../scheduler/async';\nimport { audit } from './audit';\nimport { timer } from '../observable/timer';\nexport function auditTime(duration, scheduler) {\n if (scheduler === void 0) { scheduler = asyncScheduler; }\n return audit(function () { return timer(duration, scheduler); });\n}\n//# sourceMappingURL=auditTime.js.map"],"mappings":"AAAA,SAASA,cAAc,QAAQ,oBAAoB;AACnD,SAASC,KAAK,QAAQ,SAAS;AAC/B,SAASC,KAAK,QAAQ,qBAAqB;AAC3C,OAAO,SAASC,SAASA,CAACC,QAAQ,EAAEC,SAAS,EAAE;EAC3C,IAAIA,SAAS,KAAK,KAAK,CAAC,EAAE;IAAEA,SAAS,GAAGL,cAAc;EAAE;EACxD,OAAOC,KAAK,CAAC,YAAY;IAAE,OAAOC,KAAK,CAACE,QAAQ,EAAEC,SAAS,CAAC;EAAE,CAAC,CAAC;AACpE;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n//# sourceMappingURL=concatMap.js.map","map":{"version":3,"names":["mergeMap","isFunction","concatMap","project","resultSelector"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/concatMap.js"],"sourcesContent":["import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n//# sourceMappingURL=concatMap.js.map"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,YAAY;AACrC,SAASC,UAAU,QAAQ,oBAAoB;AAC/C,OAAO,SAASC,SAASA,CAACC,OAAO,EAAEC,cAAc,EAAE;EAC/C,OAAOH,UAAU,CAACG,cAAc,CAAC,GAAGJ,QAAQ,CAACG,OAAO,EAAEC,cAAc,EAAE,CAAC,CAAC,GAAGJ,QAAQ,CAACG,OAAO,EAAE,CAAC,CAAC;AACnG;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { AsapAction } from './AsapAction';\nimport { AsapScheduler } from './AsapScheduler';\nexport var asapScheduler = new AsapScheduler(AsapAction);\nexport var asap = asapScheduler;\n//# sourceMappingURL=asap.js.map","map":{"version":3,"names":["AsapAction","AsapScheduler","asapScheduler","asap"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js"],"sourcesContent":["import { AsapAction } from './AsapAction';\nimport { AsapScheduler } from './AsapScheduler';\nexport var asapScheduler = new AsapScheduler(AsapAction);\nexport var asap = asapScheduler;\n//# sourceMappingURL=asap.js.map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,OAAO,IAAIC,aAAa,GAAG,IAAID,aAAa,CAACD,UAAU,CAAC;AACxD,OAAO,IAAIG,IAAI,GAAGD,aAAa;AAC/B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function retryWhen(notifier) {\n return operate(function (source, subscriber) {\n var innerSub;\n var syncResub = false;\n var errors$;\n var subscribeForRetryWhen = function () {\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, function (err) {\n if (!errors$) {\n errors$ = new Subject();\n innerFrom(notifier(errors$)).subscribe(createOperatorSubscriber(subscriber, function () {\n return innerSub ? subscribeForRetryWhen() : syncResub = true;\n }));\n }\n if (errors$) {\n errors$.next(err);\n }\n }));\n if (syncResub) {\n innerSub.unsubscribe();\n innerSub = null;\n syncResub = false;\n subscribeForRetryWhen();\n }\n };\n subscribeForRetryWhen();\n });\n}\n//# sourceMappingURL=retryWhen.js.map","map":{"version":3,"names":["innerFrom","Subject","operate","createOperatorSubscriber","retryWhen","notifier","source","subscriber","innerSub","syncResub","errors$","subscribeForRetryWhen","subscribe","undefined","err","next","unsubscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/retryWhen.js"],"sourcesContent":["import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function retryWhen(notifier) {\n return operate(function (source, subscriber) {\n var innerSub;\n var syncResub = false;\n var errors$;\n var subscribeForRetryWhen = function () {\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, function (err) {\n if (!errors$) {\n errors$ = new Subject();\n innerFrom(notifier(errors$)).subscribe(createOperatorSubscriber(subscriber, function () {\n return innerSub ? subscribeForRetryWhen() : (syncResub = true);\n }));\n }\n if (errors$) {\n errors$.next(err);\n }\n }));\n if (syncResub) {\n innerSub.unsubscribe();\n innerSub = null;\n syncResub = false;\n subscribeForRetryWhen();\n }\n };\n subscribeForRetryWhen();\n });\n}\n//# sourceMappingURL=retryWhen.js.map"],"mappings":"AAAA,SAASA,SAAS,QAAQ,yBAAyB;AACnD,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,OAAO,SAASC,SAASA,CAACC,QAAQ,EAAE;EAChC,OAAOH,OAAO,CAAC,UAAUI,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,QAAQ;IACZ,IAAIC,SAAS,GAAG,KAAK;IACrB,IAAIC,OAAO;IACX,IAAIC,qBAAqB,GAAG,SAAAA,CAAA,EAAY;MACpCH,QAAQ,GAAGF,MAAM,CAACM,SAAS,CAACT,wBAAwB,CAACI,UAAU,EAAEM,SAAS,EAAEA,SAAS,EAAE,UAAUC,GAAG,EAAE;QAClG,IAAI,CAACJ,OAAO,EAAE;UACVA,OAAO,GAAG,IAAIT,OAAO,CAAC,CAAC;UACvBD,SAAS,CAACK,QAAQ,CAACK,OAAO,CAAC,CAAC,CAACE,SAAS,CAACT,wBAAwB,CAACI,UAAU,EAAE,YAAY;YACpF,OAAOC,QAAQ,GAAGG,qBAAqB,CAAC,CAAC,GAAIF,SAAS,GAAG,IAAK;UAClE,CAAC,CAAC,CAAC;QACP;QACA,IAAIC,OAAO,EAAE;UACTA,OAAO,CAACK,IAAI,CAACD,GAAG,CAAC;QACrB;MACJ,CAAC,CAAC,CAAC;MACH,IAAIL,SAAS,EAAE;QACXD,QAAQ,CAACQ,WAAW,CAAC,CAAC;QACtBR,QAAQ,GAAG,IAAI;QACfC,SAAS,GAAG,KAAK;QACjBE,qBAAqB,CAAC,CAAC;MAC3B;IACJ,CAAC;IACDA,qBAAqB,CAAC,CAAC;EAC3B,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nexport function using(resourceFactory, observableFactory) {\n return new Observable(function (subscriber) {\n var resource = resourceFactory();\n var result = observableFactory(resource);\n var source = result ? innerFrom(result) : EMPTY;\n source.subscribe(subscriber);\n return function () {\n if (resource) {\n resource.unsubscribe();\n }\n };\n });\n}\n//# sourceMappingURL=using.js.map","map":{"version":3,"names":["Observable","innerFrom","EMPTY","using","resourceFactory","observableFactory","subscriber","resource","result","source","subscribe","unsubscribe"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/observable/using.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nexport function using(resourceFactory, observableFactory) {\n return new Observable(function (subscriber) {\n var resource = resourceFactory();\n var result = observableFactory(resource);\n var source = result ? innerFrom(result) : EMPTY;\n source.subscribe(subscriber);\n return function () {\n if (resource) {\n resource.unsubscribe();\n }\n };\n });\n}\n//# sourceMappingURL=using.js.map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAC1C,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,KAAK,QAAQ,SAAS;AAC/B,OAAO,SAASC,KAAKA,CAACC,eAAe,EAAEC,iBAAiB,EAAE;EACtD,OAAO,IAAIL,UAAU,CAAC,UAAUM,UAAU,EAAE;IACxC,IAAIC,QAAQ,GAAGH,eAAe,CAAC,CAAC;IAChC,IAAII,MAAM,GAAGH,iBAAiB,CAACE,QAAQ,CAAC;IACxC,IAAIE,MAAM,GAAGD,MAAM,GAAGP,SAAS,CAACO,MAAM,CAAC,GAAGN,KAAK;IAC/CO,MAAM,CAACC,SAAS,CAACJ,UAAU,CAAC;IAC5B,OAAO,YAAY;MACf,IAAIC,QAAQ,EAAE;QACVA,QAAQ,CAACI,WAAW,CAAC,CAAC;MAC1B;IACJ,CAAC;EACL,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { Subject } from '../Subject';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { fromSubscribable } from '../observable/fromSubscribable';\nvar DEFAULT_CONFIG = {\n connector: function () {\n return new Subject();\n }\n};\nexport function connect(selector, config) {\n if (config === void 0) {\n config = DEFAULT_CONFIG;\n }\n var connector = config.connector;\n return operate(function (source, subscriber) {\n var subject = connector();\n innerFrom(selector(fromSubscribable(subject))).subscribe(subscriber);\n subscriber.add(source.subscribe(subject));\n });\n}\n//# sourceMappingURL=connect.js.map","map":{"version":3,"names":["Subject","innerFrom","operate","fromSubscribable","DEFAULT_CONFIG","connector","connect","selector","config","source","subscriber","subject","subscribe","add"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/connect.js"],"sourcesContent":["import { Subject } from '../Subject';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { fromSubscribable } from '../observable/fromSubscribable';\nvar DEFAULT_CONFIG = {\n connector: function () { return new Subject(); },\n};\nexport function connect(selector, config) {\n if (config === void 0) { config = DEFAULT_CONFIG; }\n var connector = config.connector;\n return operate(function (source, subscriber) {\n var subject = connector();\n innerFrom(selector(fromSubscribable(subject))).subscribe(subscriber);\n subscriber.add(source.subscribe(subject));\n });\n}\n//# sourceMappingURL=connect.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,YAAY;AACpC,SAASC,SAAS,QAAQ,yBAAyB;AACnD,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,gBAAgB,QAAQ,gCAAgC;AACjE,IAAIC,cAAc,GAAG;EACjBC,SAAS,EAAE,SAAAA,CAAA,EAAY;IAAE,OAAO,IAAIL,OAAO,CAAC,CAAC;EAAE;AACnD,CAAC;AACD,OAAO,SAASM,OAAOA,CAACC,QAAQ,EAAEC,MAAM,EAAE;EACtC,IAAIA,MAAM,KAAK,KAAK,CAAC,EAAE;IAAEA,MAAM,GAAGJ,cAAc;EAAE;EAClD,IAAIC,SAAS,GAAGG,MAAM,CAACH,SAAS;EAChC,OAAOH,OAAO,CAAC,UAAUO,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,OAAO,GAAGN,SAAS,CAAC,CAAC;IACzBJ,SAAS,CAACM,QAAQ,CAACJ,gBAAgB,CAACQ,OAAO,CAAC,CAAC,CAAC,CAACC,SAAS,CAACF,UAAU,CAAC;IACpEA,UAAU,CAACG,GAAG,CAACJ,MAAM,CAACG,SAAS,CAACD,OAAO,CAAC,CAAC;EAC7C,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate(function (source, subscriber) {\n var hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n hasValue = true;\n subscriber.next(value);\n }, function () {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=defaultIfEmpty.js.map","map":{"version":3,"names":["operate","createOperatorSubscriber","defaultIfEmpty","defaultValue","source","subscriber","hasValue","subscribe","value","next","complete"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate(function (source, subscriber) {\n var hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n hasValue = true;\n subscriber.next(value);\n }, function () {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=defaultIfEmpty.js.map"],"mappings":"AAAA,SAASA,OAAO,QAAQ,cAAc;AACtC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,OAAO,SAASC,cAAcA,CAACC,YAAY,EAAE;EACzC,OAAOH,OAAO,CAAC,UAAUI,MAAM,EAAEC,UAAU,EAAE;IACzC,IAAIC,QAAQ,GAAG,KAAK;IACpBF,MAAM,CAACG,SAAS,CAACN,wBAAwB,CAACI,UAAU,EAAE,UAAUG,KAAK,EAAE;MACnEF,QAAQ,GAAG,IAAI;MACfD,UAAU,CAACI,IAAI,CAACD,KAAK,CAAC;IAC1B,CAAC,EAAE,YAAY;MACX,IAAI,CAACF,QAAQ,EAAE;QACXD,UAAU,CAACI,IAAI,CAACN,YAAY,CAAC;MACjC;MACAE,UAAU,CAACK,QAAQ,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;EACP,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nvar Scheduler = function () {\n function Scheduler(schedulerActionCtor, now) {\n if (now === void 0) {\n now = Scheduler.now;\n }\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n Scheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) {\n delay = 0;\n }\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n };\n Scheduler.now = dateTimestampProvider.now;\n return Scheduler;\n}();\nexport { Scheduler };\n//# sourceMappingURL=Scheduler.js.map","map":{"version":3,"names":["dateTimestampProvider","Scheduler","schedulerActionCtor","now","prototype","schedule","work","delay","state"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/Scheduler.js"],"sourcesContent":["import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nvar Scheduler = (function () {\n function Scheduler(schedulerActionCtor, now) {\n if (now === void 0) { now = Scheduler.now; }\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n Scheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) { delay = 0; }\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n };\n Scheduler.now = dateTimestampProvider.now;\n return Scheduler;\n}());\nexport { Scheduler };\n//# sourceMappingURL=Scheduler.js.map"],"mappings":"AAAA,SAASA,qBAAqB,QAAQ,mCAAmC;AACzE,IAAIC,SAAS,GAAI,YAAY;EACzB,SAASA,SAASA,CAACC,mBAAmB,EAAEC,GAAG,EAAE;IACzC,IAAIA,GAAG,KAAK,KAAK,CAAC,EAAE;MAAEA,GAAG,GAAGF,SAAS,CAACE,GAAG;IAAE;IAC3C,IAAI,CAACD,mBAAmB,GAAGA,mBAAmB;IAC9C,IAAI,CAACC,GAAG,GAAGA,GAAG;EAClB;EACAF,SAAS,CAACG,SAAS,CAACC,QAAQ,GAAG,UAAUC,IAAI,EAAEC,KAAK,EAAEC,KAAK,EAAE;IACzD,IAAID,KAAK,KAAK,KAAK,CAAC,EAAE;MAAEA,KAAK,GAAG,CAAC;IAAE;IACnC,OAAO,IAAI,IAAI,CAACL,mBAAmB,CAAC,IAAI,EAAEI,IAAI,CAAC,CAACD,QAAQ,CAACG,KAAK,EAAED,KAAK,CAAC;EAC1E,CAAC;EACDN,SAAS,CAACE,GAAG,GAAGH,qBAAqB,CAACG,GAAG;EACzC,OAAOF,SAAS;AACpB,CAAC,CAAC,CAAE;AACJ,SAASA,SAAS;AAClB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"ast":null,"code":"import { observeNotification } from '../Notification';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function dematerialize() {\n return operate(function (source, subscriber) {\n source.subscribe(createOperatorSubscriber(subscriber, function (notification) {\n return observeNotification(notification, subscriber);\n }));\n });\n}\n//# sourceMappingURL=dematerialize.js.map","map":{"version":3,"names":["observeNotification","operate","createOperatorSubscriber","dematerialize","source","subscriber","subscribe","notification"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/dematerialize.js"],"sourcesContent":["import { observeNotification } from '../Notification';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function dematerialize() {\n return operate(function (source, subscriber) {\n source.subscribe(createOperatorSubscriber(subscriber, function (notification) { return observeNotification(notification, subscriber); }));\n });\n}\n//# sourceMappingURL=dematerialize.js.map"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,iBAAiB;AACrD,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,wBAAwB,QAAQ,sBAAsB;AAC/D,OAAO,SAASC,aAAaA,CAAA,EAAG;EAC5B,OAAOF,OAAO,CAAC,UAAUG,MAAM,EAAEC,UAAU,EAAE;IACzCD,MAAM,CAACE,SAAS,CAACJ,wBAAwB,CAACG,UAAU,EAAE,UAAUE,YAAY,EAAE;MAAE,OAAOP,mBAAmB,CAACO,YAAY,EAAEF,UAAU,CAAC;IAAE,CAAC,CAAC,CAAC;EAC7I,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue