@datarailsshared/dr_renderer 1.5.159 → 1.5.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/jsLibraryMappings.xml +6 -0
- package/.idea/misc.xml +9 -0
- package/.nvmrc +1 -0
- package/jest.config.js +1 -1
- package/package.json +9 -11
- package/scripts/check-versions.js +16 -0
- package/src/highcharts_renderer.d.ts +2 -2
- package/tsconfig.json +1 -1
- package/.circleci/config.yml +0 -85
- package/.github/workflows/ai-coder-jira.yml +0 -915
- package/.github/workflows/ai-coder-n8n-caller.yml +0 -82
- package/.github/workflows/release.yml +0 -49
- package/tests/__snapshots__/suboptions.test.js.snap +0 -5028
- package/tests/dr-renderer-helpers.test.js +0 -228
- package/tests/dr_chart_tooltip.test.js +0 -789
- package/tests/dr_gauge_chart.test.js +0 -2041
- package/tests/errors.test.js +0 -157
- package/tests/highcharts_renderer.test.js +0 -9407
- package/tests/mock/add-in-dynamic-ranges.json +0 -127
- package/tests/mock/add-in-functions.json +0 -410
- package/tests/mock/add-in-tables.json +0 -347
- package/tests/mock/tables.json +0 -2258
- package/tests/mock/widgets.json +0 -401
- package/tests/options-builder.test.js +0 -1698
- package/tests/pivot-table/freeze-panes/constants.test.js +0 -92
- package/tests/pivot-table/freeze-panes/index.test.js +0 -193
- package/tests/pivot-table/freeze-panes/sticky-strategy.test.js +0 -542
- package/tests/pivot-table/freeze-panes/transform-strategy.test.js +0 -304
- package/tests/ptCreateDrillDownSeriesToDrilldownChart.test.js +0 -509
- package/tests/seriesPointStyles-helper.test.js +0 -114
- package/tests/suboptions.test.js +0 -322
- package/tests/value.formatter.test.js +0 -143
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
name: AI-CODER-CALLER-FULL
|
|
2
|
-
on:
|
|
3
|
-
workflow_dispatch:
|
|
4
|
-
inputs:
|
|
5
|
-
prompt:
|
|
6
|
-
description: 'Base64 encoded prompt'
|
|
7
|
-
required: true
|
|
8
|
-
type: string
|
|
9
|
-
webhook_uuid:
|
|
10
|
-
description: 'Webhook uuid param'
|
|
11
|
-
required: true
|
|
12
|
-
type: string
|
|
13
|
-
create_pr:
|
|
14
|
-
description: 'create pr'
|
|
15
|
-
required: true
|
|
16
|
-
type: boolean
|
|
17
|
-
title:
|
|
18
|
-
description: 'Base64 encoded title for the PR'
|
|
19
|
-
required: true
|
|
20
|
-
type: string
|
|
21
|
-
default: ""
|
|
22
|
-
reviewer:
|
|
23
|
-
description: 'Optional reviewer username for the PR'
|
|
24
|
-
required: false
|
|
25
|
-
type: string
|
|
26
|
-
default: ""
|
|
27
|
-
ai_provider:
|
|
28
|
-
description: 'AI provider to use (claude or codex)'
|
|
29
|
-
required: false
|
|
30
|
-
type: string
|
|
31
|
-
default: "claude"
|
|
32
|
-
repository_dispatch:
|
|
33
|
-
types: [ai-coder-proxy]
|
|
34
|
-
|
|
35
|
-
jobs:
|
|
36
|
-
prepare-inputs:
|
|
37
|
-
runs-on: ubuntu-latest
|
|
38
|
-
outputs:
|
|
39
|
-
prompt: ${{ steps.parse.outputs.prompt }}
|
|
40
|
-
webhook_uuid: ${{ steps.parse.outputs.webhook_uuid }}
|
|
41
|
-
create_pr: ${{ steps.parse.outputs.create_pr }}
|
|
42
|
-
title: ${{ steps.parse.outputs.title }}
|
|
43
|
-
reviewer: ${{ steps.parse.outputs.reviewer }}
|
|
44
|
-
ai_provider: ${{ steps.parse.outputs.ai_provider }}
|
|
45
|
-
steps:
|
|
46
|
-
- name: Parse inputs
|
|
47
|
-
id: parse
|
|
48
|
-
run: |
|
|
49
|
-
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
|
50
|
-
echo "prompt=${{ github.event.inputs.prompt }}" >> $GITHUB_OUTPUT
|
|
51
|
-
echo "webhook_uuid=${{ github.event.inputs.webhook_uuid }}" >> $GITHUB_OUTPUT
|
|
52
|
-
echo "create_pr=${{ github.event.inputs.create_pr }}" >> $GITHUB_OUTPUT
|
|
53
|
-
echo "title=${{ github.event.inputs.title }}" >> $GITHUB_OUTPUT
|
|
54
|
-
echo "reviewer=${{ github.event.inputs.reviewer }}" >> $GITHUB_OUTPUT
|
|
55
|
-
echo "ai_provider=${{ github.event.inputs.ai_provider }}" >> $GITHUB_OUTPUT
|
|
56
|
-
elif [ "${{ github.event_name }}" = "repository_dispatch" ]; then
|
|
57
|
-
echo "prompt=${{ github.event.client_payload.prompt }}" >> $GITHUB_OUTPUT
|
|
58
|
-
echo "webhook_uuid=${{ github.event.client_payload.webhook_uuid }}" >> $GITHUB_OUTPUT
|
|
59
|
-
echo "create_pr=${{ github.event.client_payload.create_pr }}" >> $GITHUB_OUTPUT
|
|
60
|
-
echo "title=${{ github.event.client_payload.title }}" >> $GITHUB_OUTPUT
|
|
61
|
-
echo "reviewer=${{ github.event.client_payload.reviewer }}" >> $GITHUB_OUTPUT
|
|
62
|
-
echo "ai_provider=${{ github.event.client_payload.ai_provider || 'claude' }}" >> $GITHUB_OUTPUT
|
|
63
|
-
fi
|
|
64
|
-
|
|
65
|
-
call-ai-coder:
|
|
66
|
-
needs: prepare-inputs
|
|
67
|
-
uses: Datarails/dr_github_reusable/.github/workflows/ai-coder-n8n-reusable.yml@DR-38894-Automation
|
|
68
|
-
with:
|
|
69
|
-
prompt: ${{ needs.prepare-inputs.outputs.prompt }}
|
|
70
|
-
webhook_uuid: ${{ needs.prepare-inputs.outputs.webhook_uuid }}
|
|
71
|
-
create_pr: ${{ needs.prepare-inputs.outputs.create_pr == 'true' }}
|
|
72
|
-
title: ${{ needs.prepare-inputs.outputs.title }}
|
|
73
|
-
reviewer: ${{ needs.prepare-inputs.outputs.reviewer }}
|
|
74
|
-
ai_provider: ${{ needs.prepare-inputs.outputs.ai_provider }}
|
|
75
|
-
secrets:
|
|
76
|
-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
77
|
-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
78
|
-
GH_APP_ID: ${{ secrets.GH_APP_ID }}
|
|
79
|
-
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
|
80
|
-
N8N_WEBHOOK_URL: ${{ secrets.N8N_WEBHOOK_URL }}
|
|
81
|
-
GH_PER_TOKEN_TEST: ${{ secrets.GH_PER_TOKEN_TEST }}
|
|
82
|
-
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
name: Build and Publish
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
pull_request:
|
|
6
|
-
branches:
|
|
7
|
-
- 'master'
|
|
8
|
-
- 'main'
|
|
9
|
-
push:
|
|
10
|
-
branches:
|
|
11
|
-
- 'master'
|
|
12
|
-
- 'main'
|
|
13
|
-
|
|
14
|
-
concurrency:
|
|
15
|
-
group: '${{ github.ref }}-${{ github.workflow }}'
|
|
16
|
-
cancel-in-progress: true
|
|
17
|
-
|
|
18
|
-
permissions:
|
|
19
|
-
contents: read
|
|
20
|
-
packages: read
|
|
21
|
-
|
|
22
|
-
jobs:
|
|
23
|
-
publish-npm:
|
|
24
|
-
name: Build, Test and Publish to NPM
|
|
25
|
-
uses: datarails/dr_github_reusable/.github/workflows/npm-build-publish.yml@main
|
|
26
|
-
with:
|
|
27
|
-
node_version: '14.16.1'
|
|
28
|
-
access_level: 'public'
|
|
29
|
-
branch_postfix: false
|
|
30
|
-
main_branch: 'master'
|
|
31
|
-
version_prefix: '1.5'
|
|
32
|
-
skip_publish: ${{ github.event_name != 'push' }}
|
|
33
|
-
secrets:
|
|
34
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
35
|
-
|
|
36
|
-
publish-jfrog:
|
|
37
|
-
name: Publish to JFrog Artifactory
|
|
38
|
-
needs: publish-npm
|
|
39
|
-
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') }}
|
|
40
|
-
uses: datarails/dr-github-reusable/.github/workflows/shared-sdk-node-build-publish.yaml@main
|
|
41
|
-
with:
|
|
42
|
-
new_version: v${{ needs.publish-npm.outputs.version }}
|
|
43
|
-
node_version: '14.16.1'
|
|
44
|
-
run_build: true
|
|
45
|
-
package_scope: '@datarailsshared'
|
|
46
|
-
use_npm_ci: false
|
|
47
|
-
secrets:
|
|
48
|
-
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
|
|
49
|
-
NODE_ARTIFACTORY_URL: ${{ secrets.ARTIFACTORY_NPM_REPO }}
|